Re: Figured out how to get Mozilla into git
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Jun 9, 2006, 03:06 UTC
- Message-ID
- <46a038f90606082006t5c6a5623q4b9cf7b036dad1e5@mail.gmail.com>
- In-Reply-To
- <9e4733910606081917l11354e49q25f0c4aea40618ea@mail.gmail.com>
Jon,
oh, I went back to a cvsimport that I started a couple days ago. Completed with no problems...
Last commit: commit 5ecb56b9c4566618fad602a8da656477e4c6447a Author: wtchang%redhat.com <wtchang%redhat.com> Date: Fri Jun 2 17:20:37 2006 +0000
Import NSPR 4.6.2 and NSS 3.11.1
mozilla.git$ du -sh .git/ 2.0G .git/
It took 43492.19user 53504.77system 40:23:49elapsed 66%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (77334major+3122469478minor)pagefaults 0swaps
> I should have the results in the morning. I wonder how long it will > take to start gitk on a 10GB repository.
Hopefully not that big :) -- anyway, just do gitk --max-count=1000
> Once I get this monster into git, are there tools that will let me > keep it in sync with Mozilla CVS?
If you use git-cvsimport, you can safely re-run it on a cronjob to keep it in sync. Not too sure about the cvs2svn => git-svnimport, though git-svnimport does support incremental imports.
> SVN renamed numeric branches to this form, unlabeled-3.7.24, so that > may be a problem.
Ouch,
> Any advice on how to pack this to make it run faster?
git-repack -a -d but it OOMs on my 2GB+2GBswap machine :(
martin