##// END OF EJS Templates
py3: pass regex as bytes
Manuel Jacob -
r45498:423e20c7 stable
parent child Browse files
Show More
@@ -662,9 +662,9 b' class svn_source(converter_source):'
662 662 def checkrevformat(self, revstr, mapname=b'splicemap'):
663 663 """ fails if revision format does not match the correct format"""
664 664 if not re.match(
665 r'svn:[0-9a-f]{8,8}-[0-9a-f]{4,4}-'
666 r'[0-9a-f]{4,4}-[0-9a-f]{4,4}-[0-9a-f]'
667 r'{12,12}(.*)@[0-9]+$',
665 br'svn:[0-9a-f]{8,8}-[0-9a-f]{4,4}-'
666 br'[0-9a-f]{4,4}-[0-9a-f]{4,4}-[0-9a-f]'
667 br'{12,12}(.*)@[0-9]+$',
668 668 revstr,
669 669 ):
670 670 raise error.Abort(
General Comments 0
You need to be logged in to leave comments. Login now