git-svn: path canonicalization uses SVN API
authorMichael G. Schwern <schwern@pobox.com>
Sat, 28 Jul 2012 09:38:31 +0000 (02:38 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 2 Aug 2012 21:45:26 +0000 (21:45 +0000)
commit3def8d088499b94919de36305ce710487a5e2bb0
treee8ae667b109905e54e28eeec54fdb784fb6483ed
parent8169a3908c72ce08763516745d726d8a2ac51a36
git-svn: path canonicalization uses SVN API

All tests pass with SVN 1.6.  SVN 1.7 remains broken, not worrying
about it yet.

SVN changed its path canonicalization API between 1.6 and 1.7.
http://svnbook.red-bean.com/en/1.6/svn.developer.usingapi.html#svn.developer.usingapi.urlpath
http://svnbook.red-bean.com/en/1.7/svn.developer.usingapi.html#svn.developer.usingapi.urlpath

The SVN API does not accept foo/.. but it also doesn't canonicalize
it.  We have to do it ourselves.

[ew: commit title, fall back if SVN <= 1.6 fails to canonicalize]

Signed-off-by: Eric Wong <normalperson@yhbt.net>
perl/Git/SVN/Utils.pm