Hi,

When I commented line

#set :deploy_via, :remote_cache

I was able to do cap deploy successfully, But

but it said "Initialized empty Git repository in /home/anil/public_html/
planetrails.digitalcodes.org/releases/20080629193725/.git/"

I think its wrong to happen.

-- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to