##// END OF EJS Templates
debuginstall: print compression engine support...
Gregory Szorc -
r30462:356406ac default
parent child Browse files
Show More
@@ -2579,6 +2579,16 b' def debuginstall(ui, **opts):'
2579 problems += 1
2579 problems += 1
2580 fm.condwrite(err, 'extensionserror', " %s\n", err)
2580 fm.condwrite(err, 'extensionserror', " %s\n", err)
2581
2581
2582 compengines = util.compengines._engines.values()
2583 fm.write('compengines', _('checking registered compression engines (%s)\n'),
2584 fm.formatlist(sorted(e.name() for e in compengines),
2585 name='compengine', fmt='%s', sep=', '))
2586 fm.write('compenginesavail', _('checking available compression engines '
2587 '(%s)\n'),
2588 fm.formatlist(sorted(e.name() for e in compengines
2589 if e.available()),
2590 name='compengine', fmt='%s', sep=', '))
2591
2582 # templates
2592 # templates
2583 p = templater.templatepaths()
2593 p = templater.templatepaths()
2584 fm.write('templatedirs', 'checking templates (%s)...\n', ' '.join(p))
2594 fm.write('templatedirs', 'checking templates (%s)...\n', ' '.join(p))
@@ -11,6 +11,8 b' hg debuginstall'
11 checking Mercurial custom build (*) (glob)
11 checking Mercurial custom build (*) (glob)
12 checking module policy (*) (glob)
12 checking module policy (*) (glob)
13 checking installed modules (*mercurial)... (glob)
13 checking installed modules (*mercurial)... (glob)
14 checking registered compression engines (*zlib*) (glob)
15 checking available compression engines (*zlib*) (glob)
14 checking templates (*mercurial?templates)... (glob)
16 checking templates (*mercurial?templates)... (glob)
15 checking default template (*mercurial?templates?map-cmdline.default) (glob)
17 checking default template (*mercurial?templates?map-cmdline.default) (glob)
16 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
18 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
@@ -21,6 +23,8 b' hg debuginstall JSON'
21 $ hg debuginstall -Tjson | sed 's|\\\\|\\|g'
23 $ hg debuginstall -Tjson | sed 's|\\\\|\\|g'
22 [
24 [
23 {
25 {
26 "compengines": ["bz2", "bz2truncated", "none", "zlib"*], (glob)
27 "compenginesavail": ["bz2", "bz2truncated", "none", "zlib"*], (glob)
24 "defaulttemplate": "*mercurial?templates?map-cmdline.default", (glob)
28 "defaulttemplate": "*mercurial?templates?map-cmdline.default", (glob)
25 "defaulttemplateerror": null,
29 "defaulttemplateerror": null,
26 "defaulttemplatenotfound": "default",
30 "defaulttemplatenotfound": "default",
@@ -58,6 +62,8 b' hg debuginstall with no username'
58 checking Mercurial custom build (*) (glob)
62 checking Mercurial custom build (*) (glob)
59 checking module policy (*) (glob)
63 checking module policy (*) (glob)
60 checking installed modules (*mercurial)... (glob)
64 checking installed modules (*mercurial)... (glob)
65 checking registered compression engines (*zlib*) (glob)
66 checking available compression engines (*zlib*) (glob)
61 checking templates (*mercurial?templates)... (glob)
67 checking templates (*mercurial?templates)... (glob)
62 checking default template (*mercurial?templates?map-cmdline.default) (glob)
68 checking default template (*mercurial?templates?map-cmdline.default) (glob)
63 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
69 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
@@ -85,6 +91,8 b' path variables are expanded (~ is the sa'
85 checking Mercurial custom build (*) (glob)
91 checking Mercurial custom build (*) (glob)
86 checking module policy (*) (glob)
92 checking module policy (*) (glob)
87 checking installed modules (*mercurial)... (glob)
93 checking installed modules (*mercurial)... (glob)
94 checking registered compression engines (*zlib*) (glob)
95 checking available compression engines (*zlib*) (glob)
88 checking templates (*mercurial?templates)... (glob)
96 checking templates (*mercurial?templates)... (glob)
89 checking default template (*mercurial?templates?map-cmdline.default) (glob)
97 checking default template (*mercurial?templates?map-cmdline.default) (glob)
90 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
98 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
General Comments 0
You need to be logged in to leave comments. Login now