##// END OF EJS Templates
py3: fix test-newcgi.t...
Augie Fackler -
r41382:9448b2e4 default
parent child Browse files
Show More
@@ -1,724 +1,725 b''
1 test-abort-checkin.t
1 test-abort-checkin.t
2 test-absorb-edit-lines.t
2 test-absorb-edit-lines.t
3 test-absorb-filefixupstate.py
3 test-absorb-filefixupstate.py
4 test-absorb-phase.t
4 test-absorb-phase.t
5 test-absorb-rename.t
5 test-absorb-rename.t
6 test-absorb-strip.t
6 test-absorb-strip.t
7 test-absorb.t
7 test-absorb.t
8 test-add.t
8 test-add.t
9 test-addremove-similar.t
9 test-addremove-similar.t
10 test-addremove.t
10 test-addremove.t
11 test-alias.t
11 test-alias.t
12 test-amend-subrepo.t
12 test-amend-subrepo.t
13 test-amend.t
13 test-amend.t
14 test-ancestor.py
14 test-ancestor.py
15 test-annotate.py
15 test-annotate.py
16 test-annotate.t
16 test-annotate.t
17 test-arbitraryfilectx.t
17 test-arbitraryfilectx.t
18 test-archive-symlinks.t
18 test-archive-symlinks.t
19 test-archive.t
19 test-archive.t
20 test-atomictempfile.py
20 test-atomictempfile.py
21 test-audit-path.t
21 test-audit-path.t
22 test-audit-subrepo.t
22 test-audit-subrepo.t
23 test-automv.t
23 test-automv.t
24 test-backout.t
24 test-backout.t
25 test-backwards-remove.t
25 test-backwards-remove.t
26 test-bad-extension.t
26 test-bad-extension.t
27 test-bad-pull.t
27 test-bad-pull.t
28 test-basic.t
28 test-basic.t
29 test-batching.py
29 test-batching.py
30 test-bdiff.py
30 test-bdiff.py
31 test-bheads.t
31 test-bheads.t
32 test-bisect.t
32 test-bisect.t
33 test-bisect2.t
33 test-bisect2.t
34 test-bisect3.t
34 test-bisect3.t
35 test-blackbox.t
35 test-blackbox.t
36 test-bookflow.t
36 test-bookflow.t
37 test-bookmarks-current.t
37 test-bookmarks-current.t
38 test-bookmarks-merge.t
38 test-bookmarks-merge.t
39 test-bookmarks-pushpull.t
39 test-bookmarks-pushpull.t
40 test-bookmarks-rebase.t
40 test-bookmarks-rebase.t
41 test-bookmarks-strip.t
41 test-bookmarks-strip.t
42 test-bookmarks.t
42 test-bookmarks.t
43 test-branch-change.t
43 test-branch-change.t
44 test-branch-option.t
44 test-branch-option.t
45 test-branch-tag-confict.t
45 test-branch-tag-confict.t
46 test-branches.t
46 test-branches.t
47 test-bugzilla.t
47 test-bugzilla.t
48 test-bundle-phases.t
48 test-bundle-phases.t
49 test-bundle-r.t
49 test-bundle-r.t
50 test-bundle-type.t
50 test-bundle-type.t
51 test-bundle-vs-outgoing.t
51 test-bundle-vs-outgoing.t
52 test-bundle.t
52 test-bundle.t
53 test-bundle2-exchange.t
53 test-bundle2-exchange.t
54 test-bundle2-format.t
54 test-bundle2-format.t
55 test-bundle2-multiple-changegroups.t
55 test-bundle2-multiple-changegroups.t
56 test-bundle2-pushback.t
56 test-bundle2-pushback.t
57 test-bundle2-remote-changegroup.t
57 test-bundle2-remote-changegroup.t
58 test-cache-abuse.t
58 test-cache-abuse.t
59 test-cappedreader.py
59 test-cappedreader.py
60 test-casecollision-merge.t
60 test-casecollision-merge.t
61 test-casecollision.t
61 test-casecollision.t
62 test-casefolding.t
62 test-casefolding.t
63 test-cat.t
63 test-cat.t
64 test-cbor.py
64 test-cbor.py
65 test-censor.t
65 test-censor.t
66 test-changelog-exec.t
66 test-changelog-exec.t
67 test-check-code.t
67 test-check-code.t
68 test-check-commit.t
68 test-check-commit.t
69 test-check-config.py
69 test-check-config.py
70 test-check-config.t
70 test-check-config.t
71 test-check-execute.t
71 test-check-execute.t
72 test-check-help.t
72 test-check-help.t
73 test-check-interfaces.py
73 test-check-interfaces.py
74 test-check-module-imports.t
74 test-check-module-imports.t
75 test-check-py3-compat.t
75 test-check-py3-compat.t
76 test-check-pyflakes.t
76 test-check-pyflakes.t
77 test-check-pylint.t
77 test-check-pylint.t
78 test-check-shbang.t
78 test-check-shbang.t
79 test-children.t
79 test-children.t
80 test-churn.t
80 test-churn.t
81 test-clone-cgi.t
81 test-clone-cgi.t
82 test-clone-pull-corruption.t
82 test-clone-pull-corruption.t
83 test-clone-r.t
83 test-clone-r.t
84 test-clone-uncompressed.t
84 test-clone-uncompressed.t
85 test-clone-update-order.t
85 test-clone-update-order.t
86 test-clone.t
86 test-clone.t
87 test-clonebundles.t
87 test-clonebundles.t
88 test-close-head.t
88 test-close-head.t
89 test-commandserver.t
89 test-commandserver.t
90 test-commit-amend.t
90 test-commit-amend.t
91 test-commit-interactive.t
91 test-commit-interactive.t
92 test-commit-multiple.t
92 test-commit-multiple.t
93 test-commit-unresolved.t
93 test-commit-unresolved.t
94 test-commit.t
94 test-commit.t
95 test-committer.t
95 test-committer.t
96 test-completion.t
96 test-completion.t
97 test-config-env.py
97 test-config-env.py
98 test-config.t
98 test-config.t
99 test-conflict.t
99 test-conflict.t
100 test-confused-revert.t
100 test-confused-revert.t
101 test-context-metadata.t
101 test-context-metadata.t
102 test-context.py
102 test-context.py
103 test-contrib-check-code.t
103 test-contrib-check-code.t
104 test-contrib-check-commit.t
104 test-contrib-check-commit.t
105 test-contrib-dumprevlog.t
105 test-contrib-dumprevlog.t
106 test-contrib-perf.t
106 test-contrib-perf.t
107 test-contrib-relnotes.t
107 test-contrib-relnotes.t
108 test-contrib-testparseutil.t
108 test-contrib-testparseutil.t
109 test-contrib.t
109 test-contrib.t
110 test-convert-authormap.t
110 test-convert-authormap.t
111 test-convert-clonebranches.t
111 test-convert-clonebranches.t
112 test-convert-cvs-branch.t
112 test-convert-cvs-branch.t
113 test-convert-cvs-detectmerge.t
113 test-convert-cvs-detectmerge.t
114 test-convert-cvs-synthetic.t
114 test-convert-cvs-synthetic.t
115 test-convert-cvs.t
115 test-convert-cvs.t
116 test-convert-cvsnt-mergepoints.t
116 test-convert-cvsnt-mergepoints.t
117 test-convert-datesort.t
117 test-convert-datesort.t
118 test-convert-filemap.t
118 test-convert-filemap.t
119 test-convert-hg-sink.t
119 test-convert-hg-sink.t
120 test-convert-hg-source.t
120 test-convert-hg-source.t
121 test-convert-hg-startrev.t
121 test-convert-hg-startrev.t
122 test-convert-splicemap.t
122 test-convert-splicemap.t
123 test-convert-svn-sink.t
123 test-convert-svn-sink.t
124 test-convert-tagsbranch-topology.t
124 test-convert-tagsbranch-topology.t
125 test-copy-move-merge.t
125 test-copy-move-merge.t
126 test-copy.t
126 test-copy.t
127 test-copytrace-heuristics.t
127 test-copytrace-heuristics.t
128 test-custom-filters.t
128 test-custom-filters.t
129 test-debugbuilddag.t
129 test-debugbuilddag.t
130 test-debugbundle.t
130 test-debugbundle.t
131 test-debugcommands.t
131 test-debugcommands.t
132 test-debugextensions.t
132 test-debugextensions.t
133 test-debugindexdot.t
133 test-debugindexdot.t
134 test-debugrename.t
134 test-debugrename.t
135 test-default-push.t
135 test-default-push.t
136 test-diff-antipatience.t
136 test-diff-antipatience.t
137 test-diff-binary-file.t
137 test-diff-binary-file.t
138 test-diff-change.t
138 test-diff-change.t
139 test-diff-color.t
139 test-diff-color.t
140 test-diff-copy-depth.t
140 test-diff-copy-depth.t
141 test-diff-hashes.t
141 test-diff-hashes.t
142 test-diff-ignore-whitespace.t
142 test-diff-ignore-whitespace.t
143 test-diff-indent-heuristic.t
143 test-diff-indent-heuristic.t
144 test-diff-issue2761.t
144 test-diff-issue2761.t
145 test-diff-newlines.t
145 test-diff-newlines.t
146 test-diff-reverse.t
146 test-diff-reverse.t
147 test-diff-subdir.t
147 test-diff-subdir.t
148 test-diff-unified.t
148 test-diff-unified.t
149 test-diff-upgrade.t
149 test-diff-upgrade.t
150 test-diffdir.t
150 test-diffdir.t
151 test-diffstat.t
151 test-diffstat.t
152 test-directaccess.t
152 test-directaccess.t
153 test-dirstate-backup.t
153 test-dirstate-backup.t
154 test-dirstate-nonnormalset.t
154 test-dirstate-nonnormalset.t
155 test-dirstate-race.t
155 test-dirstate-race.t
156 test-dirstate.t
156 test-dirstate.t
157 test-dispatch.py
157 test-dispatch.py
158 test-doctest.py
158 test-doctest.py
159 test-double-merge.t
159 test-double-merge.t
160 test-drawdag.t
160 test-drawdag.t
161 test-duplicateoptions.py
161 test-duplicateoptions.py
162 test-editor-filename.t
162 test-editor-filename.t
163 test-empty-dir.t
163 test-empty-dir.t
164 test-empty-file.t
164 test-empty-file.t
165 test-empty-group.t
165 test-empty-group.t
166 test-empty.t
166 test-empty.t
167 test-encode.t
167 test-encode.t
168 test-encoding-align.t
168 test-encoding-align.t
169 test-encoding-func.py
169 test-encoding-func.py
170 test-encoding-textwrap.t
170 test-encoding-textwrap.t
171 test-encoding.t
171 test-encoding.t
172 test-eol-add.t
172 test-eol-add.t
173 test-eol-clone.t
173 test-eol-clone.t
174 test-eol-hook.t
174 test-eol-hook.t
175 test-eol-patch.t
175 test-eol-patch.t
176 test-eol-tag.t
176 test-eol-tag.t
177 test-eol-update.t
177 test-eol-update.t
178 test-eol.t
178 test-eol.t
179 test-eolfilename.t
179 test-eolfilename.t
180 test-excessive-merge.t
180 test-excessive-merge.t
181 test-exchange-obsmarkers-case-A1.t
181 test-exchange-obsmarkers-case-A1.t
182 test-exchange-obsmarkers-case-A2.t
182 test-exchange-obsmarkers-case-A2.t
183 test-exchange-obsmarkers-case-A3.t
183 test-exchange-obsmarkers-case-A3.t
184 test-exchange-obsmarkers-case-A4.t
184 test-exchange-obsmarkers-case-A4.t
185 test-exchange-obsmarkers-case-A5.t
185 test-exchange-obsmarkers-case-A5.t
186 test-exchange-obsmarkers-case-A6.t
186 test-exchange-obsmarkers-case-A6.t
187 test-exchange-obsmarkers-case-A7.t
187 test-exchange-obsmarkers-case-A7.t
188 test-exchange-obsmarkers-case-B1.t
188 test-exchange-obsmarkers-case-B1.t
189 test-exchange-obsmarkers-case-B2.t
189 test-exchange-obsmarkers-case-B2.t
190 test-exchange-obsmarkers-case-B3.t
190 test-exchange-obsmarkers-case-B3.t
191 test-exchange-obsmarkers-case-B4.t
191 test-exchange-obsmarkers-case-B4.t
192 test-exchange-obsmarkers-case-B5.t
192 test-exchange-obsmarkers-case-B5.t
193 test-exchange-obsmarkers-case-B6.t
193 test-exchange-obsmarkers-case-B6.t
194 test-exchange-obsmarkers-case-B7.t
194 test-exchange-obsmarkers-case-B7.t
195 test-exchange-obsmarkers-case-C1.t
195 test-exchange-obsmarkers-case-C1.t
196 test-exchange-obsmarkers-case-C2.t
196 test-exchange-obsmarkers-case-C2.t
197 test-exchange-obsmarkers-case-C3.t
197 test-exchange-obsmarkers-case-C3.t
198 test-exchange-obsmarkers-case-C4.t
198 test-exchange-obsmarkers-case-C4.t
199 test-exchange-obsmarkers-case-D1.t
199 test-exchange-obsmarkers-case-D1.t
200 test-exchange-obsmarkers-case-D2.t
200 test-exchange-obsmarkers-case-D2.t
201 test-exchange-obsmarkers-case-D3.t
201 test-exchange-obsmarkers-case-D3.t
202 test-exchange-obsmarkers-case-D4.t
202 test-exchange-obsmarkers-case-D4.t
203 test-execute-bit.t
203 test-execute-bit.t
204 test-export.t
204 test-export.t
205 test-extdata.t
205 test-extdata.t
206 test-extdiff.t
206 test-extdiff.t
207 test-extension-timing.t
207 test-extension-timing.t
208 test-extensions-afterloaded.t
208 test-extensions-afterloaded.t
209 test-extensions-wrapfunction.py
209 test-extensions-wrapfunction.py
210 test-extra-filelog-entry.t
210 test-extra-filelog-entry.t
211 test-fastannotate-corrupt.t
211 test-fastannotate-corrupt.t
212 test-fastannotate-diffopts.t
212 test-fastannotate-diffopts.t
213 test-fastannotate-hg.t
213 test-fastannotate-hg.t
214 test-fastannotate-perfhack.t
214 test-fastannotate-perfhack.t
215 test-fastannotate-protocol.t
215 test-fastannotate-protocol.t
216 test-fastannotate-renames.t
216 test-fastannotate-renames.t
217 test-fastannotate-revmap.py
217 test-fastannotate-revmap.py
218 test-fastannotate.t
218 test-fastannotate.t
219 test-fetch.t
219 test-fetch.t
220 test-filebranch.t
220 test-filebranch.t
221 test-filecache.py
221 test-filecache.py
222 test-filelog.py
222 test-filelog.py
223 test-fileset-generated.t
223 test-fileset-generated.t
224 test-fileset.t
224 test-fileset.t
225 test-fix-topology.t
225 test-fix-topology.t
226 test-fix.t
226 test-fix.t
227 test-flags.t
227 test-flags.t
228 test-fncache.t
228 test-fncache.t
229 test-gendoc-da.t
229 test-gendoc-da.t
230 test-gendoc-de.t
230 test-gendoc-de.t
231 test-gendoc-el.t
231 test-gendoc-el.t
232 test-gendoc-fr.t
232 test-gendoc-fr.t
233 test-gendoc-it.t
233 test-gendoc-it.t
234 test-gendoc-ja.t
234 test-gendoc-ja.t
235 test-gendoc-pt_BR.t
235 test-gendoc-pt_BR.t
236 test-gendoc-ro.t
236 test-gendoc-ro.t
237 test-gendoc-ru.t
237 test-gendoc-ru.t
238 test-gendoc-sv.t
238 test-gendoc-sv.t
239 test-gendoc-zh_CN.t
239 test-gendoc-zh_CN.t
240 test-gendoc-zh_TW.t
240 test-gendoc-zh_TW.t
241 test-gendoc.t
241 test-gendoc.t
242 test-generaldelta.t
242 test-generaldelta.t
243 test-getbundle.t
243 test-getbundle.t
244 test-git-export.t
244 test-git-export.t
245 test-globalopts.t
245 test-globalopts.t
246 test-glog-beautifygraph.t
246 test-glog-beautifygraph.t
247 test-glog-topological.t
247 test-glog-topological.t
248 test-glog.t
248 test-glog.t
249 test-gpg.t
249 test-gpg.t
250 test-graft.t
250 test-graft.t
251 test-grep.t
251 test-grep.t
252 test-hardlinks.t
252 test-hardlinks.t
253 test-help-hide.t
253 test-help-hide.t
254 test-help.t
254 test-help.t
255 test-hg-parseurl.py
255 test-hg-parseurl.py
256 test-hghave.t
256 test-hghave.t
257 test-hgignore.t
257 test-hgignore.t
258 test-hgk.t
258 test-hgk.t
259 test-hgrc.t
259 test-hgrc.t
260 test-hgweb-annotate-whitespace.t
260 test-hgweb-annotate-whitespace.t
261 test-hgweb-bundle.t
261 test-hgweb-bundle.t
262 test-hgweb-commands.t
262 test-hgweb-commands.t
263 test-hgweb-csp.t
263 test-hgweb-csp.t
264 test-hgweb-descend-empties.t
264 test-hgweb-descend-empties.t
265 test-hgweb-diffs.t
265 test-hgweb-diffs.t
266 test-hgweb-empty.t
266 test-hgweb-empty.t
267 test-hgweb-filelog.t
267 test-hgweb-filelog.t
268 test-hgweb-no-path-info.t
268 test-hgweb-no-path-info.t
269 test-hgweb-no-request-uri.t
269 test-hgweb-no-request-uri.t
270 test-hgweb-non-interactive.t
270 test-hgweb-non-interactive.t
271 test-hgweb-raw.t
271 test-hgweb-raw.t
272 test-hgweb-removed.t
272 test-hgweb-removed.t
273 test-hgweb-symrev.t
273 test-hgweb-symrev.t
274 test-hgweb.t
274 test-hgweb.t
275 test-hgwebdir-paths.py
275 test-hgwebdir-paths.py
276 test-hgwebdir.t
276 test-hgwebdir.t
277 test-hgwebdirsym.t
277 test-hgwebdirsym.t
278 test-histedit-arguments.t
278 test-histedit-arguments.t
279 test-histedit-base.t
279 test-histedit-base.t
280 test-histedit-bookmark-motion.t
280 test-histedit-bookmark-motion.t
281 test-histedit-commute.t
281 test-histedit-commute.t
282 test-histedit-drop.t
282 test-histedit-drop.t
283 test-histedit-edit.t
283 test-histedit-edit.t
284 test-histedit-fold-non-commute.t
284 test-histedit-fold-non-commute.t
285 test-histedit-fold.t
285 test-histedit-fold.t
286 test-histedit-no-backup.t
286 test-histedit-no-backup.t
287 test-histedit-no-change.t
287 test-histedit-no-change.t
288 test-histedit-non-commute-abort.t
288 test-histedit-non-commute-abort.t
289 test-histedit-non-commute.t
289 test-histedit-non-commute.t
290 test-histedit-obsolete.t
290 test-histedit-obsolete.t
291 test-histedit-outgoing.t
291 test-histedit-outgoing.t
292 test-histedit-templates.t
292 test-histedit-templates.t
293 test-http-api.t
293 test-http-api.t
294 test-http-branchmap.t
294 test-http-branchmap.t
295 test-http-bundle1.t
295 test-http-bundle1.t
296 test-http-clone-r.t
296 test-http-clone-r.t
297 test-http-permissions.t
297 test-http-permissions.t
298 test-http.t
298 test-http.t
299 test-hybridencode.py
299 test-hybridencode.py
300 test-i18n.t
300 test-i18n.t
301 test-identify.t
301 test-identify.t
302 test-impexp-branch.t
302 test-impexp-branch.t
303 test-import-bypass.t
303 test-import-bypass.t
304 test-import-context.t
304 test-import-context.t
305 test-import-eol.t
305 test-import-eol.t
306 test-import-merge.t
306 test-import-merge.t
307 test-import-unknown.t
307 test-import-unknown.t
308 test-import.t
308 test-import.t
309 test-imports-checker.t
309 test-imports-checker.t
310 test-incoming-outgoing.t
310 test-incoming-outgoing.t
311 test-infinitepush-bundlestore.t
311 test-infinitepush-bundlestore.t
312 test-infinitepush-ci.t
312 test-infinitepush-ci.t
313 test-infinitepush.t
313 test-infinitepush.t
314 test-inherit-mode.t
314 test-inherit-mode.t
315 test-init.t
315 test-init.t
316 test-install.t
316 test-install.t
317 test-issue1089.t
317 test-issue1089.t
318 test-issue1102.t
318 test-issue1102.t
319 test-issue1175.t
319 test-issue1175.t
320 test-issue1306.t
320 test-issue1306.t
321 test-issue1438.t
321 test-issue1438.t
322 test-issue1502.t
322 test-issue1502.t
323 test-issue1802.t
323 test-issue1802.t
324 test-issue1877.t
324 test-issue1877.t
325 test-issue1993.t
325 test-issue1993.t
326 test-issue2137.t
326 test-issue2137.t
327 test-issue3084.t
327 test-issue3084.t
328 test-issue4074.t
328 test-issue4074.t
329 test-issue522.t
329 test-issue522.t
330 test-issue586.t
330 test-issue586.t
331 test-issue5979.t
331 test-issue5979.t
332 test-issue612.t
332 test-issue612.t
333 test-issue619.t
333 test-issue619.t
334 test-issue660.t
334 test-issue660.t
335 test-issue672.t
335 test-issue672.t
336 test-issue842.t
336 test-issue842.t
337 test-journal-exists.t
337 test-journal-exists.t
338 test-journal-share.t
338 test-journal-share.t
339 test-journal.t
339 test-journal.t
340 test-keyword.t
340 test-keyword.t
341 test-known.t
341 test-known.t
342 test-largefiles-cache.t
342 test-largefiles-cache.t
343 test-largefiles-misc.t
343 test-largefiles-misc.t
344 test-largefiles-small-disk.t
344 test-largefiles-small-disk.t
345 test-largefiles-update.t
345 test-largefiles-update.t
346 test-largefiles-wireproto.t
346 test-largefiles-wireproto.t
347 test-largefiles.t
347 test-largefiles.t
348 test-lfconvert.t
348 test-lfconvert.t
349 test-lfs-bundle.t
349 test-lfs-bundle.t
350 test-lfs-largefiles.t
350 test-lfs-largefiles.t
351 test-lfs-pointer.py
351 test-lfs-pointer.py
352 test-lfs.t
352 test-lfs.t
353 test-linelog.py
353 test-linelog.py
354 test-linerange.py
354 test-linerange.py
355 test-locate.t
355 test-locate.t
356 test-lock-badness.t
356 test-lock-badness.t
357 test-log-exthook.t
357 test-log-exthook.t
358 test-log-linerange.t
358 test-log-linerange.t
359 test-log.t
359 test-log.t
360 test-logexchange.t
360 test-logexchange.t
361 test-logtoprocess.t
361 test-logtoprocess.t
362 test-lrucachedict.py
362 test-lrucachedict.py
363 test-mactext.t
363 test-mactext.t
364 test-mailmap.t
364 test-mailmap.t
365 test-manifest-merging.t
365 test-manifest-merging.t
366 test-manifest.py
366 test-manifest.py
367 test-manifest.t
367 test-manifest.t
368 test-match.py
368 test-match.py
369 test-mdiff.py
369 test-mdiff.py
370 test-merge-changedelete.t
370 test-merge-changedelete.t
371 test-merge-closedheads.t
371 test-merge-closedheads.t
372 test-merge-commit.t
372 test-merge-commit.t
373 test-merge-criss-cross.t
373 test-merge-criss-cross.t
374 test-merge-default.t
374 test-merge-default.t
375 test-merge-force.t
375 test-merge-force.t
376 test-merge-halt.t
376 test-merge-halt.t
377 test-merge-internal-tools-pattern.t
377 test-merge-internal-tools-pattern.t
378 test-merge-local.t
378 test-merge-local.t
379 test-merge-no-file-change.t
379 test-merge-no-file-change.t
380 test-merge-remove.t
380 test-merge-remove.t
381 test-merge-revert.t
381 test-merge-revert.t
382 test-merge-revert2.t
382 test-merge-revert2.t
383 test-merge-subrepos.t
383 test-merge-subrepos.t
384 test-merge-symlinks.t
384 test-merge-symlinks.t
385 test-merge-tools.t
385 test-merge-tools.t
386 test-merge-types.t
386 test-merge-types.t
387 test-merge1.t
387 test-merge1.t
388 test-merge10.t
388 test-merge10.t
389 test-merge2.t
389 test-merge2.t
390 test-merge4.t
390 test-merge4.t
391 test-merge5.t
391 test-merge5.t
392 test-merge6.t
392 test-merge6.t
393 test-merge7.t
393 test-merge7.t
394 test-merge8.t
394 test-merge8.t
395 test-merge9.t
395 test-merge9.t
396 test-minifileset.py
396 test-minifileset.py
397 test-minirst.py
397 test-minirst.py
398 test-missing-capability.t
398 test-missing-capability.t
399 test-mq-git.t
399 test-mq-git.t
400 test-mq-guards.t
400 test-mq-guards.t
401 test-mq-header-date.t
401 test-mq-header-date.t
402 test-mq-header-from.t
402 test-mq-header-from.t
403 test-mq-merge.t
403 test-mq-merge.t
404 test-mq-missingfiles.t
404 test-mq-missingfiles.t
405 test-mq-pull-from-bundle.t
405 test-mq-pull-from-bundle.t
406 test-mq-qclone-http.t
406 test-mq-qclone-http.t
407 test-mq-qdelete.t
407 test-mq-qdelete.t
408 test-mq-qdiff.t
408 test-mq-qdiff.t
409 test-mq-qfold.t
409 test-mq-qfold.t
410 test-mq-qgoto.t
410 test-mq-qgoto.t
411 test-mq-qimport-fail-cleanup.t
411 test-mq-qimport-fail-cleanup.t
412 test-mq-qimport.t
412 test-mq-qimport.t
413 test-mq-qnew.t
413 test-mq-qnew.t
414 test-mq-qpush-exact.t
414 test-mq-qpush-exact.t
415 test-mq-qpush-fail.t
415 test-mq-qpush-fail.t
416 test-mq-qqueue.t
416 test-mq-qqueue.t
417 test-mq-qrefresh-interactive.t
417 test-mq-qrefresh-interactive.t
418 test-mq-qrefresh-replace-log-message.t
418 test-mq-qrefresh-replace-log-message.t
419 test-mq-qrefresh.t
419 test-mq-qrefresh.t
420 test-mq-qrename.t
420 test-mq-qrename.t
421 test-mq-qsave.t
421 test-mq-qsave.t
422 test-mq-safety.t
422 test-mq-safety.t
423 test-mq-subrepo.t
423 test-mq-subrepo.t
424 test-mq-symlinks.t
424 test-mq-symlinks.t
425 test-mq.t
425 test-mq.t
426 test-mv-cp-st-diff.t
426 test-mv-cp-st-diff.t
427 test-narrow-acl.t
427 test-narrow-acl.t
428 test-narrow-archive.t
428 test-narrow-archive.t
429 test-narrow-clone-no-ellipsis.t
429 test-narrow-clone-no-ellipsis.t
430 test-narrow-clone-non-narrow-server.t
430 test-narrow-clone-non-narrow-server.t
431 test-narrow-clone-nonlinear.t
431 test-narrow-clone-nonlinear.t
432 test-narrow-clone-stream.t
432 test-narrow-clone-stream.t
433 test-narrow-clone.t
433 test-narrow-clone.t
434 test-narrow-commit.t
434 test-narrow-commit.t
435 test-narrow-copies.t
435 test-narrow-copies.t
436 test-narrow-debugcommands.t
436 test-narrow-debugcommands.t
437 test-narrow-debugrebuilddirstate.t
437 test-narrow-debugrebuilddirstate.t
438 test-narrow-exchange-merges.t
438 test-narrow-exchange-merges.t
439 test-narrow-exchange.t
439 test-narrow-exchange.t
440 test-narrow-expanddirstate.t
440 test-narrow-expanddirstate.t
441 test-narrow-merge.t
441 test-narrow-merge.t
442 test-narrow-patch.t
442 test-narrow-patch.t
443 test-narrow-patterns.t
443 test-narrow-patterns.t
444 test-narrow-pull.t
444 test-narrow-pull.t
445 test-narrow-rebase.t
445 test-narrow-rebase.t
446 test-narrow-shallow-merges.t
446 test-narrow-shallow-merges.t
447 test-narrow-shallow.t
447 test-narrow-shallow.t
448 test-narrow-share.t
448 test-narrow-share.t
449 test-narrow-sparse.t
449 test-narrow-sparse.t
450 test-narrow-strip.t
450 test-narrow-strip.t
451 test-narrow-trackedcmd.t
451 test-narrow-trackedcmd.t
452 test-narrow-update.t
452 test-narrow-update.t
453 test-narrow-widen-no-ellipsis.t
453 test-narrow-widen-no-ellipsis.t
454 test-narrow-widen.t
454 test-narrow-widen.t
455 test-narrow.t
455 test-narrow.t
456 test-nested-repo.t
456 test-nested-repo.t
457 test-newbranch.t
457 test-newbranch.t
458 test-newcgi.t
458 test-newercgi.t
459 test-newercgi.t
459 test-nointerrupt.t
460 test-nointerrupt.t
460 test-obshistory.t
461 test-obshistory.t
461 test-obsmarker-template.t
462 test-obsmarker-template.t
462 test-obsmarkers-effectflag.t
463 test-obsmarkers-effectflag.t
463 test-obsolete-bounds-checking.t
464 test-obsolete-bounds-checking.t
464 test-obsolete-bundle-strip.t
465 test-obsolete-bundle-strip.t
465 test-obsolete-changeset-exchange.t
466 test-obsolete-changeset-exchange.t
466 test-obsolete-checkheads.t
467 test-obsolete-checkheads.t
467 test-obsolete-distributed.t
468 test-obsolete-distributed.t
468 test-obsolete-divergent.t
469 test-obsolete-divergent.t
469 test-obsolete-tag-cache.t
470 test-obsolete-tag-cache.t
470 test-obsolete.t
471 test-obsolete.t
471 test-origbackup-conflict.t
472 test-origbackup-conflict.t
472 test-pager-legacy.t
473 test-pager-legacy.t
473 test-pager.t
474 test-pager.t
474 test-parents.t
475 test-parents.t
475 test-parse-date.t
476 test-parse-date.t
476 test-parseindex2.py
477 test-parseindex2.py
477 test-patch-offset.t
478 test-patch-offset.t
478 test-patch.t
479 test-patch.t
479 test-patchbomb-bookmark.t
480 test-patchbomb-bookmark.t
480 test-patchbomb-tls.t
481 test-patchbomb-tls.t
481 test-patchbomb.t
482 test-patchbomb.t
482 test-pathconflicts-basic.t
483 test-pathconflicts-basic.t
483 test-pathconflicts-merge.t
484 test-pathconflicts-merge.t
484 test-pathconflicts-update.t
485 test-pathconflicts-update.t
485 test-pathencode.py
486 test-pathencode.py
486 test-pending.t
487 test-pending.t
487 test-permissions.t
488 test-permissions.t
488 test-phases-exchange.t
489 test-phases-exchange.t
489 test-phases.t
490 test-phases.t
490 test-profile.t
491 test-profile.t
491 test-progress.t
492 test-progress.t
492 test-propertycache.py
493 test-propertycache.py
493 test-pull-branch.t
494 test-pull-branch.t
494 test-pull-http.t
495 test-pull-http.t
495 test-pull-permission.t
496 test-pull-permission.t
496 test-pull-pull-corruption.t
497 test-pull-pull-corruption.t
497 test-pull-r.t
498 test-pull-r.t
498 test-pull-update.t
499 test-pull-update.t
499 test-pull.t
500 test-pull.t
500 test-purge.t
501 test-purge.t
501 test-push-cgi.t
502 test-push-cgi.t
502 test-push-checkheads-partial-C1.t
503 test-push-checkheads-partial-C1.t
503 test-push-checkheads-partial-C2.t
504 test-push-checkheads-partial-C2.t
504 test-push-checkheads-partial-C3.t
505 test-push-checkheads-partial-C3.t
505 test-push-checkheads-partial-C4.t
506 test-push-checkheads-partial-C4.t
506 test-push-checkheads-pruned-B1.t
507 test-push-checkheads-pruned-B1.t
507 test-push-checkheads-pruned-B2.t
508 test-push-checkheads-pruned-B2.t
508 test-push-checkheads-pruned-B3.t
509 test-push-checkheads-pruned-B3.t
509 test-push-checkheads-pruned-B4.t
510 test-push-checkheads-pruned-B4.t
510 test-push-checkheads-pruned-B5.t
511 test-push-checkheads-pruned-B5.t
511 test-push-checkheads-pruned-B6.t
512 test-push-checkheads-pruned-B6.t
512 test-push-checkheads-pruned-B7.t
513 test-push-checkheads-pruned-B7.t
513 test-push-checkheads-pruned-B8.t
514 test-push-checkheads-pruned-B8.t
514 test-push-checkheads-superceed-A1.t
515 test-push-checkheads-superceed-A1.t
515 test-push-checkheads-superceed-A2.t
516 test-push-checkheads-superceed-A2.t
516 test-push-checkheads-superceed-A3.t
517 test-push-checkheads-superceed-A3.t
517 test-push-checkheads-superceed-A4.t
518 test-push-checkheads-superceed-A4.t
518 test-push-checkheads-superceed-A5.t
519 test-push-checkheads-superceed-A5.t
519 test-push-checkheads-superceed-A6.t
520 test-push-checkheads-superceed-A6.t
520 test-push-checkheads-superceed-A7.t
521 test-push-checkheads-superceed-A7.t
521 test-push-checkheads-superceed-A8.t
522 test-push-checkheads-superceed-A8.t
522 test-push-checkheads-unpushed-D1.t
523 test-push-checkheads-unpushed-D1.t
523 test-push-checkheads-unpushed-D2.t
524 test-push-checkheads-unpushed-D2.t
524 test-push-checkheads-unpushed-D3.t
525 test-push-checkheads-unpushed-D3.t
525 test-push-checkheads-unpushed-D4.t
526 test-push-checkheads-unpushed-D4.t
526 test-push-checkheads-unpushed-D5.t
527 test-push-checkheads-unpushed-D5.t
527 test-push-checkheads-unpushed-D6.t
528 test-push-checkheads-unpushed-D6.t
528 test-push-checkheads-unpushed-D7.t
529 test-push-checkheads-unpushed-D7.t
529 test-push-http.t
530 test-push-http.t
530 test-push-race.t
531 test-push-race.t
531 test-push-warn.t
532 test-push-warn.t
532 test-push.t
533 test-push.t
533 test-pushvars.t
534 test-pushvars.t
534 test-qrecord.t
535 test-qrecord.t
535 test-rebase-abort.t
536 test-rebase-abort.t
536 test-rebase-backup.t
537 test-rebase-backup.t
537 test-rebase-base-flag.t
538 test-rebase-base-flag.t
538 test-rebase-bookmarks.t
539 test-rebase-bookmarks.t
539 test-rebase-brute-force.t
540 test-rebase-brute-force.t
540 test-rebase-cache.t
541 test-rebase-cache.t
541 test-rebase-check-restore.t
542 test-rebase-check-restore.t
542 test-rebase-collapse.t
543 test-rebase-collapse.t
543 test-rebase-conflicts.t
544 test-rebase-conflicts.t
544 test-rebase-dest.t
545 test-rebase-dest.t
545 test-rebase-detach.t
546 test-rebase-detach.t
546 test-rebase-emptycommit.t
547 test-rebase-emptycommit.t
547 test-rebase-inmemory.t
548 test-rebase-inmemory.t
548 test-rebase-interruptions.t
549 test-rebase-interruptions.t
549 test-rebase-issue-noparam-single-rev.t
550 test-rebase-issue-noparam-single-rev.t
550 test-rebase-legacy.t
551 test-rebase-legacy.t
551 test-rebase-mq-skip.t
552 test-rebase-mq-skip.t
552 test-rebase-mq.t
553 test-rebase-mq.t
553 test-rebase-named-branches.t
554 test-rebase-named-branches.t
554 test-rebase-newancestor.t
555 test-rebase-newancestor.t
555 test-rebase-obsolete.t
556 test-rebase-obsolete.t
556 test-rebase-parameters.t
557 test-rebase-parameters.t
557 test-rebase-partial.t
558 test-rebase-partial.t
558 test-rebase-pull.t
559 test-rebase-pull.t
559 test-rebase-rename.t
560 test-rebase-rename.t
560 test-rebase-scenario-global.t
561 test-rebase-scenario-global.t
561 test-rebase-templates.t
562 test-rebase-templates.t
562 test-rebase-transaction.t
563 test-rebase-transaction.t
563 test-rebuildstate.t
564 test-rebuildstate.t
564 test-record.t
565 test-record.t
565 test-releasenotes-formatting.t
566 test-releasenotes-formatting.t
566 test-releasenotes-merging.t
567 test-releasenotes-merging.t
567 test-releasenotes-parsing.t
568 test-releasenotes-parsing.t
568 test-relink.t
569 test-relink.t
569 test-remotefilelog-bad-configs.t
570 test-remotefilelog-bad-configs.t
570 test-remotefilelog-bgprefetch.t
571 test-remotefilelog-bgprefetch.t
571 test-remotefilelog-blame.t
572 test-remotefilelog-blame.t
572 test-remotefilelog-bundle2.t
573 test-remotefilelog-bundle2.t
573 test-remotefilelog-bundles.t
574 test-remotefilelog-bundles.t
574 test-remotefilelog-cacheprocess.t
575 test-remotefilelog-cacheprocess.t
575 test-remotefilelog-clone-tree.t
576 test-remotefilelog-clone-tree.t
576 test-remotefilelog-clone.t
577 test-remotefilelog-clone.t
577 test-remotefilelog-gcrepack.t
578 test-remotefilelog-gcrepack.t
578 test-remotefilelog-histpack.py
579 test-remotefilelog-histpack.py
579 test-remotefilelog-http.t
580 test-remotefilelog-http.t
580 test-remotefilelog-keepset.t
581 test-remotefilelog-keepset.t
581 test-remotefilelog-local.t
582 test-remotefilelog-local.t
582 test-remotefilelog-log.t
583 test-remotefilelog-log.t
583 test-remotefilelog-partial-shallow.t
584 test-remotefilelog-partial-shallow.t
584 test-remotefilelog-permissions.t
585 test-remotefilelog-permissions.t
585 test-remotefilelog-permisssions.t
586 test-remotefilelog-permisssions.t
586 test-remotefilelog-prefetch.t
587 test-remotefilelog-prefetch.t
587 test-remotefilelog-pull-noshallow.t
588 test-remotefilelog-pull-noshallow.t
588 test-remotefilelog-share.t
589 test-remotefilelog-share.t
589 test-remotefilelog-sparse.t
590 test-remotefilelog-sparse.t
590 test-remotefilelog-tags.t
591 test-remotefilelog-tags.t
591 test-remotefilelog-wireproto.t
592 test-remotefilelog-wireproto.t
592 test-remove.t
593 test-remove.t
593 test-removeemptydirs.t
594 test-removeemptydirs.t
594 test-rename-after-merge.t
595 test-rename-after-merge.t
595 test-rename-dir-merge.t
596 test-rename-dir-merge.t
596 test-rename-merge1.t
597 test-rename-merge1.t
597 test-rename-merge2.t
598 test-rename-merge2.t
598 test-rename.t
599 test-rename.t
599 test-repair-strip.t
600 test-repair-strip.t
600 test-repo-compengines.t
601 test-repo-compengines.t
601 test-requires.t
602 test-requires.t
602 test-resolve.t
603 test-resolve.t
603 test-revert-flags.t
604 test-revert-flags.t
604 test-revert-interactive.t
605 test-revert-interactive.t
605 test-revert-unknown.t
606 test-revert-unknown.t
606 test-revert.t
607 test-revert.t
607 test-revisions.t
608 test-revisions.t
608 test-revlog-ancestry.py
609 test-revlog-ancestry.py
609 test-revlog-group-emptyiter.t
610 test-revlog-group-emptyiter.t
610 test-revlog-mmapindex.t
611 test-revlog-mmapindex.t
611 test-revlog-packentry.t
612 test-revlog-packentry.t
612 test-revlog-raw.py
613 test-revlog-raw.py
613 test-revlog-v2.t
614 test-revlog-v2.t
614 test-revlog.t
615 test-revlog.t
615 test-revset-dirstate-parents.t
616 test-revset-dirstate-parents.t
616 test-revset-legacy-lookup.t
617 test-revset-legacy-lookup.t
617 test-revset-outgoing.t
618 test-revset-outgoing.t
618 test-rollback.t
619 test-rollback.t
619 test-run-tests.py
620 test-run-tests.py
620 test-run-tests.t
621 test-run-tests.t
621 test-rust-ancestor.py
622 test-rust-ancestor.py
622 test-schemes.t
623 test-schemes.t
623 test-serve.t
624 test-serve.t
624 test-setdiscovery.t
625 test-setdiscovery.t
625 test-share.t
626 test-share.t
626 test-shelve.t
627 test-shelve.t
627 test-shelve2.t
628 test-shelve2.t
628 test-show-stack.t
629 test-show-stack.t
629 test-show-work.t
630 test-show-work.t
630 test-show.t
631 test-show.t
631 test-simple-update.t
632 test-simple-update.t
632 test-simplekeyvaluefile.py
633 test-simplekeyvaluefile.py
633 test-simplemerge.py
634 test-simplemerge.py
634 test-single-head.t
635 test-single-head.t
635 test-sparse-clear.t
636 test-sparse-clear.t
636 test-sparse-clone.t
637 test-sparse-clone.t
637 test-sparse-import.t
638 test-sparse-import.t
638 test-sparse-merges.t
639 test-sparse-merges.t
639 test-sparse-profiles.t
640 test-sparse-profiles.t
640 test-sparse-requirement.t
641 test-sparse-requirement.t
641 test-sparse-verbose-json.t
642 test-sparse-verbose-json.t
642 test-sparse.t
643 test-sparse.t
643 test-split.t
644 test-split.t
644 test-ssh-bundle1.t
645 test-ssh-bundle1.t
645 test-ssh-clone-r.t
646 test-ssh-clone-r.t
646 test-ssh-proto-unbundle.t
647 test-ssh-proto-unbundle.t
647 test-ssh-proto.t
648 test-ssh-proto.t
648 test-ssh-repoerror.t
649 test-ssh-repoerror.t
649 test-ssh.t
650 test-ssh.t
650 test-sshserver.py
651 test-sshserver.py
651 test-stack.t
652 test-stack.t
652 test-status-color.t
653 test-status-color.t
653 test-status-inprocess.py
654 test-status-inprocess.py
654 test-status-rev.t
655 test-status-rev.t
655 test-status-terse.t
656 test-status-terse.t
656 test-status.t
657 test-status.t
657 test-storage.py
658 test-storage.py
658 test-stream-bundle-v2.t
659 test-stream-bundle-v2.t
659 test-strict.t
660 test-strict.t
660 test-strip-cross.t
661 test-strip-cross.t
661 test-strip.t
662 test-strip.t
662 test-subrepo-deep-nested-change.t
663 test-subrepo-deep-nested-change.t
663 test-subrepo-missing.t
664 test-subrepo-missing.t
664 test-subrepo-paths.t
665 test-subrepo-paths.t
665 test-subrepo-recursion.t
666 test-subrepo-recursion.t
666 test-subrepo-relative-path.t
667 test-subrepo-relative-path.t
667 test-subrepo.t
668 test-subrepo.t
668 test-symlink-os-yes-fs-no.py
669 test-symlink-os-yes-fs-no.py
669 test-symlink-placeholder.t
670 test-symlink-placeholder.t
670 test-symlinks.t
671 test-symlinks.t
671 test-tag.t
672 test-tag.t
672 test-tags.t
673 test-tags.t
673 test-template-basic.t
674 test-template-basic.t
674 test-template-functions.t
675 test-template-functions.t
675 test-template-keywords.t
676 test-template-keywords.t
676 test-template-map.t
677 test-template-map.t
677 test-tools.t
678 test-tools.t
678 test-transplant.t
679 test-transplant.t
679 test-treediscovery-legacy.t
680 test-treediscovery-legacy.t
680 test-treediscovery.t
681 test-treediscovery.t
681 test-treemanifest.t
682 test-treemanifest.t
682 test-ui-color.py
683 test-ui-color.py
683 test-ui-config.py
684 test-ui-config.py
684 test-ui-verbosity.py
685 test-ui-verbosity.py
685 test-unamend.t
686 test-unamend.t
686 test-unbundlehash.t
687 test-unbundlehash.t
687 test-uncommit.t
688 test-uncommit.t
688 test-unified-test.t
689 test-unified-test.t
689 test-unionrepo.t
690 test-unionrepo.t
690 test-unrelated-pull.t
691 test-unrelated-pull.t
691 test-up-local-change.t
692 test-up-local-change.t
692 test-update-branches.t
693 test-update-branches.t
693 test-update-dest.t
694 test-update-dest.t
694 test-update-issue1456.t
695 test-update-issue1456.t
695 test-update-names.t
696 test-update-names.t
696 test-update-reverse.t
697 test-update-reverse.t
697 test-upgrade-repo.t
698 test-upgrade-repo.t
698 test-url-download.t
699 test-url-download.t
699 test-url-rev.t
700 test-url-rev.t
700 test-url.py
701 test-url.py
701 test-username-newline.t
702 test-username-newline.t
702 test-util.py
703 test-util.py
703 test-verify.t
704 test-verify.t
704 test-walk.t
705 test-walk.t
705 test-walkrepo.py
706 test-walkrepo.py
706 test-websub.t
707 test-websub.t
707 test-win32text.t
708 test-win32text.t
708 test-wireproto-clientreactor.py
709 test-wireproto-clientreactor.py
709 test-wireproto-command-branchmap.t
710 test-wireproto-command-branchmap.t
710 test-wireproto-command-changesetdata.t
711 test-wireproto-command-changesetdata.t
711 test-wireproto-command-filedata.t
712 test-wireproto-command-filedata.t
712 test-wireproto-command-filesdata.t
713 test-wireproto-command-filesdata.t
713 test-wireproto-command-heads.t
714 test-wireproto-command-heads.t
714 test-wireproto-command-listkeys.t
715 test-wireproto-command-listkeys.t
715 test-wireproto-command-lookup.t
716 test-wireproto-command-lookup.t
716 test-wireproto-command-manifestdata.t
717 test-wireproto-command-manifestdata.t
717 test-wireproto-command-pushkey.t
718 test-wireproto-command-pushkey.t
718 test-wireproto-command-rawstorefiledata.t
719 test-wireproto-command-rawstorefiledata.t
719 test-wireproto-framing.py
720 test-wireproto-framing.py
720 test-wireproto-serverreactor.py
721 test-wireproto-serverreactor.py
721 test-wireproto.py
722 test-wireproto.py
722 test-wireproto.t
723 test-wireproto.t
723 test-wsgirequest.py
724 test-wsgirequest.py
724 test-xdg.t
725 test-xdg.t
@@ -1,66 +1,66 b''
1 #require no-msys # MSYS will translate web paths as if they were file paths
1 #require no-msys # MSYS will translate web paths as if they were file paths
2
2
3 This tests if CGI files from after d0db3462d568 but
3 This tests if CGI files from after d0db3462d568 but
4 before d74fc8dec2b4 still work.
4 before d74fc8dec2b4 still work.
5
5
6 $ hg init test
6 $ hg init test
7 $ cat >hgweb.cgi <<HGWEB
7 $ cat >hgweb.cgi <<HGWEB
8 > #!$PYTHON
8 > #!$PYTHON
9 > #
9 > #
10 > # An example CGI script to use hgweb, edit as necessary
10 > # An example CGI script to use hgweb, edit as necessary
11 >
11 >
12 > import cgitb
12 > import cgitb
13 > cgitb.enable()
13 > cgitb.enable()
14 >
14 >
15 > from mercurial import demandimport; demandimport.enable()
15 > from mercurial import demandimport; demandimport.enable()
16 > from mercurial.hgweb import hgweb
16 > from mercurial.hgweb import hgweb
17 > from mercurial.hgweb import wsgicgi
17 > from mercurial.hgweb import wsgicgi
18 > from mercurial.hgweb.request import wsgiapplication
18 > from mercurial.hgweb.request import wsgiapplication
19 >
19 >
20 > def make_web_app():
20 > def make_web_app():
21 > return hgweb("test", "Empty test repository")
21 > return hgweb(b"test", b"Empty test repository")
22 >
22 >
23 > wsgicgi.launch(wsgiapplication(make_web_app))
23 > wsgicgi.launch(wsgiapplication(make_web_app))
24 > HGWEB
24 > HGWEB
25
25
26 $ chmod 755 hgweb.cgi
26 $ chmod 755 hgweb.cgi
27
27
28 $ cat >hgweb.config <<HGWEBDIRCONF
28 $ cat >hgweb.config <<HGWEBDIRCONF
29 > [paths]
29 > [paths]
30 > test = test
30 > test = test
31 > HGWEBDIRCONF
31 > HGWEBDIRCONF
32
32
33 $ cat >hgwebdir.cgi <<HGWEBDIR
33 $ cat >hgwebdir.cgi <<HGWEBDIR
34 > #!$PYTHON
34 > #!$PYTHON
35 > #
35 > #
36 > # An example CGI script to export multiple hgweb repos, edit as necessary
36 > # An example CGI script to export multiple hgweb repos, edit as necessary
37 >
37 >
38 > import cgitb
38 > import cgitb
39 > cgitb.enable()
39 > cgitb.enable()
40 >
40 >
41 > from mercurial import demandimport; demandimport.enable()
41 > from mercurial import demandimport; demandimport.enable()
42 > from mercurial.hgweb import hgwebdir
42 > from mercurial.hgweb import hgwebdir
43 > from mercurial.hgweb import wsgicgi
43 > from mercurial.hgweb import wsgicgi
44 > from mercurial.hgweb.request import wsgiapplication
44 > from mercurial.hgweb.request import wsgiapplication
45 >
45 >
46 > def make_web_app():
46 > def make_web_app():
47 > return hgwebdir("hgweb.config")
47 > return hgwebdir(b"hgweb.config")
48 >
48 >
49 > wsgicgi.launch(wsgiapplication(make_web_app))
49 > wsgicgi.launch(wsgiapplication(make_web_app))
50 > HGWEBDIR
50 > HGWEBDIR
51
51
52 $ chmod 755 hgwebdir.cgi
52 $ chmod 755 hgwebdir.cgi
53
53
54 $ . "$TESTDIR/cgienv"
54 $ . "$TESTDIR/cgienv"
55 $ "$PYTHON" hgweb.cgi > page1
55 $ "$PYTHON" hgweb.cgi > page1
56 $ "$PYTHON" hgwebdir.cgi > page2
56 $ "$PYTHON" hgwebdir.cgi > page2
57
57
58 $ PATH_INFO="/test/"
58 $ PATH_INFO="/test/"
59 $ PATH_TRANSLATED="/var/something/test.cgi"
59 $ PATH_TRANSLATED="/var/something/test.cgi"
60 $ REQUEST_URI="/test/test/"
60 $ REQUEST_URI="/test/test/"
61 $ SCRIPT_URI="http://hg.omnifarious.org/test/test/"
61 $ SCRIPT_URI="http://hg.omnifarious.org/test/test/"
62 $ SCRIPT_URL="/test/test/"
62 $ SCRIPT_URL="/test/test/"
63 $ "$PYTHON" hgwebdir.cgi > page3
63 $ "$PYTHON" hgwebdir.cgi > page3
64
64
65 $ grep -i error page1 page2 page3
65 $ grep -i error page1 page2 page3
66 [1]
66 [1]
General Comments 0
You need to be logged in to leave comments. Login now