2010-08-17 16:18:59 +04:00
|
|
|
hg debuginstall
|
|
|
|
$ hg debuginstall
|
2012-06-12 16:18:18 +04:00
|
|
|
checking encoding (ascii)...
|
2014-03-15 01:00:11 +04:00
|
|
|
checking Python executable (*) (glob)
|
|
|
|
checking Python version (2.*) (glob)
|
2012-08-06 14:59:47 +04:00
|
|
|
checking Python lib (*lib*)... (glob)
|
2016-10-20 01:07:11 +03:00
|
|
|
checking Python security support (*) (glob)
|
|
|
|
TLS 1.2 not supported by Python install; network connections lack modern security (?)
|
|
|
|
SNI not supported by Python install; may have connectivity issues with some servers (?)
|
2016-05-11 01:45:45 +03:00
|
|
|
checking Mercurial version (*) (glob)
|
|
|
|
checking Mercurial custom build (*) (glob)
|
2016-03-09 22:55:45 +03:00
|
|
|
checking module policy (*) (glob)
|
2012-06-12 16:18:18 +04:00
|
|
|
checking installed modules (*mercurial)... (glob)
|
2016-11-19 21:54:21 +03:00
|
|
|
checking registered compression engines (*zlib*) (glob)
|
|
|
|
checking available compression engines (*zlib*) (glob)
|
2016-12-25 01:21:46 +03:00
|
|
|
checking available compression engines for wire protocol (*zlib*) (glob)
|
2017-11-28 02:48:36 +03:00
|
|
|
checking "re2" regexp engine \((available|missing)\) (re)
|
2012-06-12 16:18:18 +04:00
|
|
|
checking templates (*mercurial?templates)... (glob)
|
2019-05-16 19:46:07 +03:00
|
|
|
checking default template (default)
|
2016-03-25 02:35:24 +03:00
|
|
|
checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
|
2016-03-09 21:58:51 +03:00
|
|
|
checking username (test)
|
2012-06-12 16:18:18 +04:00
|
|
|
no problems detected
|
2010-08-17 16:18:59 +04:00
|
|
|
|
2016-03-09 21:58:51 +03:00
|
|
|
hg debuginstall JSON
|
2016-03-16 04:45:32 +03:00
|
|
|
$ hg debuginstall -Tjson | sed 's|\\\\|\\|g'
|
2016-03-09 21:58:51 +03:00
|
|
|
[
|
|
|
|
{
|
2016-11-19 21:54:21 +03:00
|
|
|
"compengines": ["bz2", "bz2truncated", "none", "zlib"*], (glob)
|
|
|
|
"compenginesavail": ["bz2", "bz2truncated", "none", "zlib"*], (glob)
|
2016-12-25 01:21:46 +03:00
|
|
|
"compenginesserver": [*"zlib"*], (glob)
|
2019-05-16 19:46:07 +03:00
|
|
|
"defaulttemplate": "default",
|
2016-03-09 21:58:51 +03:00
|
|
|
"defaulttemplateerror": null,
|
|
|
|
"defaulttemplatenotfound": "default",
|
2016-03-25 02:35:24 +03:00
|
|
|
"editor": "* -c \"import sys; sys.exit(0)\"", (glob)
|
2016-03-09 21:58:51 +03:00
|
|
|
"editornotfound": false,
|
|
|
|
"encoding": "ascii",
|
|
|
|
"encodingerror": null,
|
2017-04-26 17:30:52 +03:00
|
|
|
"extensionserror": null, (no-pure !)
|
2016-03-09 22:55:45 +03:00
|
|
|
"hgmodulepolicy": "*", (glob)
|
2016-03-09 21:58:51 +03:00
|
|
|
"hgmodules": "*mercurial", (glob)
|
2016-05-11 01:45:45 +03:00
|
|
|
"hgver": "*", (glob)
|
|
|
|
"hgverextra": "*", (glob)
|
2016-03-09 21:58:51 +03:00
|
|
|
"problems": 0,
|
2016-03-16 01:50:57 +03:00
|
|
|
"pythonexe": "*", (glob)
|
2016-03-25 02:35:24 +03:00
|
|
|
"pythonlib": "*", (glob)
|
2016-10-20 01:07:11 +03:00
|
|
|
"pythonsecurity": [*], (glob)
|
2016-03-09 21:58:51 +03:00
|
|
|
"pythonver": "*.*.*", (glob)
|
2017-11-28 02:48:36 +03:00
|
|
|
"re2": (true|false), (re)
|
2016-03-09 21:58:51 +03:00
|
|
|
"templatedirs": "*mercurial?templates", (glob)
|
|
|
|
"username": "test",
|
|
|
|
"usernameerror": null,
|
|
|
|
"vinotfound": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
2010-08-17 16:18:59 +04:00
|
|
|
hg debuginstall with no username
|
|
|
|
$ HGUSER= hg debuginstall
|
2012-06-12 16:18:18 +04:00
|
|
|
checking encoding (ascii)...
|
2014-03-15 01:00:11 +04:00
|
|
|
checking Python executable (*) (glob)
|
|
|
|
checking Python version (2.*) (glob)
|
2012-08-06 14:59:47 +04:00
|
|
|
checking Python lib (*lib*)... (glob)
|
2016-10-20 01:07:11 +03:00
|
|
|
checking Python security support (*) (glob)
|
|
|
|
TLS 1.2 not supported by Python install; network connections lack modern security (?)
|
|
|
|
SNI not supported by Python install; may have connectivity issues with some servers (?)
|
2016-05-11 01:45:45 +03:00
|
|
|
checking Mercurial version (*) (glob)
|
|
|
|
checking Mercurial custom build (*) (glob)
|
2016-03-09 22:55:45 +03:00
|
|
|
checking module policy (*) (glob)
|
2012-06-12 16:18:18 +04:00
|
|
|
checking installed modules (*mercurial)... (glob)
|
2016-11-19 21:54:21 +03:00
|
|
|
checking registered compression engines (*zlib*) (glob)
|
|
|
|
checking available compression engines (*zlib*) (glob)
|
2016-12-25 01:21:46 +03:00
|
|
|
checking available compression engines for wire protocol (*zlib*) (glob)
|
2017-11-28 02:48:36 +03:00
|
|
|
checking "re2" regexp engine \((available|missing)\) (re)
|
2012-06-12 16:18:18 +04:00
|
|
|
checking templates (*mercurial?templates)... (glob)
|
2019-05-16 19:46:07 +03:00
|
|
|
checking default template (default)
|
2016-03-25 02:35:24 +03:00
|
|
|
checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
|
2012-06-12 16:18:18 +04:00
|
|
|
checking username...
|
2014-02-28 00:46:29 +04:00
|
|
|
no username supplied
|
2010-08-30 15:00:22 +04:00
|
|
|
(specify a username in your configuration file)
|
2010-08-17 16:18:59 +04:00
|
|
|
1 problems detected, please check your install!
|
2010-09-17 02:51:32 +04:00
|
|
|
[1]
|
2015-05-01 06:02:52 +03:00
|
|
|
|
2017-09-07 16:27:23 +03:00
|
|
|
hg debuginstall with invalid encoding
|
|
|
|
$ HGENCODING=invalidenc hg debuginstall | grep encoding
|
|
|
|
checking encoding (invalidenc)...
|
|
|
|
unknown encoding: invalidenc
|
|
|
|
|
2017-09-07 16:36:54 +03:00
|
|
|
exception message in JSON
|
|
|
|
|
|
|
|
$ HGENCODING=invalidenc HGUSER= hg debuginstall -Tjson | grep error
|
|
|
|
"defaulttemplateerror": null,
|
|
|
|
"encodingerror": "unknown encoding: invalidenc",
|
|
|
|
"extensionserror": null, (no-pure !)
|
|
|
|
"usernameerror": "no username supplied",
|
|
|
|
|
2015-05-01 06:02:52 +03:00
|
|
|
path variables are expanded (~ is the same as $TESTTMP)
|
|
|
|
$ mkdir tools
|
|
|
|
$ touch tools/testeditor.exe
|
|
|
|
#if execbit
|
|
|
|
$ chmod 755 tools/testeditor.exe
|
|
|
|
#endif
|
|
|
|
$ hg debuginstall --config ui.editor=~/tools/testeditor.exe
|
|
|
|
checking encoding (ascii)...
|
|
|
|
checking Python executable (*) (glob)
|
|
|
|
checking Python version (*) (glob)
|
|
|
|
checking Python lib (*lib*)... (glob)
|
2016-10-20 01:07:11 +03:00
|
|
|
checking Python security support (*) (glob)
|
|
|
|
TLS 1.2 not supported by Python install; network connections lack modern security (?)
|
|
|
|
SNI not supported by Python install; may have connectivity issues with some servers (?)
|
2016-05-11 01:45:45 +03:00
|
|
|
checking Mercurial version (*) (glob)
|
|
|
|
checking Mercurial custom build (*) (glob)
|
2016-03-09 22:55:45 +03:00
|
|
|
checking module policy (*) (glob)
|
2015-05-01 06:02:52 +03:00
|
|
|
checking installed modules (*mercurial)... (glob)
|
2016-11-19 21:54:21 +03:00
|
|
|
checking registered compression engines (*zlib*) (glob)
|
|
|
|
checking available compression engines (*zlib*) (glob)
|
2016-12-25 01:21:46 +03:00
|
|
|
checking available compression engines for wire protocol (*zlib*) (glob)
|
2017-11-28 02:48:36 +03:00
|
|
|
checking "re2" regexp engine \((available|missing)\) (re)
|
2015-05-01 06:02:52 +03:00
|
|
|
checking templates (*mercurial?templates)... (glob)
|
2019-05-16 19:46:07 +03:00
|
|
|
checking default template (default)
|
2016-03-25 02:35:24 +03:00
|
|
|
checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
|
2016-03-09 21:58:51 +03:00
|
|
|
checking username (test)
|
2015-05-01 06:02:52 +03:00
|
|
|
no problems detected
|
2015-09-14 05:54:51 +03:00
|
|
|
|