Added revision resolution to deploy process