NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Splitting one svn into multiple git repos (Score:1)
Hi,
do it as a two step process.
First import the svn into git using git svn. Given that this is a one-shoot move to git, you should use the --no-metadata switch also.
Then, from that inicial repo, clone one repo for each module and use the git filter-branch command.
If you go to the man page here (http://www.kernel.org/pub/software/scm/git/docs/git-filter-branch.html) search for "git filter-branch --subdirectory-filter" and you should find the solution.
I've used git svn several times, and git filter-branch a couple of times, and both work.
If you more help, ping me at melo cpan.org.
life is short
Reply to This
Re: (Score:2)
Okay, that was pretty easy. Now I just have to figure out how to make the filtered repos smaller. I think they are still carrying around a lot of meta baggage because the filtered repo is still about 3/4 the size of the full repo, and that's pretty bad for a huge repo.
Thanks :)
Re: (Score:1)
git gc --aggressive && git repack -a -d -f --depth=250 --window=250