##// END OF EJS Templates
convert: avoid interpreting Windows path as CVS connection strings....
Patrick Mezard -
r5304:b85f7cc1 default
parent child Browse files
Show More
@@ -149,7 +149,8 b' class convert_cvs(converter_source):'
149 if root.startswith(":ext:"):
149 if root.startswith(":ext:"):
150 root = root[5:]
150 root = root[5:]
151 m = re.match(r'(?:([^@:/]+)@)?([^:/]+):?(.*)', root)
151 m = re.match(r'(?:([^@:/]+)@)?([^:/]+):?(.*)', root)
152 if not m:
152 # Do not take Windows path "c:\foo\bar" for a connection strings
153 if os.path.isdir(root) or not m:
153 conntype = "local"
154 conntype = "local"
154 else:
155 else:
155 conntype = "rsh"
156 conntype = "rsh"
General Comments 0
You need to be logged in to leave comments. Login now