Plugins/VcsPlugins/vcsPySvn/subversion.py

branch
5_3_x
changeset 2455
0e33ff267952
parent 2302
f29e9405c851
child 2764
1d85539ac41a
equal deleted inserted replaced
2450:8b99e0a898c3 2455:0e33ff267952
2275 Public method to normalize a url for subversion. 2275 Public method to normalize a url for subversion.
2276 2276
2277 @param url url string (string) 2277 @param url url string (string)
2278 @return properly normalized url for subversion (string) 2278 @return properly normalized url for subversion (string)
2279 """ 2279 """
2280 protocol, url = url.split("://") 2280 protocol, url = url.split("://", 1)
2281 if url.startswith("\\\\"): 2281 if url.startswith("\\\\"):
2282 url = url[2:] 2282 url = url[2:]
2283 if protocol == "file": 2283 if protocol == "file":
2284 url = os.path.normcase(url) 2284 url = os.path.normcase(url)
2285 if url[1] == ":": 2285 if url[1] == ":":

eric ide

mercurial