Gentoo Archives: gentoo-scm

From: Nguyen Thai Ngoc Duy <pclouds@×××××.com>
To: Mike Auty <ikelos@g.o>
Cc: gentoo-scm@l.g.o, "Robin H. Johnson" <robbat2@g.o>
Subject: Re: [gentoo-scm] repo layout & graft / split-history
Date: Mon, 01 Nov 2010 12:32:35
In Reply to: Re: [gentoo-scm] repo layout & graft / split-history by Mike Auty
On Mon, Nov 1, 2010 at 7:11 PM, Mike Auty <ikelos@g.o> wrote:
> If this is only for devs, then I guess they can do it manually, but if > we're ever going to contemplate moving to git instead of rsync for > normal use, then we should think now about whether we can shrink the > repo automatically without necessarily tossing out their old tree.  Do > we know if that's possible at the moment?
I don't think there is an automated way to do that. If we have control over the client side (say "emerge --sync" can be modified to do some post processing), then we can regraft there and repack to shrink. For linear history without tags, it should be safe. Or you can bring this to git mailing list as a feature of "git gc". -- Duy


Subject Author
Re: [gentoo-scm] repo layout & graft / split-history Mike Auty <ikelos@g.o>