--- a/mercurial/commands.py Fri Mar 14 10:57:04 2014 -0700
+++ b/mercurial/commands.py Tue Dec 31 00:37:16 2013 -0800
@@ -9,6 +9,7 @@
from lock import release
from i18n import _
import os, re, difflib, time, tempfile, errno
+import sys
import hg, scmutil, util, revlog, copies, error, bookmarks
import patch, help, encoding, templatekw, discovery
import archival, changegroup, cmdutil, hbisect
@@ -2159,7 +2160,10 @@
ui.write(_(" (check that your locale is properly set)\n"))
problems += 1
- # Python lib
+ # Python
+ ui.status(_("showing Python executable (%s)\n") % sys.executable)
+ ui.status(_("showing Python version (%s)\n")
+ % ("%s.%s.%s" % sys.version_info[:3]))
ui.status(_("checking Python lib (%s)...\n")
% os.path.dirname(os.__file__))