Re: synchronizing incremental git changes to cvs
- From
Jim Meyering <jim@meyering.net>
- Date
- May 21, 2006, 13:40 UTC
- Message-ID
- <873bf3jy2t.fsf@rho.meyering.net>
- In-Reply-To
- <Pine.LNX.4.63.0605210104470.3148@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 10 quoted lines
> On Sun, 21 May 2006, Jim Meyering wrote: > >> Why am I interested? I want to switch the development of GNU coreutils >> from cvs to git. I would also like to continue making the repository >> available via cvs, for the sake of continuity. At worst, I can always >> cut the CVS cord, but that's a last resort. > > If you only want to make a cvs repository available for tracking the > project, git-cvsserver is what you want. It is even faster than the > original cvs...
That might work if I had sufficient access to the system hosting the public CVS repository. But there are restrictions (like no ssh access). Currently I rsync the master repo to an intermediate site, from which it is periodically pulled by savannah. Paranoia on both sides.
If I end up leaving savannah, can someone propose a good site, i.e., secure, yet with git and rsync access?
I haven't made the leap to git yet, but git-cvsimport (from git-1.3.2) seems to do a very good job of converting the cvs module (89MB).
FYI, here are some stats on the resulting git repository:
Size (nothing repacked): 1051MB (du -sh, actual, on reiserfs 3) 708MB (du --apparent-size)
Size repacked, (via git-repack -a -d && git-prune-packed)
65MB (du --si -s)20k+ patchsets (counted by cvsps) 40k+ revisions (counted by cvs ... rlog cu|grep -c '^revision')
While repacking, git said something about more than 100K objects. There were 120K files under .git/ before repacking.