* cogito cg-update fails
@ 2005-05-03 3:19 Benjamin Herrenschmidt
2005-05-03 3:57 ` Steven Cole
0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2005-05-03 3:19 UTC (permalink / raw)
To: Git Mailing List
Hi Folks !
I have something weird happening with cogito. What I did is:
- d/l & install 0.8 archive
- cg-init <rync path>
- built & install that, removed 0.8 files
- a bit later: cg-update origin to check for new stuffs
The last one fails with:
benh@pogo:~/cogito$ cg-update origin
MOTD:
MOTD: .../.. stripped kernel.org legal blurb
receiving file list ... done
.git/refs/heads/origin
sent 119 bytes received 857 bytes 390.40 bytes/sec
total size is 41 speedup is 0.04
rsync: link_stat "/home/benh/cogito/origin/objects/." failed: No such file or directory (2)
building file list ... done
rsync error: some files could not be transferred (code 23) at main.c(702)
sent 17 bytes received 20 bytes 74.00 bytes/sec
total size is 0 speedup is 0.00
cg-pull: objects pull failed
So it looks like it's trying to rsync to a bogus destination ...
Ben.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cogito cg-update fails
2005-05-03 3:19 cogito cg-update fails Benjamin Herrenschmidt
@ 2005-05-03 3:57 ` Steven Cole
2005-05-03 4:23 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 4+ messages in thread
From: Steven Cole @ 2005-05-03 3:57 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: Git Mailing List
On Monday 02 May 2005 09:19 pm, Benjamin Herrenschmidt wrote:
> Hi Folks !
>
> I have something weird happening with cogito. What I did is:
>
> - d/l & install 0.8 archive
> - cg-init <rync path>
> - built & install that, removed 0.8 files
> - a bit later: cg-update origin to check for new stuffs
>
> The last one fails with:
>
> benh@pogo:~/cogito$ cg-update origin
> MOTD:
> MOTD: .../.. stripped kernel.org legal blurb
>
> receiving file list ... done
> .git/refs/heads/origin
>
> sent 119 bytes received 857 bytes 390.40 bytes/sec
> total size is 41 speedup is 0.04
> rsync: link_stat "/home/benh/cogito/origin/objects/." failed: No such file or directory (2)
> building file list ... done
> rsync error: some files could not be transferred (code 23) at main.c(702)
>
> sent 17 bytes received 20 bytes 74.00 bytes/sec
> total size is 0 speedup is 0.00
> cg-pull: objects pull failed
>
> So it looks like it's trying to rsync to a bogus destination ...
>
> Ben.
>
Yeah, I got exactly the same behavior a little while ago, but thanks
to www.kernel.org/git, I saw that the problem had been found and fixed.
I had an older backup copy of all the cogito scripts, so I used that to update.
I believe the fix is this patch:
===== cd7a12e5d569d59a04823114c275a83d65b9f37e vs 437167273f77c0d5f039280d158b43324a79f820 =====
--- a/cg-pull
+++ b/cg-pull
@@ -48,7 +48,7 @@ fetch_rsync () {
}
pull_rsync () {
- fetch_rsync -s -u -d "$1/objects" ".git/objects"
+ fetch_rsync -s -u -d "$2/objects" ".git/objects"
}
Hope this helps,
Steven
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cogito cg-update fails
2005-05-03 3:57 ` Steven Cole
@ 2005-05-03 4:23 ` Benjamin Herrenschmidt
2005-05-03 6:46 ` Petr Baudis
0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2005-05-03 4:23 UTC (permalink / raw)
To: Steven Cole; +Cc: Git Mailing List
>
> Yeah, I got exactly the same behavior a little while ago, but thanks
> to www.kernel.org/git, I saw that the problem had been found and fixed.
>
> I had an older backup copy of all the cogito scripts, so I used that to update.
>
> I believe the fix is this patch:
Thanks, fixed it ! Current top of tree seem to be fine too.
Cheers,
Ben.
> ===== cd7a12e5d569d59a04823114c275a83d65b9f37e vs 437167273f77c0d5f039280d158b43324a79f820 =====
> --- a/cg-pull
> +++ b/cg-pull
> @@ -48,7 +48,7 @@ fetch_rsync () {
> }
>
> pull_rsync () {
> - fetch_rsync -s -u -d "$1/objects" ".git/objects"
> + fetch_rsync -s -u -d "$2/objects" ".git/objects"
> }
>
>
> Hope this helps,
> Steven
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Benjamin Herrenschmidt <benh@kernel.crashing.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cogito cg-update fails
2005-05-03 4:23 ` Benjamin Herrenschmidt
@ 2005-05-03 6:46 ` Petr Baudis
0 siblings, 0 replies; 4+ messages in thread
From: Petr Baudis @ 2005-05-03 6:46 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: Steven Cole, Git Mailing List
Dear diary, on Tue, May 03, 2005 at 06:23:46AM CEST, I got a letter
where Benjamin Herrenschmidt <benh@kernel.crashing.org> told me that...
>
> >
> > Yeah, I got exactly the same behavior a little while ago, but thanks
> > to www.kernel.org/git, I saw that the problem had been found and fixed.
> >
> > I had an older backup copy of all the cogito scripts, so I used that to update.
> >
> > I believe the fix is this patch:
>
> Thanks, fixed it ! Current top of tree seem to be fine too.
Yes, sorry about this. I fixed it right away but then forgot to push it,
so it appears some people got it in the meantime. :-(
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-05-03 6:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-03 3:19 cogito cg-update fails Benjamin Herrenschmidt
2005-05-03 3:57 ` Steven Cole
2005-05-03 4:23 ` Benjamin Herrenschmidt
2005-05-03 6:46 ` Petr Baudis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).