--- a/mercurial/commands.py Mon May 16 04:31:20 2016 +0530
+++ b/mercurial/commands.py Tue May 10 22:45:45 2016 +0000
@@ -2740,6 +2740,13 @@
fm.write('pythonlib', _("checking Python lib (%s)...\n"),
os.path.dirname(os.__file__))
+ # hg version
+ hgver = util.version()
+ fm.write('hgver', _("checking Mercurial version (%s)\n"),
+ hgver.split('+')[0])
+ fm.write('hgverextra', _("checking Mercurial custom build (%s)\n"),
+ '+'.join(hgver.split('+')[1:]))
+
# compiled modules
fm.write('hgmodules', _("checking installed modules (%s)...\n"),
os.path.dirname(__file__))