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
Message-Id: AANLkTi=h1DkncRnpoHM7miegvF2AbjC1sK9VYokjBwpv@mail.gmail.com
In Reply to: Re: [gentoo-scm] repo layout & graft / split-history by Mike Auty
1 On Mon, Nov 1, 2010 at 7:11 PM, Mike Auty <ikelos@g.o> wrote:
2 > If this is only for devs, then I guess they can do it manually, but if
3 > we're ever going to contemplate moving to git instead of rsync for
4 > normal use, then we should think now about whether we can shrink the
5 > repo automatically without necessarily tossing out their old tree.  Do
6 > we know if that's possible at the moment?
7
8 I don't think there is an automated way to do that. If we have control
9 over the client side (say "emerge --sync" can be modified to do some
10 post processing), then we can regraft there and repack to shrink. For
11 linear history without tags, it should be safe.
12
13 Or you can bring this to git mailing list as a feature of "git gc".
14 --
15 Duy

Replies

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