Hi, I tried to manually run the commands which were failing
anilwadghule ~/public_html/planetrails.digitalcodes.org/shared/cached-copy: git fetch -q origin && *git reset -q --hard * bdfe1e7c1ac919875e727be63ebd177f3e27d01a Usage: /usr/bin/git-reset [--mixed | --soft | --hard] [<commit-ish>] [ [--] <paths>...] with git reset -q it gives above error when I ran same command by removing "-q" after git reset, it works.. anilwadghule ~/public_html/planetrails.digitalcodes.org/shared/cached-copy: git fetch -q origin && *git reset --hard * bdfe1e7c1ac919875e727be63ebd177f3e27d01a HEAD is now at bdfe1e7... Changed feedburner image code Could you tell me how do I know resolve it in Capistrano. -- Anil On Mon, Jun 30, 2008 at 12:00 AM, Anthony Ettinger <[EMAIL PROTECTED]> wrote: > > it appears that "git reset" needs to be "git-reset" > > > > On Sun, Jun 29, 2008 at 8:44 AM, Anil Wadghule <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > Deployment was working fine until last week. I have updated to newer > version > > of capistrano(capistrano (2.4.3, 2.1.0)). May be I because of upgrade of > > capistrano version, getting following error. > > > > Could you help me out to resolve this error. > > > > anil-wadghules-computer:~/code/rails/planet anilwadghule$ cap deploy > > * executing `deploy' > > * executing `deploy:update' > > ** transaction: start > > * executing `deploy:update_code' > > updating the cached checkout on all servers > > * executing "if [ -d > > /home/anil/public_html/planetrails.digitalcodes.org/shared/cached-copy]; > > then cd > > /home/anil/public_html/planetrails.digitalcodes.org/shared/cached-copy&& > > git fetch -q origin && git reset -q --hard > > bdfe1e7c1ac919875e727be63ebd177f3e27d01a; else git clone -q > > git://github.com/anildigital/planet.git > > /home/anil/public_html/planetrails.digitalcodes.org/shared/cached-copy&& cd > > /home/anil/public_html/planetrails.digitalcodes.org/shared/cached-copy&& > > git checkout -q -b deploy bdfe1e7c1ac919875e727be63ebd177f3e27d01a; fi" > > servers: ["planetrails.digitalcodes.org"] > > [planetrails.digitalcodes.org] executing command > > ** [planetrails.digitalcodes.org :: err] Usage: /usr/bin/git-reset > [--mixed > > | --soft | --hard] [<commit-ish>] [ [--] <paths>...] > > command finished > > *** [deploy:update_code] rolling back > > * executing "rm -rf > > /home/anil/public_html/ > planetrails.digitalcodes.org/releases/20080629154059; > > true" > > servers: ["planetrails.digitalcodes.org"] > > [planetrails.digitalcodes.org] executing command > > command finished > > command "if [ -d > > /home/anil/public_html/planetrails.digitalcodes.org/shared/cached-copy]; > > then cd > > /home/anil/public_html/planetrails.digitalcodes.org/shared/cached-copy&& > > git fetch -q origin && git reset -q --hard > > bdfe1e7c1ac919875e727be63ebd177f3e27d01a; else git clone -q > > git://github.com/anildigital/planet.git > > /home/anil/public_html/planetrails.digitalcodes.org/shared/cached-copy&& cd > > /home/anil/public_html/planetrails.digitalcodes.org/shared/cached-copy&& > > git checkout -q -b deploy bdfe1e7c1ac919875e727be63ebd177f3e27d01a; fi" > > failed on planetrails.digitalcodes.org > > > > -- > > Anil > > http://anilwadghule.com > > > > > > > > > -- > Anthony Ettinger > 408-656-2473 > http://anthony.ettinger.name > > > > -- Anil http://anilwadghule.com --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---