Mercurial > hg > mercurial-source
comparison 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 |
comparison
equal
deleted
inserted
replaced
17391:fc24c10424d2 | 17392:bdd248666dbc |
---|---|
1995 encoding.fromlocal("test") | 1995 encoding.fromlocal("test") |
1996 except util.Abort, inst: | 1996 except util.Abort, inst: |
1997 ui.write(" %s\n" % inst) | 1997 ui.write(" %s\n" % inst) |
1998 ui.write(_(" (check that your locale is properly set)\n")) | 1998 ui.write(_(" (check that your locale is properly set)\n")) |
1999 problems += 1 | 1999 problems += 1 |
2000 | |
2001 # Python lib | |
2002 ui.status(_("checking Python lib (%s)...\n") | |
2003 % os.path.dirname(os.__file__)) | |
2000 | 2004 |
2001 # compiled modules | 2005 # compiled modules |
2002 ui.status(_("checking installed modules (%s)...\n") | 2006 ui.status(_("checking installed modules (%s)...\n") |
2003 % os.path.dirname(__file__)) | 2007 % os.path.dirname(__file__)) |
2004 try: | 2008 try: |