git-svn-clone-externals
git-svn-clone-externals copied to clipboard
git-svn-clone-externals doesn't work with a revision specified?
It appears as if git-svn-clone-externals doesn't work when the external specifies the revision to use:
$ git-svn-clone-externals
library/shindig/php/src -> 1094333
git svn clone -r 1094333 library/shindig/php/src
Using existing [svn-remote "svn"]
svn-remote.svn.fetch already set to track :refs/remotes/git-svn
$ git svn show-externals
# /
# /library/shindig/php/
/library/shindig/php/src -r 1094333 http://svn.apache.org/repos/asf/shindig/trunk/php/src
I've had a similar problem, in that git svn show-externals
did not print any whitespace between the path and revision.
I've just fixed this in my fork and added support for custom destination names (e.g. /frameworks/-r12345 svn://example.com/foo/bar/trunk foo_bar
).
Issued a pull-request just now: https://github.com/andrep/git-svn-clone-externals/pull/16