Re: Speeding up the initial git-svn fetch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> What have other people done in similar circumstances?

Based on suggestions from this list, I sidestepped git-svn and used svn-fe [1] and git-fast-import.  It imports the entire Subversion tree in a single git branch, but using git's tools that's workable.  At an extremely high level I used git-filter-branch to split up into branches and git grafts to stitch the various branches together to represent the SVN history.

The real devil is in extrating the SVN history, but there are a few gotchas in the filtering/recombining.  I haven't written up a complete summary for the list because I thought the GSoC project would supersede my process rather quickly...  If there's interest I can transpose my internal documentation for public use.

As a benchmark, our SVN repository was about 20k commits, ~400 tags, ~100 branches, HEAD contained ~7k files.  git-svn took several weeks (and never finished), svn-fe and git-fast-import took ~20 minutes (my entire process takes about 4 hours).

[1] http://github.com/barrbrain/svn-dump-fast-export

HTH,
Stephen
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]