Fixed an issue normalizing Subversion URLs on Windows (need to be all lowercase, i.e. canonicalized). 5_2_x

Sun, 10 Jun 2012 17:55:19 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 10 Jun 2012 17:55:19 +0200
branch
5_2_x
changeset 1891
400900cc80b1
parent 1887
fc774fba0426
child 1895
fec3f72261f3

Fixed an issue normalizing Subversion URLs on Windows (need to be all lowercase, i.e. canonicalized).

Plugins/VcsPlugins/vcsPySvn/subversion.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsSubversion/subversion.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsPySvn/subversion.py	Sat Jun 02 17:41:24 2012 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/subversion.py	Sun Jun 10 17:55:19 2012 +0200
@@ -2198,7 +2198,7 @@
         protocol, url = url.split("://")
         if url.startswith("\\\\"):
             url = url[2:]
-        url = url.replace('\\', '/')
+        url = os.path.normcase(url).replace('\\', '/')
         if url.endswith('/'):
             url = url[:-1]
         if not url.startswith("/") and url[1] in [":", "|"]:
--- a/Plugins/VcsPlugins/vcsSubversion/subversion.py	Sat Jun 02 17:41:24 2012 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/subversion.py	Sun Jun 10 17:55:19 2012 +0200
@@ -1979,7 +1979,7 @@
         protocol, url = url.split("://")
         if url.startswith("\\\\"):
             url = url[2:]
-        url = url.replace('\\', '/')
+        url = os.path.normcase(url).replace('\\', '/')
         if url.endswith('/'):
             url = url[:-1]
         if not url.startswith("/") and url[1] in [":", "|"]:

eric ide

mercurial