hgext/convert/cvs.py
changeset 44021 6d3b67a837a6
parent 43105 649d3ac37a12
child 44867 8e8fd938ca07
--- a/hgext/convert/cvs.py	Sat Dec 28 01:12:19 2019 -0500
+++ b/hgext/convert/cvs.py	Sat Dec 28 01:35:05 2019 -0500
@@ -144,9 +144,7 @@
 
         if root.startswith(b":pserver:"):
             root = root[9:]
-            m = re.match(
-                r'(?:(.*?)(?::(.*?))?@)?([^:\/]*)(?::(\d*))?(.*)', root
-            )
+            m = re.match(r'(?:(.*?)(?::(.*?))?@)?([^:/]*)(?::(\d*))?(.*)', root)
             if m:
                 conntype = b"pserver"
                 user, passw, serv, port, root = m.groups()