hgext/convert/subversion.py
changeset 36455 9e3cb58c7ab3
parent 36299 238646784294
child 36512 d697e39f61a6
--- a/hgext/convert/subversion.py	Tue Feb 27 00:43:37 2018 +0530
+++ b/hgext/convert/subversion.py	Tue Feb 27 14:28:17 2018 +0530
@@ -1129,7 +1129,7 @@
             self.wc = os.path.realpath(path)
             self.run0('update')
         else:
-            if not re.search(r'^(file|http|https|svn|svn\+ssh)\://', path):
+            if not re.search(br'^(file|http|https|svn|svn\+ssh)\://', path):
                 path = os.path.realpath(path)
                 if os.path.isdir(os.path.dirname(path)):
                     if not os.path.exists(os.path.join(path, 'db', 'fs-type')):