git-svn on subset of large svn repo

Posted by an146 on Stack Overflow See other posts from Stack Overflow or by an146
Published on 2010-04-21T13:31:44Z Indexed on 2010/04/21 13:33 UTC
Read the original article Hit count: 391

Filed under:
|
|

repo layout: a/1 a/2 a/3 ... b/1 b/2 ... c/1 c/2 ...

git-svn works perfect for me if I work on 1 svn repo subdir. But right now I'm facing the need to work on several subdirs (like, a/1, a/2, and b/1), and there's much shit in repo besides them. I've managed to write a regexp for this, but git-svn with --ignore-paths seems to check each file's name against this regexp, instead of skipping entire folders, so it's too slow. /* Probably I should file a bug report about this */

So -- any ideas of handling this? If some Mercurial svn agent can do selective clones, it's OK too, but I'd better stick with git. My another idea was some selective svn proxy, but I haven't succeeded in googling anything like that. Thanks!

© Stack Overflow or respective owner

Related posts about git-svn

Related posts about hgsubversion