Bug 893723 - Ignore trailing '+' in Mercurial version string; r=gps

DONTBUILD (NPOTB)
This commit is contained in:
Andrew Wilcox 2013-07-15 04:15:00 -07:00
parent 9734a7b4ab
commit 07be66f684

View File

@ -187,7 +187,7 @@ class BaseBootstrapper(object):
info = self.check_output([hg, '--version']).splitlines()[0]
match = re.search('version ([^\)]+)', info)
match = re.search('version ([^\+\)]+)', info)
if not match:
print('ERROR: Unable to identify Mercurial version.')
return True, False, None