mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
5b16379fd5
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
23 lines
731 B
Perl
23 lines
731 B
Perl
hg debuginstall
|
|
$ hg debuginstall
|
|
checking encoding (ascii)...
|
|
checking Python lib (*lib*)... (glob)
|
|
checking installed modules (*mercurial)... (glob)
|
|
checking templates (*mercurial?templates)... (glob)
|
|
checking commit editor...
|
|
checking username...
|
|
no problems detected
|
|
|
|
hg debuginstall with no username
|
|
$ HGUSER= hg debuginstall
|
|
checking encoding (ascii)...
|
|
checking Python lib (*lib*)... (glob)
|
|
checking installed modules (*mercurial)... (glob)
|
|
checking templates (*mercurial?templates)... (glob)
|
|
checking commit editor...
|
|
checking username...
|
|
no username supplied (see "hg help config")
|
|
(specify a username in your configuration file)
|
|
1 problems detected, please check your install!
|
|
[1]
|