This is probably not a Capistrano issue, but perhaps can be fixed via Cap. I currently have two branches; develop and master. I set the develop branch to deploy to the dev server and the master branch is set to deploy to staging and production. Not exactly sure when this started happening, but whenever I commit something to the develop branch and haven't merge to master branch yet, I get the following error when I try to deploy to the dev server:
[
asmobile-dev.princeton.edu] executing command
** [
asmobile-dev.princeton.edu :: err] error: unable to find 2de752fb5a07bdd1577ca78a5c6dce690b13f8dc
** fatal: object 2de752fb5a07bdd1577ca78a5c6dce690b13f8dc not found
command finished in 1604ms
The command that ultimate chokes is:
* executing "if [ -d /var/local/asmobile/sites/shared/cached-copy ]; then cd /var/local/asmobile/sites/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 2de752fb5a07bdd1577ca78a5c6dce690b13f8dc && git clean -q -d -x -f; else git clone -q g...@bitbucket.org:princeton/sites-kurogo-mobile-web.git /var/local/asmobile/sites/shared/cached-copy && cd /var/local/asmobile/sites/shared/cached-copy && git checkout -q -b deploy 2de752fb5a07bdd1577ca78a5c6dce690b13f8dc; fi"
I tried deleting the "cached-copy" folder on the server and still have the same issue. Any idea what I can do to troubleshoot this issue?
Thank you,
Henry