git-svn: canonicalize newly-minted URLs
authorMichael G. Schwern <schwern@pobox.com>
Sat, 28 Jul 2012 09:47:51 +0000 (02:47 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 2 Aug 2012 21:46:05 +0000 (21:46 +0000)
commit705b49cb81351020b57f9356487e9b3fdeea1e40
tree39e59653757eb915d51a152d1b9d44f83aa24545
parentd2fd119c4fcaea266a894354b506959376140c37
git-svn: canonicalize newly-minted URLs

Go through all the spots that use the new add_path_to_url() to
make a new URL and canonicalize them.

* copyfrom_path has to be canonicalized else find_parent_branch
  will get confused

* due to the `canonicalize_url($full_url) ne $full_url)` line of
  logic in gs_do_switch(), $full_url is left alone until after.

At this point SVN 1.7 passes except for 3 tests in
t9100-git-svn-basic.sh that look like an SVN bug to do with
symlinks.

[ew: commit title]

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