Steps to reproduce
- I'm on beta tin, and have checked out revision rORESDEPLOY29905e509984 into /srv/deployment/ores/deploy.
- scap deploy -l "ores1*" "test deployment to ores* (non-production)"
It actually tries to checkout an ancient revision. In this case it fails (inexplicably), but I've also seen it succeed in deploying the wrong revision, all the while reporting the correct one in the logs.
As a workaround, I've been including "-r HEAD" in my commandline arguments.