From: Shawn O. Pearce Date: Thu, 04 Jan 2007 03:05:44 GMT Subject: Re: git-svnimport failed and now git-repack hates me Message-ID: <20070104030544.GF18206@spearce.org> In-Reply-To: <204011cb0701031858x231df34as424b7f0c0ae4ab8b@mail.gmail.com> Chris Lee wrote: > Uh... somehow, it lost this part: > > >All that's needed is to get data from SVN in a way that it can be > >fed into git-fastimport. > > That's what I meant - I assume that someone already has the > svn-repo-to-gfi piece working? Where's that available from? No. That hasn't been written. In theory someone could take the SVN dump library (its a chunk of C code which parses SVN dump files) and write a tool which translates it into git-fastimport. One could also use the SVN client library to suck data from SVN and pump it into git-fastimport. Jon Smirl attempted to create a CVS-->git-fastimport program in Python by starting with the cvs2svn codebase, but that doesn't do anything about importing *from* SVN. Jon was able to import the entire Mozilla CVS repository (250k commits, about 3 GiB input) in 2 hours using his hacked up cvs2svn and git-fastimport. The resulting pack was ~900 MiB. He recompressed that using `git repack -a -d --window=50 --depth=1000` (which is insane) in about an hour. -- Shawn.