Re: Efficient way to import snapshots?
- From
- Craig Boston <craig@olyun.gank.org>
- Date
- Jul 30, 2007, 21:49 UTC
- Message-ID
- <20070730214914.GD64467@nowhere>
- In-Reply-To
- <7vabtdk2ch.fsf@assigned-by-dhcp.cox.net>
On Mon, Jul 30, 2007 at 02:29:02PM -0700, Junio C Hamano wrote:
Show 9 quoted lines
> Craig Boston <craig@olyun.gank.org> writes: > > 2) Have one repository clone that gets re-used for each import, with the > > "checked out" branch getting changed before the import. As far as I can > > tell this means suffering the "git checkout" overhead for 30,000 files, > > which is conceptually inefficient but in real time only a minute or so. > > That should only be "conceptually" in fact, as switching between > branches should not touch paths that are the same between > branches.
I suspected as much, though in practice almost every file is different between the branches that I'm tracking. RELENG_4 and RELENG_6 for instance have years of development between them, with almost every major subsystem and API reorganized in some way.
I might have to do a quick compare once I get things imported and see exactly what the numbers are.
Craig