t9117: test specifying full url to git svn init -T
authorAdam Dinwoodie <adam@dinwoodie.org>
Wed, 16 Mar 2016 19:09:54 +0000 (19:09 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 16 Mar 2016 19:24:37 +0000 (19:24 +0000)
commit4be4d550635d25a5050c3539f8ad3be44dabfce9
tree6844fc21266ea05f325d998555bdba607826d25f
parentc2c5f6b1e479f2c38e0e01345350620944e3527f
t9117: test specifying full url to git svn init -T

According to the documentation, full URLs can be specified in the `-T`
argument to `git svn init`.  However, the canonicalization of such
arguments squashes together consecutive "/"s, which unsurprisingly
breaks http://, svn://, etc URLs.  Add a failing test case to provide
evidence of that.

On systems where Subversion provides svn_path_canonicalize but not
svn_dirent_canonicalize (Subversion 1.6 and earlier?), this test passes,
as svn_path_canonicalize doesn't mangle the consecutive "/"s.

[ew: fixed whitespace]

Signed-off-by: Adam Dinwoodie <adam@dinwoodie.org>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
t/t9117-git-svn-init-clone.sh