Re: Marking abandoned branches
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Sep 13, 2006, 20:43 UTC
- Message-ID
- <ee9qhf$71n$1@sea.gmane.org>
- In-Reply-To
- <46a038f90609131331p25923440w45eb49b56933f24b@mail.gmail.com>
Martin Langhoff wrote:
Show 9 quoted lines
> I guess what people are pointing at is that you can: > > - run your import > - publish that as mozilla-historical.git > - copy that to mozilla.git > - rm all the old heads from mozilla.git > - rm all the 'new' heads from mozilla-historical.git > - run git-repack -a -d on both > - make the historical repo read-only
Instead of copying mozilla-historical.git to mozilla.git, it would be better to clone using --shared option (which sets up appropriate alternates file). Of course both repositories should be on the same machine for this to work, and no, one wouldn't need to copy/clone them both.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git