Warn when deploying a version that's not a fast-forward

The commit you're deploying should include the currently deployed
version in its history, otherwise you should confirm.

Also add the deploy.log entry while we have the deployment lock, so we
know exactly what the currently deployed version is.