Needed a single revision: what does it mean?
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
collimarco <collimarc... @gmail.com>
Date: Tue, 27 Oct 2009 12:38:48 -0700 (PDT)
Local: Tues 27 Oct 2009 19:38
Subject: Needed a single revision: what does it mean?
Capistrano and Git worked properly till I moved my site to another
server. My first attempt to deploy went wrong because of an SSH-known-
hosts related problem.
Even if I managed to solve this problem, another one raised and I
can't deploy any more:
http://pastie.org/672169.txt
My git repository seems intact: why do I get "Needed a single
revision"?
Thanks in advance ;)
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Lee Hambley <lee.hamb... @gmail.com>
Date: Tue, 27 Oct 2009 20:40:53 +0100
Local: Tues 27 Oct 2009 19:40
Subject: Re: [capistrano] Needed a single revision: what does it mean?
Collimarco,
You removed the remote cache, right ? That will still have the old refs to
the git repository it was created (cloned) from.
-- Lee Hambley
Twitter: @leehambley | @capistranorb
Blog: http://lee.hambley.name/
Working with Rails: http://is.gd/1s5W1
2009/10/27 collimarco <collimarc... @gmail.com>
> Capistrano and Git worked properly till I moved my site to another
> server. My first attempt to deploy went wrong because of an SSH-known-
> hosts related problem.
> Even if I managed to solve this problem, another one raised and I
> can't deploy any more:
> http://pastie.org/672169.txt
> My git repository seems intact: why do I get "Needed a single
> revision"?
> Thanks in advance ;)
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
collimarco <collimarc... @gmail.com>
Date: Tue, 27 Oct 2009 12:52:55 -0700 (PDT)
Local: Tues 27 Oct 2009 19:52
Subject: Re: Needed a single revision: what does it mean?
Hi Lee!
> You removed the remote cache, right ?
Oops… no, I don't. What should I do exactly to remove the remote
cache?
(I am at the beginning with Capistrano)
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
collimarco <collimarc... @gmail.com>
Date: Tue, 27 Oct 2009 13:14:11 -0700 (PDT)
Local: Tues 27 Oct 2009 20:14
Subject: Re: Needed a single revision: what does it mean?
I have renamed shared/cached-copy into shared/cached-copy-old
Then I have created a shared/cached-copy empty folder.
Now I get "Not a git repository":
http://pastie.org/672254.txt
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Rafael G." <r... @aspgems.com>
Date: Tue, 27 Oct 2009 21:23:06 +0100
Local: Tues 27 Oct 2009 20:23
Subject: Re: [capistrano] Re: Needed a single revision: what does it mean?
collimarco wrote:
> I have renamed shared/cached-copy into shared/cached-copy-old
> Then I have created a shared/cached-copy empty folder.
> Now I get "Not a git repository":
> http://pastie.org/672254.txt
You should delete it and not create other directory. This new directory should be created automatically with repository info(a hidden .git directory). -- Rafa
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Lee Hambley <lee.hamb... @gmail.com>
Date: Tue, 27 Oct 2009 21:31:41 +0100
Local: Tues 27 Oct 2009 20:31
Subject: Re: [capistrano] Re: Needed a single revision: what does it mean?
Af Rafael said, just remove the cached-copy directory, this is going to be part of the "oopse" message in future, because it is the thing that causes *all* our "I moved something" problems! Just remove it, and Cap will remake it, if it doesn't - re-run cap deploy:setup which is non-destructive. -- Lee Hambley
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
collimarco <collimarc... @gmail.com>
Date: Tue, 27 Oct 2009 13:58:29 -0700 (PDT)
Local: Tues 27 Oct 2009 20:58
Subject: Re: Needed a single revision: what does it mean?
I have deleted the folder shared/cached-copy, but Capistrano does not
recreate it (even if I use cap deply:setup I can't see the folder).
Here's the error that I get: http://pastie.org/672348.txt
Thanks for the help!
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Lee Hambley <lee.hamb... @gmail.com>
Date: Tue, 27 Oct 2009 22:38:32 +0100
Local: Tues 27 Oct 2009 21:38
Subject: Re: [capistrano] Re: Needed a single revision: what does it mean?
Can you print local, and remote git versions please? -- Lee Hambley
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
collimarco <collimarc... @gmail.com>
Date: Wed, 28 Oct 2009 05:25:30 -0700 (PDT)
Local: Wed 28 Oct 2009 12:25
Subject: Re: Needed a single revision: what does it mean?
On 27 Ott, 22:38, Lee Hambley <lee.hamb... @gmail.com> wrote:
> Can you print local, and remote git versions please?
My local version is 1.6.4.1 while that on the server is 1.4.4.4. I use
I use Capistrano v2.5.2.
IMHO I don't think I have to update git on the server because it has
always worked with these versions...
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Lee Hambley <lee.hamb... @gmail.com>
Date: Wed, 28 Oct 2009 13:55:20 +0100
Local: Wed 28 Oct 2009 12:55
Subject: Re: [capistrano] Re: Needed a single revision: what does it mean?
Server version on the server is way out of date, we need 1.6+ afaik; for
your debugging purposes, step through this line-by-line, I just reformatted
the output from your first pastie:
- http://pastie.org/673225
-- Lee Hambley
Twitter: @leehambley | @capistranorb
Blog: http://lee.hambley.name/
Working with Rails: http://is.gd/1s5W1
2009/10/28 collimarco <collimarc... @gmail.com>
> On 27 Ott, 22:38, Lee Hambley <lee.hamb... @gmail.com> wrote:
> > Can you print local, and remote git versions please?
> My local version is 1.6.4.1 while that on the server is 1.4.4.4. I use
> I use Capistrano v2.5.2.
> IMHO I don't think I have to update git on the server because it has
> always worked with these versions...
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
collimarco <collimarc... @gmail.com>
Date: Wed, 28 Oct 2009 06:26:14 -0700 (PDT)
Local: Wed 28 Oct 2009 13:26
Subject: Re: Needed a single revision: what does it mean?
Thank you very much, Lee!
I've just updated my git version on the server… and everything works
like a sharm ;)
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Lee Hambley <lee.hamb... @gmail.com>
Date: Wed, 28 Oct 2009 15:51:50 +0100
Local: Wed 28 Oct 2009 14:51
Subject: Re: [capistrano] Re: Needed a single revision: what does it mean?
Collin, Happy to help :)
-- Lee Hambley
You must
Sign in before you can post messages.
You do not have the permission required to post.