git-svn-clone-externals

Clone an svn checkout in a tree of nested git-svn repos and helper tools


Keywords
svn, git, git-svn, externals
License
MIT
Install
pip install git-svn-clone-externals==1.1.6

Documentation

Clone an svn repo with externals

PyPI version PyPI downloads GitHub license

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 and git-svn-rebase: as git svn <command> but with automatic stash save and stash 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