hgext/convert/hg.py
branchstable
changeset 23972 c408bf3b32f8
parent 23926 fea3416f2440
child 24306 6ddc86eedc3b
--- a/hgext/convert/hg.py	Fri Jan 30 04:59:05 2015 +0900
+++ b/hgext/convert/hg.py	Fri Jan 30 18:51:20 2015 +0100
@@ -26,7 +26,7 @@
 from common import NoRepo, commit, converter_source, converter_sink
 
 import re
-sha1re = re.compile(r'\b[0-9a-f]{6,40}\b')
+sha1re = re.compile(r'\b[0-9a-f]{12,40}\b')
 
 class mercurial_sink(converter_sink):
     def __init__(self, ui, path):