Merge branch 'webrick' of git://git.bogomips.org/git-svn
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Aug 2010 16:46:52 +0000 (09:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Aug 2010 16:46:52 +0000 (09:46 -0700)
* 'webrick' of git://git.bogomips.org/git-svn:
instaweb: add access+error logging for WEBrick
instaweb: minimize moving parts for WEBrick
instaweb: fix WEBrick server support

git-svn.perl
index 8d2ef3d16f32d89a0d110a4539f9460436e0ce3b..34884b8fce37008ca05369dbd365573c7112ca21 100755 (executable)
@@ -1820,6 +1820,7 @@ sub read_all_remotes {
                        die("svn-remote.$remote: remote ref '$remote_ref' "
                            . "must start with 'refs/'\n")
                                unless $remote_ref =~ m{^refs/};
+                       $local_ref = uri_decode($local_ref);
                        $r->{$remote}->{fetch}->{$local_ref} = $remote_ref;
                        $r->{$remote}->{svm} = {} if $use_svm_props;
                } elsif (m!^(.+)\.usesvmprops=\s*(.*)\s*$!) {
@@ -1832,6 +1833,7 @@ sub read_all_remotes {
                        die("svn-remote.$remote: remote ref '$remote_ref' ($t) "
                            . "must start with 'refs/'\n")
                                unless $remote_ref =~ m{^refs/};
+                       $local_ref = uri_decode($local_ref);
                        my $rs = {
                            t => $t,
                            remote => $remote,