Code

git-svn: support for funky branch and project names over HTTP(S)
authorEric Wong <normalperson@yhbt.net>
Mon, 12 Nov 2007 07:37:42 +0000 (23:37 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jan 2008 23:18:37 +0000 (15:18 -0800)
commitf5530b8833bcaa423cd53d133d3de3fa0173fbf3
tree9a62fed470b1b8f28cc5e8eb76023562e3532f4c
parent4f3d37035a7c735a3b69f962656819f4ff7e4927
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]