author | Thomas Rast <trast@student.ethz.ch> | |
Tue, 26 Aug 2008 19:32:37 +0000 (21:32 +0200) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Fri, 5 Sep 2008 23:58:39 +0000 (16:58 -0700) | ||
commit | 05427b91f0b5e45688cbea21faf0f2d79ec07b21 | |
tree | 7951ab6f2dbdc5d888b2ec7330230203bcfb6d14 | tree | snapshot |
parent | edde9112abd1ef5f4565468e8a9a500e0c03f900 | commit | diff |
git svn info: always quote URLs in 'info' output
Changes 'git svn info' to always URL-escape the 'URL' and 'Repository'
fields and --url output, like SVN (at least 1.5) does.
Note that reusing the escape_url() further down in Git::SVN::Ra is not
possible because it only triggers for http(s) URLs. I did not know
whether extending it to all schemes would break SVN access anywhere,
so I made a new one that quotes in all schemes.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Eric Wong <normalperson@yhbt.net>
Changes 'git svn info' to always URL-escape the 'URL' and 'Repository'
fields and --url output, like SVN (at least 1.5) does.
Note that reusing the escape_url() further down in Git::SVN::Ra is not
possible because it only triggers for http(s) URLs. I did not know
whether extending it to all schemes would break SVN access anywhere,
so I made a new one that quotes in all schemes.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | diff | blob | history | |
t/t9119-git-svn-info.sh | diff | blob | history |