git.nynim.org
/
svn2svn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
682a405
)
Do not URL-encode '+' characters in repo URLs
author
Thomas Quinot <quinot@adacore.com>
Mon, 27 Jul 2015 15:19:57 +0000
(17:19 +0200)
committer
Thomas Quinot <quinot@adacore.com>
Mon, 27 Jul 2015 15:19:57 +0000
(17:19 +0200)
These can legitimately appear in the schema name ("svn+ssh://") and
should not be escaped there.
svn2svn/svnclient.py
patch
|
blob
|
history
diff --git
a/svn2svn/svnclient.py
b/svn2svn/svnclient.py
index 09d27a22bf0a7de12352997965f0534b3edac475..bbb1364d85e94f227b2adfbfa11837222308f2f9 100644
(file)
--- a/
svn2svn/svnclient.py
+++ b/
svn2svn/svnclient.py
@@
-40,7
+40,7
@@
def safe_path(path, rev_number=None):
"""
# URL-escape URL's, but leave local WC paths alone
if "://" in path:
- path = urllib.quote(path, ":/")
+ path = urllib.quote(path, ":/
+
")
# Add peg revision
if rev_number is not None:
path += "@"+str(rev_number)