Comments
Patch
@@ -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
@@ -2056,7 +2057,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__))
@@ -1,6 +1,8 @@
hg debuginstall
$ hg debuginstall
checking encoding (ascii)...
+ showing Python executable (*) (glob)
+ showing Python version (2.*) (glob)
checking Python lib (*lib*)... (glob)
checking installed modules (*mercurial)... (glob)
checking templates (*mercurial?templates)... (glob)
@@ -11,6 +13,8 @@
hg debuginstall with no username
$ HGUSER= hg debuginstall
checking encoding (ascii)...
+ showing Python executable (*) (glob)
+ showing Python version (2.*) (glob)
checking Python lib (*lib*)... (glob)
checking installed modules (*mercurial)... (glob)
checking templates (*mercurial?templates)... (glob)