git-svn: introduce add_path_to_url function
authorMichael G. Schwern <schwern@pobox.com>
Sat, 28 Jul 2012 09:47:50 +0000 (02:47 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 2 Aug 2012 21:46:03 +0000 (21:46 +0000)
commitd2fd119c4fcaea266a894354b506959376140c37
tree887faa7b3d86d181a3160256452bf890a8da632f
parent8266fc8be19ef1405d4ef175bb0e75ebc2730f5d
git-svn: introduce add_path_to_url function

Remove the ad-hoc versions.

This is mostly to normalize the process and ensure the URLs produced
don't have double slashes or anything.

Also provides a place to fix the corner case where a file path
contains a percent sign.

[ew: commit title]

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl
perl/Git/SVN.pm
perl/Git/SVN/Ra.pm
perl/Git/SVN/Utils.pm
t/Git-SVN/Utils/add_path_to_url.t [new file with mode: 0644]