git-svn: support for funky branch and project names over HTTP(S)
commitcfbe7ab333d68790eb37341e30f040f99cef6af7
authorEric Wong <normalperson@yhbt.net>
Mon, 12 Nov 2007 07:37:42 +0000 (11 23:37 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Nov 2007 08:22:49 +0000 (12 00:22 -0800)
tree33c7eacc4fc0678b9ec23ea86ee4f2042038f11f
parenta4e57e75c95c66c32da6b106313bc847110794ba
git-svn: support for funky branch and project names over HTTP(S)

SVN requires that paths be URI-escaped for HTTP(S) repositories.
file:// and svn:// repositories do not need these rules.

Additionally, accessing individual paths inside repositories
(check_path() and get_log() do NOT require escapes to function
and in fact it breaks things).

Noticed-by: Michael J. Cohen <mjc@cruiseplanners.com>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl
t/t9118-git-svn-funky-branch-names.sh [new file with mode: 0755]