From 8c822809d5f5ae81018f72f79ff9dee34f23f00f Mon Sep 17 00:00:00 2001 From: Thomas Quinot Date: Mon, 27 Jul 2015 17:19:57 +0200 Subject: [PATCH] Do not URL-encode '+' characters in repo URLs These can legitimately appear in the schema name ("svn+ssh://") and should not be escaped there. --- svn2svn/svnclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svn2svn/svnclient.py b/svn2svn/svnclient.py index 09d27a2..bbb1364 100644 --- 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) -- 2.43.0