hgext/convert/subversion.py
changeset 30132 72f75eda02ba
parent 29324 b501579147f1
child 30274 21f977dbfaec
--- a/hgext/convert/subversion.py	Mon Oct 10 05:30:14 2016 -0700
+++ b/hgext/convert/subversion.py	Mon Oct 10 05:31:31 2016 -0700
@@ -531,8 +531,8 @@
     def checkrevformat(self, revstr, mapname='splicemap'):
         """ fails if revision format does not match the correct format"""
         if not re.match(r'svn:[0-9a-f]{8,8}-[0-9a-f]{4,4}-'
-                              '[0-9a-f]{4,4}-[0-9a-f]{4,4}-[0-9a-f]'
-                              '{12,12}(.*)\@[0-9]+$',revstr):
+                              r'[0-9a-f]{4,4}-[0-9a-f]{4,4}-[0-9a-f]'
+                              r'{12,12}(.*)\@[0-9]+$',revstr):
             raise error.Abort(_('%s entry %s is not a valid revision'
                                ' identifier') % (mapname, revstr))