git-svn-clone-externals icon indicating copy to clipboard operation
git-svn-clone-externals copied to clipboard

git-svn-clone-externals doesn't work with a revision specified?

Open relaxnow opened this issue 13 years ago • 1 comments

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

relaxnow avatar Oct 10 '11 15:10 relaxnow

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

danyowdee avatar Apr 03 '12 17:04 danyowdee