7 |
7 |
8 from node import hex, bin, nullid, nullrev, short |
8 from node import hex, bin, nullid, nullrev, short |
9 from lock import release |
9 from lock import release |
10 from i18n import _ |
10 from i18n import _ |
11 import os, re, difflib, time, tempfile, errno |
11 import os, re, difflib, time, tempfile, errno |
|
12 import sys |
12 import hg, scmutil, util, revlog, copies, error, bookmarks |
13 import hg, scmutil, util, revlog, copies, error, bookmarks |
13 import patch, help, encoding, templatekw, discovery |
14 import patch, help, encoding, templatekw, discovery |
14 import archival, changegroup, cmdutil, hbisect |
15 import archival, changegroup, cmdutil, hbisect |
15 import sshserver, hgweb, commandserver |
16 import sshserver, hgweb, commandserver |
16 from hgweb import server as hgweb_server |
17 from hgweb import server as hgweb_server |
2157 except util.Abort, inst: |
2158 except util.Abort, inst: |
2158 ui.write(" %s\n" % inst) |
2159 ui.write(" %s\n" % inst) |
2159 ui.write(_(" (check that your locale is properly set)\n")) |
2160 ui.write(_(" (check that your locale is properly set)\n")) |
2160 problems += 1 |
2161 problems += 1 |
2161 |
2162 |
2162 # Python lib |
2163 # Python |
|
2164 ui.status(_("showing Python executable (%s)\n") % sys.executable) |
|
2165 ui.status(_("showing Python version (%s)\n") |
|
2166 % ("%s.%s.%s" % sys.version_info[:3])) |
2163 ui.status(_("checking Python lib (%s)...\n") |
2167 ui.status(_("checking Python lib (%s)...\n") |
2164 % os.path.dirname(os.__file__)) |
2168 % os.path.dirname(os.__file__)) |
2165 |
2169 |
2166 # compiled modules |
2170 # compiled modules |
2167 ui.status(_("checking installed modules (%s)...\n") |
2171 ui.status(_("checking installed modules (%s)...\n") |