-1

I will be tracking a new project in a Git repository. The project has a dependency on an older library; the library is stored in a directory in a branch in a Subversion repository. The library’s directory has many sibling directories—other projects—that I’m not interested in. What I’d like to do is to bridge just this single directory into a Git repository using git-svn. (I’ll be including this repository as a submodule in the new project’s directory, although I don’t think that’s germane to my question.) Is it possible to bridge just part of a Subversion repository like this?

bdesham
  • 15,430
  • 13
  • 79
  • 123
  • Possible duplicate http://stackoverflow.com/questions/13447705/is-git-svn-compatible-with-git-subtree – mlt Jun 19 '14 at 16:02

1 Answers1

0

Is it possible to bridge just part of a Subversion repository like this

It is possible, with svn2git filter rules
(another approach would use git-svn with a non-standard layout)

It is best if you don't have to push back to the svn repo though.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250