Clone an svn repo with externals
Usage
git-svn-clone-externals svn-working-copy dest-dir
The main difference between this and other alternative scripts is that this one starts from an svn checkout to discover the externals, so it's faster.
The package comes with some utility command to manage a nested git-svn
clone:
-
git-svn-dcommit
andgit-svn-rebase
: asgit svn <command>
but with automaticstash save
andstash pop
-
git-svn-outgoing
: shows a diff of dcommit'able commits
All scripts are offering a --recursive
option.
Installation
The scritps depends on git svn
, in Ubuntu you can get the package with:
$ sudo apt-get install git-svn
and than install the script with:
$ pip install git-svn-clone-externals
License
This script is released under the MIT License
TODO
- git-ignore externals
- test on convoluted externals (relative paths)
- manage fixed revision externals