Fetch and set the real revision (eg/ Git ref) before beginning the rolling deployment, so any changes made to SCM during deployment will not be inadvertently included.