Plugins/VcsPlugins/vcsPySvn/subversion.py

changeset 2451
4d80de2f9122
parent 2406
975af671146d
child 2525
8b507a9a2d40
child 2763
e4794166ad70
equal deleted inserted replaced
2447:d5624b902212 2451:4d80de2f9122
2293 Public method to normalize a url for subversion. 2293 Public method to normalize a url for subversion.
2294 2294
2295 @param url url string (string) 2295 @param url url string (string)
2296 @return properly normalized url for subversion (string) 2296 @return properly normalized url for subversion (string)
2297 """ 2297 """
2298 protocol, url = url.split("://") 2298 protocol, url = url.split("://", 1)
2299 if url.startswith("\\\\"): 2299 if url.startswith("\\\\"):
2300 url = url[2:] 2300 url = url[2:]
2301 if protocol == "file": 2301 if protocol == "file":
2302 url = os.path.normcase(url) 2302 url = os.path.normcase(url)
2303 if url[1] == ":": 2303 if url[1] == ":":

eric ide

mercurial