summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-09-08 14:15:17 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-09-08 14:15:17 -0700
commit24fa13cbb7c520f787370b471b4f04652fbb68d5 (patch)
treef62ddbfc3e65ae3d7dca7c2ab0b46675ddbfb94a /git-svn.perl
parentMerge branch 'ar/autospell' (diff)
parentgit-svn: fix handling of even funkier branch names (diff)
downloadtgif-24fa13cbb7c520f787370b471b4f04652fbb68d5.tar.xz
Merge git://git.bogomips.org/git-svn
* git://git.bogomips.org/git-svn: git-svn: fix handling of even funkier branch names
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index ee3f5edb60..ecacf74c22 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -4025,6 +4025,7 @@ sub gs_do_switch {
}
}
$ra ||= $self;
+ $url_b = escape_url($url_b);
my $reporter = $ra->do_switch($rev_b, '', 1, $url_b, $editor, $pool);
my @lock = $SVN::Core::VERSION ge '1.2.0' ? (undef) : ();
$reporter->set_path('', $rev_a, 0, @lock, $pool);