Re: What broke snapshots now?
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Jul 10, 2005, 17:31 UTC
- Message-ID
- <Pine.LNX.4.58.0507101026430.17536@g5.osdl.org>
- In-Reply-To
- <1121016147.23706.91.camel@baythorne.infradead.org>
On Sun, 10 Jul 2005, David Woodhouse wrote:
Show 8 quoted lines
> > > Anyway, it's possible that this is a temporary problem: one of the issues > > is that since you seem to be using the "rsync:" protocol for updating > > things, what happens is that if the mirroring is off a bit, you may have > > gotten a new head, but not all the objects. Then you'd get exactly this. > > It's done locally on hera though -- so the mirroring shouldn't be a > problem.
No it's not, as far as I can tell:
torvalds@hera:/home/dwmw2/git/mail-2.6(0)$ cat .git/branches/origin rsync://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
so your scripts will go out to rsync with www.kernel.org to get the data, when you use "cg-update origin".
> More usefully though, if ordering really isn't a problem on your > repository then I should probably rewrite the script to work directly > from that instead of from a copy.
It should not be a problem, but you obviously have to be careful about ordering, ie you should fetch the references first, and act on them later.
Linus