views:

23

answers:

1

We recently moved from SVN to Git, but there's a single legacy branch that I need to bring in to the Git repository. The SVN and Git repositories are the same logical code (i.e. they're both called foo-lib), but the Git one has newer revisions from after we switched to Git.

Is there a way we can use git-svn to grab the history of a specific branch and graft it into the history of the git tree?

A: 

Based on VonC's comment, I took a look at this question and did something like:

git svn clone -A ~/.git/svn.authors http://svn/branches/foo svn-foo
git clone git@git:blah/foo.git new-foo
cd new-foo
git pull ../svn-foo :old-foo
magneticMonster