Hi Henry,

The only thing that springs to mind is that the remote cached copy's
origins are wrong, or that the branch being asked for wasn't pushed, or
something. Perhaps you could compare remotes, logs and refs on your local
copy, the place to which you push, and your cached copy on the deploy
server, if any.

Lee Hambley
--
http://lee.hambley.name/

On 4 March 2013 15:50, Henry Umansky <[email protected]> wrote:

> 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 [email protected]: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
>
> --
> --
> * You received this message because you are subscribed to the Google
> Groups "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this
> group at http://groups.google.com/group/capistrano?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to