How do I keep an svn:external up to date using git-svn?

后端 未结 8 2211
广开言路
广开言路 2020-12-02 06:44

Treating my repository as a SVN repo, I get:

svn co http://myrepo/foo/trunk foo
...
foo/
  bar/
  baz/ -> http://myrepo/baz/trunk

Treati

8条回答
  •  不思量自难忘°
    2020-12-02 07:05

    I decided to write a "simple" perl script to handle all this stuff for me. I've put it recently to github, try it out, maybe it would help: http://github.com/sushdm/git_svn_externals/.

    It essentially does git-svn clone for all externals found, and it looks for them recursively, clones, symlinks them in proper places and excludes all .git_externals dirs and symlinks so that you can still use 'git svn dcommit'.

    Good luck.

提交回复
热议问题