--- a/hgext/convert/subversion.py Tue Jun 16 14:32:10 2020 +0200
+++ b/hgext/convert/subversion.py Tue Jun 16 14:33:49 2020 +0200
@@ -662,9 +662,9 @@
def checkrevformat(self, revstr, mapname=b'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}-'
- r'[0-9a-f]{4,4}-[0-9a-f]{4,4}-[0-9a-f]'
- r'{12,12}(.*)@[0-9]+$',
+ br'svn:[0-9a-f]{8,8}-[0-9a-f]{4,4}-'
+ br'[0-9a-f]{4,4}-[0-9a-f]{4,4}-[0-9a-f]'
+ br'{12,12}(.*)@[0-9]+$',
revstr,
):
raise error.Abort(