diff mercurial/commands.py @ 17392:bdd248666dbc stable

debuginstall: show directory for Python lib Example new output on Windows: $ hg debuginstall checking encoding (cp1252)... checking Python lib (C:\Users\adi\hgrepos\hg-main\hg-python\lib)... checking installed modules (C:\Users\adi\hgrepos\hg-main\mercurial)... checking templates (C:\Users\adi\hgrepos\hg-main\mercurial\templates)... checking commit editor... C:\Program Files (x86)\Notepad++\notepad++.exe checking username... no problems detected on Linux: adi@kork-ubuntu64:~/hgrepos/hg-main$ ./hg debuginstall checking encoding (UTF-8)... checking Python lib (/usr/lib/python2.7)... checking installed modules (/home/adi/hgrepos/hg-main/mercurial)... checking templates (/home/adi/hgrepos/hg-main/mercurial/templates)... checking commit editor... checking username... no problems detected
author Adrian Buehlmann <adrian@cadifra.com>
date Mon, 06 Aug 2012 12:59:47 +0200
parents 45b5eb2941d0
children 99a2a4ae35e2 605fe310691f
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Aug 04 07:14:40 2012 +0200
+++ b/mercurial/commands.py	Mon Aug 06 12:59:47 2012 +0200
@@ -1998,6 +1998,10 @@
         ui.write(_(" (check that your locale is properly set)\n"))
         problems += 1
 
+    # Python lib
+    ui.status(_("checking Python lib (%s)...\n")
+              % os.path.dirname(os.__file__))
+
     # compiled modules
     ui.status(_("checking installed modules (%s)...\n")
               % os.path.dirname(__file__))