##// END OF EJS Templates
convert: replace revision references in messages if they are >= short hashes...
Mads Kiilerich -
r23972:c408bf3b stable
parent child Browse files
Show More
@@ -26,7 +26,7 b' from mercurial import hg, util, context,'
26 from common import NoRepo, commit, converter_source, converter_sink
26 from common import NoRepo, commit, converter_source, converter_sink
27
27
28 import re
28 import re
29 sha1re = re.compile(r'\b[0-9a-f]{6,40}\b')
29 sha1re = re.compile(r'\b[0-9a-f]{12,40}\b')
30
30
31 class mercurial_sink(converter_sink):
31 class mercurial_sink(converter_sink):
32 def __init__(self, ui, path):
32 def __init__(self, ui, path):
General Comments 0
You need to be logged in to leave comments. Login now