Re: Speeding up the initial git-svn fetch

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

 



I hate making more work for people but I would love a copy of your
notes.  Getting a full clone of our SVN repository is probably the
biggest hurdle to having a git insurgency take root.  Also, which GSoC
project were you referring to?


On Wed, Oct 13, 2010 at 9:02 AM, Stephen Bash <bash@xxxxxxxxxxx> wrote:
>> 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]