##// END OF EJS Templates
debuginstall: add a line about re2 availability...
Boris Feld -
r35464:8251c4c4 default
parent child Browse files
Show More
@@ -1173,6 +1173,11 b' def debuginstall(ui, **opts):'
1173 fm.formatlist([e.name() for e in wirecompengines
1173 fm.formatlist([e.name() for e in wirecompengines
1174 if e.wireprotosupport()],
1174 if e.wireprotosupport()],
1175 name='compengine', fmt='%s', sep=', '))
1175 name='compengine', fmt='%s', sep=', '))
1176 re2 = 'missing'
1177 if util._re2:
1178 re2 = 'available'
1179 fm.plain(_('checking "re2" regexp engine (%s)\n') % re2)
1180 fm.data(re2=bool(util._re2))
1176
1181
1177 # templates
1182 # templates
1178 p = templater.templatepaths()
1183 p = templater.templatepaths()
@@ -14,6 +14,7 b' hg debuginstall'
14 checking registered compression engines (*zlib*) (glob)
14 checking registered compression engines (*zlib*) (glob)
15 checking available compression engines (*zlib*) (glob)
15 checking available compression engines (*zlib*) (glob)
16 checking available compression engines for wire protocol (*zlib*) (glob)
16 checking available compression engines for wire protocol (*zlib*) (glob)
17 checking "re2" regexp engine \((available|missing)\) (re)
17 checking templates (*mercurial?templates)... (glob)
18 checking templates (*mercurial?templates)... (glob)
18 checking default template (*mercurial?templates?map-cmdline.default) (glob)
19 checking default template (*mercurial?templates?map-cmdline.default) (glob)
19 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
20 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
@@ -44,6 +45,7 b' hg debuginstall JSON'
44 "pythonlib": "*", (glob)
45 "pythonlib": "*", (glob)
45 "pythonsecurity": [*], (glob)
46 "pythonsecurity": [*], (glob)
46 "pythonver": "*.*.*", (glob)
47 "pythonver": "*.*.*", (glob)
48 "re2": (true|false), (re)
47 "templatedirs": "*mercurial?templates", (glob)
49 "templatedirs": "*mercurial?templates", (glob)
48 "username": "test",
50 "username": "test",
49 "usernameerror": null,
51 "usernameerror": null,
@@ -67,6 +69,7 b' hg debuginstall with no username'
67 checking registered compression engines (*zlib*) (glob)
69 checking registered compression engines (*zlib*) (glob)
68 checking available compression engines (*zlib*) (glob)
70 checking available compression engines (*zlib*) (glob)
69 checking available compression engines for wire protocol (*zlib*) (glob)
71 checking available compression engines for wire protocol (*zlib*) (glob)
72 checking "re2" regexp engine \((available|missing)\) (re)
70 checking templates (*mercurial?templates)... (glob)
73 checking templates (*mercurial?templates)... (glob)
71 checking default template (*mercurial?templates?map-cmdline.default) (glob)
74 checking default template (*mercurial?templates?map-cmdline.default) (glob)
72 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
75 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
@@ -110,6 +113,7 b' path variables are expanded (~ is the sa'
110 checking registered compression engines (*zlib*) (glob)
113 checking registered compression engines (*zlib*) (glob)
111 checking available compression engines (*zlib*) (glob)
114 checking available compression engines (*zlib*) (glob)
112 checking available compression engines for wire protocol (*zlib*) (glob)
115 checking available compression engines for wire protocol (*zlib*) (glob)
116 checking "re2" regexp engine \((available|missing)\) (re)
113 checking templates (*mercurial?templates)... (glob)
117 checking templates (*mercurial?templates)... (glob)
114 checking default template (*mercurial?templates?map-cmdline.default) (glob)
118 checking default template (*mercurial?templates?map-cmdline.default) (glob)
115 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
119 checking commit editor... (* -c "import sys; sys.exit(0)") (glob)
@@ -217,6 +221,7 b" since it's bin on most platforms but Scr"
217 checking registered compression engines (*) (glob)
221 checking registered compression engines (*) (glob)
218 checking available compression engines (*) (glob)
222 checking available compression engines (*) (glob)
219 checking available compression engines for wire protocol (*) (glob)
223 checking available compression engines for wire protocol (*) (glob)
224 checking "re2" regexp engine \((available|missing)\) (re)
220 checking templates ($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob)
225 checking templates ($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob)
221 checking default template ($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) (glob)
226 checking default template ($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) (glob)
222 checking commit editor... (*) (glob)
227 checking commit editor... (*) (glob)
General Comments 0
You need to be logged in to leave comments. Login now