##// END OF EJS Templates
convert: make hg sha1 regex consistently be a bytes...
Augie Fackler -
r36151:2a28bdb6 default
parent child Browse files
Show More
@@ -42,7 +42,7 b' from . import common'
42 mapfile = common.mapfile
42 mapfile = common.mapfile
43 NoRepo = common.NoRepo
43 NoRepo = common.NoRepo
44
44
45 sha1re = re.compile(r'\b[0-9a-f]{12,40}\b')
45 sha1re = re.compile(br'\b[0-9a-f]{12,40}\b')
46
46
47 class mercurial_sink(common.converter_sink):
47 class mercurial_sink(common.converter_sink):
48 def __init__(self, ui, repotype, path):
48 def __init__(self, ui, repotype, path):
General Comments 0
You need to be logged in to leave comments. Login now