##// END OF EJS Templates
tests: port test-dispatch.py to Python 3...
Augie Fackler -
r37943:32106c47 default
parent child Browse files
Show More
@@ -1,476 +1,477 b''
1 test-abort-checkin.t
1 test-abort-checkin.t
2 test-add.t
2 test-add.t
3 test-addremove-similar.t
3 test-addremove-similar.t
4 test-addremove.t
4 test-addremove.t
5 test-amend-subrepo.t
5 test-amend-subrepo.t
6 test-amend.t
6 test-amend.t
7 test-ancestor.py
7 test-ancestor.py
8 test-annotate.py
8 test-annotate.py
9 test-annotate.t
9 test-annotate.t
10 test-archive-symlinks.t
10 test-archive-symlinks.t
11 test-atomictempfile.py
11 test-atomictempfile.py
12 test-audit-path.t
12 test-audit-path.t
13 test-audit-subrepo.t
13 test-audit-subrepo.t
14 test-automv.t
14 test-automv.t
15 test-backout.t
15 test-backout.t
16 test-backwards-remove.t
16 test-backwards-remove.t
17 test-basic.t
17 test-basic.t
18 test-bheads.t
18 test-bheads.t
19 test-bisect.t
19 test-bisect.t
20 test-bisect2.t
20 test-bisect2.t
21 test-bisect3.t
21 test-bisect3.t
22 test-blackbox.t
22 test-blackbox.t
23 test-bookmarks-current.t
23 test-bookmarks-current.t
24 test-bookmarks-merge.t
24 test-bookmarks-merge.t
25 test-bookmarks-rebase.t
25 test-bookmarks-rebase.t
26 test-bookmarks-strip.t
26 test-bookmarks-strip.t
27 test-bookmarks.t
27 test-bookmarks.t
28 test-branch-change.t
28 test-branch-change.t
29 test-branch-option.t
29 test-branch-option.t
30 test-branch-tag-confict.t
30 test-branch-tag-confict.t
31 test-branches.t
31 test-branches.t
32 test-bundle-phases.t
32 test-bundle-phases.t
33 test-bundle-type.t
33 test-bundle-type.t
34 test-bundle-vs-outgoing.t
34 test-bundle-vs-outgoing.t
35 test-bundle2-multiple-changegroups.t
35 test-bundle2-multiple-changegroups.t
36 test-cappedreader.py
36 test-cappedreader.py
37 test-casecollision.t
37 test-casecollision.t
38 test-cat.t
38 test-cat.t
39 test-cbor.py
39 test-cbor.py
40 test-censor.t
40 test-censor.t
41 test-changelog-exec.t
41 test-changelog-exec.t
42 test-check-commit.t
42 test-check-commit.t
43 test-check-execute.t
43 test-check-execute.t
44 test-check-interfaces.py
44 test-check-interfaces.py
45 test-check-module-imports.t
45 test-check-module-imports.t
46 test-check-pyflakes.t
46 test-check-pyflakes.t
47 test-check-pylint.t
47 test-check-pylint.t
48 test-check-shbang.t
48 test-check-shbang.t
49 test-children.t
49 test-children.t
50 test-clone-cgi.t
50 test-clone-cgi.t
51 test-clone-pull-corruption.t
51 test-clone-pull-corruption.t
52 test-clone-r.t
52 test-clone-r.t
53 test-clone-update-order.t
53 test-clone-update-order.t
54 test-command-template.t
54 test-command-template.t
55 test-commit-amend.t
55 test-commit-amend.t
56 test-commit-interactive.t
56 test-commit-interactive.t
57 test-commit-multiple.t
57 test-commit-multiple.t
58 test-commit-unresolved.t
58 test-commit-unresolved.t
59 test-commit.t
59 test-commit.t
60 test-committer.t
60 test-committer.t
61 test-completion.t
61 test-completion.t
62 test-config-env.py
62 test-config-env.py
63 test-config.t
63 test-config.t
64 test-conflict.t
64 test-conflict.t
65 test-confused-revert.t
65 test-confused-revert.t
66 test-context.py
66 test-context.py
67 test-contrib-check-code.t
67 test-contrib-check-code.t
68 test-contrib-check-commit.t
68 test-contrib-check-commit.t
69 test-convert-authormap.t
69 test-convert-authormap.t
70 test-convert-clonebranches.t
70 test-convert-clonebranches.t
71 test-convert-cvs-branch.t
71 test-convert-cvs-branch.t
72 test-convert-cvs-detectmerge.t
72 test-convert-cvs-detectmerge.t
73 test-convert-cvs.t
73 test-convert-cvs.t
74 test-convert-datesort.t
74 test-convert-datesort.t
75 test-convert-filemap.t
75 test-convert-filemap.t
76 test-convert-hg-sink.t
76 test-convert-hg-sink.t
77 test-convert-hg-source.t
77 test-convert-hg-source.t
78 test-convert-hg-startrev.t
78 test-convert-hg-startrev.t
79 test-convert-splicemap.t
79 test-convert-splicemap.t
80 test-convert-tagsbranch-topology.t
80 test-convert-tagsbranch-topology.t
81 test-copy-move-merge.t
81 test-copy-move-merge.t
82 test-copy.t
82 test-copy.t
83 test-copytrace-heuristics.t
83 test-copytrace-heuristics.t
84 test-debugbuilddag.t
84 test-debugbuilddag.t
85 test-debugbundle.t
85 test-debugbundle.t
86 test-debugextensions.t
86 test-debugextensions.t
87 test-debugindexdot.t
87 test-debugindexdot.t
88 test-debugrename.t
88 test-debugrename.t
89 test-default-push.t
89 test-default-push.t
90 test-diff-binary-file.t
90 test-diff-binary-file.t
91 test-diff-change.t
91 test-diff-change.t
92 test-diff-copy-depth.t
92 test-diff-copy-depth.t
93 test-diff-hashes.t
93 test-diff-hashes.t
94 test-diff-ignore-whitespace.t
94 test-diff-ignore-whitespace.t
95 test-diff-indent-heuristic.t
95 test-diff-indent-heuristic.t
96 test-diff-issue2761.t
96 test-diff-issue2761.t
97 test-diff-newlines.t
97 test-diff-newlines.t
98 test-diff-reverse.t
98 test-diff-reverse.t
99 test-diff-subdir.t
99 test-diff-subdir.t
100 test-diff-unified.t
100 test-diff-unified.t
101 test-diff-upgrade.t
101 test-diff-upgrade.t
102 test-diffdir.t
102 test-diffdir.t
103 test-diffstat.t
103 test-diffstat.t
104 test-directaccess.t
104 test-directaccess.t
105 test-dirstate-backup.t
105 test-dirstate-backup.t
106 test-dirstate-nonnormalset.t
106 test-dirstate-nonnormalset.t
107 test-dirstate.t
107 test-dirstate.t
108 test-dispatch.py
108 test-doctest.py
109 test-doctest.py
109 test-double-merge.t
110 test-double-merge.t
110 test-drawdag.t
111 test-drawdag.t
111 test-duplicateoptions.py
112 test-duplicateoptions.py
112 test-editor-filename.t
113 test-editor-filename.t
113 test-empty-dir.t
114 test-empty-dir.t
114 test-empty-file.t
115 test-empty-file.t
115 test-empty-group.t
116 test-empty-group.t
116 test-empty.t
117 test-empty.t
117 test-encode.t
118 test-encode.t
118 test-encoding-func.py
119 test-encoding-func.py
119 test-encoding.t
120 test-encoding.t
120 test-eol-add.t
121 test-eol-add.t
121 test-eol-clone.t
122 test-eol-clone.t
122 test-eol-hook.t
123 test-eol-hook.t
123 test-eol-tag.t
124 test-eol-tag.t
124 test-eol-update.t
125 test-eol-update.t
125 test-excessive-merge.t
126 test-excessive-merge.t
126 test-exchange-obsmarkers-case-A1.t
127 test-exchange-obsmarkers-case-A1.t
127 test-exchange-obsmarkers-case-A2.t
128 test-exchange-obsmarkers-case-A2.t
128 test-exchange-obsmarkers-case-A3.t
129 test-exchange-obsmarkers-case-A3.t
129 test-exchange-obsmarkers-case-A4.t
130 test-exchange-obsmarkers-case-A4.t
130 test-exchange-obsmarkers-case-A5.t
131 test-exchange-obsmarkers-case-A5.t
131 test-exchange-obsmarkers-case-A6.t
132 test-exchange-obsmarkers-case-A6.t
132 test-exchange-obsmarkers-case-A7.t
133 test-exchange-obsmarkers-case-A7.t
133 test-exchange-obsmarkers-case-B1.t
134 test-exchange-obsmarkers-case-B1.t
134 test-exchange-obsmarkers-case-B2.t
135 test-exchange-obsmarkers-case-B2.t
135 test-exchange-obsmarkers-case-B3.t
136 test-exchange-obsmarkers-case-B3.t
136 test-exchange-obsmarkers-case-B4.t
137 test-exchange-obsmarkers-case-B4.t
137 test-exchange-obsmarkers-case-B5.t
138 test-exchange-obsmarkers-case-B5.t
138 test-exchange-obsmarkers-case-B6.t
139 test-exchange-obsmarkers-case-B6.t
139 test-exchange-obsmarkers-case-B7.t
140 test-exchange-obsmarkers-case-B7.t
140 test-exchange-obsmarkers-case-C1.t
141 test-exchange-obsmarkers-case-C1.t
141 test-exchange-obsmarkers-case-C2.t
142 test-exchange-obsmarkers-case-C2.t
142 test-exchange-obsmarkers-case-C3.t
143 test-exchange-obsmarkers-case-C3.t
143 test-exchange-obsmarkers-case-C4.t
144 test-exchange-obsmarkers-case-C4.t
144 test-exchange-obsmarkers-case-D1.t
145 test-exchange-obsmarkers-case-D1.t
145 test-exchange-obsmarkers-case-D2.t
146 test-exchange-obsmarkers-case-D2.t
146 test-exchange-obsmarkers-case-D3.t
147 test-exchange-obsmarkers-case-D3.t
147 test-exchange-obsmarkers-case-D4.t
148 test-exchange-obsmarkers-case-D4.t
148 test-execute-bit.t
149 test-execute-bit.t
149 test-export.t
150 test-export.t
150 test-extdata.t
151 test-extdata.t
151 test-extdiff.t
152 test-extdiff.t
152 test-extra-filelog-entry.t
153 test-extra-filelog-entry.t
153 test-filebranch.t
154 test-filebranch.t
154 test-filecache.py
155 test-filecache.py
155 test-fileset-generated.t
156 test-fileset-generated.t
156 test-fix-topology.t
157 test-fix-topology.t
157 test-flags.t
158 test-flags.t
158 test-generaldelta.t
159 test-generaldelta.t
159 test-getbundle.t
160 test-getbundle.t
160 test-git-export.t
161 test-git-export.t
161 test-glog-topological.t
162 test-glog-topological.t
162 test-gpg.t
163 test-gpg.t
163 test-graft.t
164 test-graft.t
164 test-hg-parseurl.py
165 test-hg-parseurl.py
165 test-hghave.t
166 test-hghave.t
166 test-hgignore.t
167 test-hgignore.t
167 test-hgk.t
168 test-hgk.t
168 test-hgweb-bundle.t
169 test-hgweb-bundle.t
169 test-hgweb-descend-empties.t
170 test-hgweb-descend-empties.t
170 test-hgweb-empty.t
171 test-hgweb-empty.t
171 test-hgweb-removed.t
172 test-hgweb-removed.t
172 test-hgwebdir-paths.py
173 test-hgwebdir-paths.py
173 test-hgwebdirsym.t
174 test-hgwebdirsym.t
174 test-histedit-arguments.t
175 test-histedit-arguments.t
175 test-histedit-base.t
176 test-histedit-base.t
176 test-histedit-bookmark-motion.t
177 test-histedit-bookmark-motion.t
177 test-histedit-commute.t
178 test-histedit-commute.t
178 test-histedit-drop.t
179 test-histedit-drop.t
179 test-histedit-edit.t
180 test-histedit-edit.t
180 test-histedit-fold-non-commute.t
181 test-histedit-fold-non-commute.t
181 test-histedit-fold.t
182 test-histedit-fold.t
182 test-histedit-no-change.t
183 test-histedit-no-change.t
183 test-histedit-non-commute-abort.t
184 test-histedit-non-commute-abort.t
184 test-histedit-non-commute.t
185 test-histedit-non-commute.t
185 test-histedit-obsolete.t
186 test-histedit-obsolete.t
186 test-histedit-outgoing.t
187 test-histedit-outgoing.t
187 test-histedit-templates.t
188 test-histedit-templates.t
188 test-http-branchmap.t
189 test-http-branchmap.t
189 test-http-bundle1.t
190 test-http-bundle1.t
190 test-http-clone-r.t
191 test-http-clone-r.t
191 test-http.t
192 test-http.t
192 test-hybridencode.py
193 test-hybridencode.py
193 test-identify.t
194 test-identify.t
194 test-import-unknown.t
195 test-import-unknown.t
195 test-import.t
196 test-import.t
196 test-imports-checker.t
197 test-imports-checker.t
197 test-incoming-outgoing.t
198 test-incoming-outgoing.t
198 test-inherit-mode.t
199 test-inherit-mode.t
199 test-issue1089.t
200 test-issue1089.t
200 test-issue1102.t
201 test-issue1102.t
201 test-issue1175.t
202 test-issue1175.t
202 test-issue1306.t
203 test-issue1306.t
203 test-issue1438.t
204 test-issue1438.t
204 test-issue1502.t
205 test-issue1502.t
205 test-issue1802.t
206 test-issue1802.t
206 test-issue1877.t
207 test-issue1877.t
207 test-issue1993.t
208 test-issue1993.t
208 test-issue2137.t
209 test-issue2137.t
209 test-issue3084.t
210 test-issue3084.t
210 test-issue4074.t
211 test-issue4074.t
211 test-issue522.t
212 test-issue522.t
212 test-issue586.t
213 test-issue586.t
213 test-issue612.t
214 test-issue612.t
214 test-issue619.t
215 test-issue619.t
215 test-issue660.t
216 test-issue660.t
216 test-issue672.t
217 test-issue672.t
217 test-issue842.t
218 test-issue842.t
218 test-journal-exists.t
219 test-journal-exists.t
219 test-journal-share.t
220 test-journal-share.t
220 test-journal.t
221 test-journal.t
221 test-largefiles-cache.t
222 test-largefiles-cache.t
222 test-largefiles-misc.t
223 test-largefiles-misc.t
223 test-largefiles-small-disk.t
224 test-largefiles-small-disk.t
224 test-largefiles-update.t
225 test-largefiles-update.t
225 test-largefiles.t
226 test-largefiles.t
226 test-lfs-largefiles.t
227 test-lfs-largefiles.t
227 test-linerange.py
228 test-linerange.py
228 test-locate.t
229 test-locate.t
229 test-lock-badness.t
230 test-lock-badness.t
230 test-log-linerange.t
231 test-log-linerange.t
231 test-log.t
232 test-log.t
232 test-logexchange.t
233 test-logexchange.t
233 test-lrucachedict.py
234 test-lrucachedict.py
234 test-mactext.t
235 test-mactext.t
235 test-mailmap.t
236 test-mailmap.t
236 test-manifest-merging.t
237 test-manifest-merging.t
237 test-manifest.py
238 test-manifest.py
238 test-manifest.t
239 test-manifest.t
239 test-match.py
240 test-match.py
240 test-mdiff.py
241 test-mdiff.py
241 test-merge-changedelete.t
242 test-merge-changedelete.t
242 test-merge-closedheads.t
243 test-merge-closedheads.t
243 test-merge-commit.t
244 test-merge-commit.t
244 test-merge-criss-cross.t
245 test-merge-criss-cross.t
245 test-merge-default.t
246 test-merge-default.t
246 test-merge-force.t
247 test-merge-force.t
247 test-merge-halt.t
248 test-merge-halt.t
248 test-merge-internal-tools-pattern.t
249 test-merge-internal-tools-pattern.t
249 test-merge-local.t
250 test-merge-local.t
250 test-merge-remove.t
251 test-merge-remove.t
251 test-merge-revert.t
252 test-merge-revert.t
252 test-merge-revert2.t
253 test-merge-revert2.t
253 test-merge-subrepos.t
254 test-merge-subrepos.t
254 test-merge-symlinks.t
255 test-merge-symlinks.t
255 test-merge-tools.t
256 test-merge-tools.t
256 test-merge-types.t
257 test-merge-types.t
257 test-merge1.t
258 test-merge1.t
258 test-merge10.t
259 test-merge10.t
259 test-merge2.t
260 test-merge2.t
260 test-merge4.t
261 test-merge4.t
261 test-merge5.t
262 test-merge5.t
262 test-merge6.t
263 test-merge6.t
263 test-merge7.t
264 test-merge7.t
264 test-merge8.t
265 test-merge8.t
265 test-merge9.t
266 test-merge9.t
266 test-minifileset.py
267 test-minifileset.py
267 test-minirst.py
268 test-minirst.py
268 test-mq-git.t
269 test-mq-git.t
269 test-mq-header-date.t
270 test-mq-header-date.t
270 test-mq-header-from.t
271 test-mq-header-from.t
271 test-mq-merge.t
272 test-mq-merge.t
272 test-mq-pull-from-bundle.t
273 test-mq-pull-from-bundle.t
273 test-mq-qclone-http.t
274 test-mq-qclone-http.t
274 test-mq-qdelete.t
275 test-mq-qdelete.t
275 test-mq-qdiff.t
276 test-mq-qdiff.t
276 test-mq-qfold.t
277 test-mq-qfold.t
277 test-mq-qgoto.t
278 test-mq-qgoto.t
278 test-mq-qimport-fail-cleanup.t
279 test-mq-qimport-fail-cleanup.t
279 test-mq-qnew.t
280 test-mq-qnew.t
280 test-mq-qpush-exact.t
281 test-mq-qpush-exact.t
281 test-mq-qqueue.t
282 test-mq-qqueue.t
282 test-mq-qrefresh-interactive.t
283 test-mq-qrefresh-interactive.t
283 test-mq-qrefresh-replace-log-message.t
284 test-mq-qrefresh-replace-log-message.t
284 test-mq-qrefresh.t
285 test-mq-qrefresh.t
285 test-mq-qrename.t
286 test-mq-qrename.t
286 test-mq-qsave.t
287 test-mq-qsave.t
287 test-mq-safety.t
288 test-mq-safety.t
288 test-mq-subrepo.t
289 test-mq-subrepo.t
289 test-mq-symlinks.t
290 test-mq-symlinks.t
290 test-mv-cp-st-diff.t
291 test-mv-cp-st-diff.t
291 test-narrow-archive.t
292 test-narrow-archive.t
292 test-narrow-clone-no-ellipsis.t
293 test-narrow-clone-no-ellipsis.t
293 test-narrow-clone-non-narrow-server.t
294 test-narrow-clone-non-narrow-server.t
294 test-narrow-clone-nonlinear.t
295 test-narrow-clone-nonlinear.t
295 test-narrow-clone.t
296 test-narrow-clone.t
296 test-narrow-commit.t
297 test-narrow-commit.t
297 test-narrow-copies.t
298 test-narrow-copies.t
298 test-narrow-debugcommands.t
299 test-narrow-debugcommands.t
299 test-narrow-debugrebuilddirstate.t
300 test-narrow-debugrebuilddirstate.t
300 test-narrow-exchange-merges.t
301 test-narrow-exchange-merges.t
301 test-narrow-exchange.t
302 test-narrow-exchange.t
302 test-narrow-expanddirstate.t
303 test-narrow-expanddirstate.t
303 test-narrow-merge.t
304 test-narrow-merge.t
304 test-narrow-patch.t
305 test-narrow-patch.t
305 test-narrow-patterns.t
306 test-narrow-patterns.t
306 test-narrow-pull.t
307 test-narrow-pull.t
307 test-narrow-rebase.t
308 test-narrow-rebase.t
308 test-narrow-shallow-merges.t
309 test-narrow-shallow-merges.t
309 test-narrow-shallow.t
310 test-narrow-shallow.t
310 test-narrow-strip.t
311 test-narrow-strip.t
311 test-narrow-update.t
312 test-narrow-update.t
312 test-nested-repo.t
313 test-nested-repo.t
313 test-newbranch.t
314 test-newbranch.t
314 test-obshistory.t
315 test-obshistory.t
315 test-obsmarker-template.t
316 test-obsmarker-template.t
316 test-obsmarkers-effectflag.t
317 test-obsmarkers-effectflag.t
317 test-obsolete-bundle-strip.t
318 test-obsolete-bundle-strip.t
318 test-obsolete-changeset-exchange.t
319 test-obsolete-changeset-exchange.t
319 test-obsolete-checkheads.t
320 test-obsolete-checkheads.t
320 test-obsolete-distributed.t
321 test-obsolete-distributed.t
321 test-obsolete-tag-cache.t
322 test-obsolete-tag-cache.t
322 test-parents.t
323 test-parents.t
323 test-parseindex2.py
324 test-parseindex2.py
324 test-pathconflicts-merge.t
325 test-pathconflicts-merge.t
325 test-pathconflicts-update.t
326 test-pathconflicts-update.t
326 test-pathencode.py
327 test-pathencode.py
327 test-pending.t
328 test-pending.t
328 test-permissions.t
329 test-permissions.t
329 test-phases.t
330 test-phases.t
330 test-pull-branch.t
331 test-pull-branch.t
331 test-pull-http.t
332 test-pull-http.t
332 test-pull-permission.t
333 test-pull-permission.t
333 test-pull-pull-corruption.t
334 test-pull-pull-corruption.t
334 test-pull-r.t
335 test-pull-r.t
335 test-pull-update.t
336 test-pull-update.t
336 test-purge.t
337 test-purge.t
337 test-push-checkheads-partial-C1.t
338 test-push-checkheads-partial-C1.t
338 test-push-checkheads-partial-C2.t
339 test-push-checkheads-partial-C2.t
339 test-push-checkheads-partial-C3.t
340 test-push-checkheads-partial-C3.t
340 test-push-checkheads-partial-C4.t
341 test-push-checkheads-partial-C4.t
341 test-push-checkheads-pruned-B1.t
342 test-push-checkheads-pruned-B1.t
342 test-push-checkheads-pruned-B2.t
343 test-push-checkheads-pruned-B2.t
343 test-push-checkheads-pruned-B3.t
344 test-push-checkheads-pruned-B3.t
344 test-push-checkheads-pruned-B4.t
345 test-push-checkheads-pruned-B4.t
345 test-push-checkheads-pruned-B5.t
346 test-push-checkheads-pruned-B5.t
346 test-push-checkheads-pruned-B6.t
347 test-push-checkheads-pruned-B6.t
347 test-push-checkheads-pruned-B7.t
348 test-push-checkheads-pruned-B7.t
348 test-push-checkheads-pruned-B8.t
349 test-push-checkheads-pruned-B8.t
349 test-push-checkheads-superceed-A1.t
350 test-push-checkheads-superceed-A1.t
350 test-push-checkheads-superceed-A2.t
351 test-push-checkheads-superceed-A2.t
351 test-push-checkheads-superceed-A3.t
352 test-push-checkheads-superceed-A3.t
352 test-push-checkheads-superceed-A4.t
353 test-push-checkheads-superceed-A4.t
353 test-push-checkheads-superceed-A5.t
354 test-push-checkheads-superceed-A5.t
354 test-push-checkheads-superceed-A6.t
355 test-push-checkheads-superceed-A6.t
355 test-push-checkheads-superceed-A7.t
356 test-push-checkheads-superceed-A7.t
356 test-push-checkheads-superceed-A8.t
357 test-push-checkheads-superceed-A8.t
357 test-push-checkheads-unpushed-D1.t
358 test-push-checkheads-unpushed-D1.t
358 test-push-checkheads-unpushed-D2.t
359 test-push-checkheads-unpushed-D2.t
359 test-push-checkheads-unpushed-D3.t
360 test-push-checkheads-unpushed-D3.t
360 test-push-checkheads-unpushed-D4.t
361 test-push-checkheads-unpushed-D4.t
361 test-push-checkheads-unpushed-D5.t
362 test-push-checkheads-unpushed-D5.t
362 test-push-checkheads-unpushed-D6.t
363 test-push-checkheads-unpushed-D6.t
363 test-push-checkheads-unpushed-D7.t
364 test-push-checkheads-unpushed-D7.t
364 test-push-http.t
365 test-push-http.t
365 test-push-warn.t
366 test-push-warn.t
366 test-pushvars.t
367 test-pushvars.t
367 test-rebase-abort.t
368 test-rebase-abort.t
368 test-rebase-base-flag.t
369 test-rebase-base-flag.t
369 test-rebase-bookmarks.t
370 test-rebase-bookmarks.t
370 test-rebase-brute-force.t
371 test-rebase-brute-force.t
371 test-rebase-cache.t
372 test-rebase-cache.t
372 test-rebase-check-restore.t
373 test-rebase-check-restore.t
373 test-rebase-collapse.t
374 test-rebase-collapse.t
374 test-rebase-conflicts.t
375 test-rebase-conflicts.t
375 test-rebase-dest.t
376 test-rebase-dest.t
376 test-rebase-detach.t
377 test-rebase-detach.t
377 test-rebase-emptycommit.t
378 test-rebase-emptycommit.t
378 test-rebase-inmemory.t
379 test-rebase-inmemory.t
379 test-rebase-interruptions.t
380 test-rebase-interruptions.t
380 test-rebase-issue-noparam-single-rev.t
381 test-rebase-issue-noparam-single-rev.t
381 test-rebase-legacy.t
382 test-rebase-legacy.t
382 test-rebase-mq-skip.t
383 test-rebase-mq-skip.t
383 test-rebase-mq.t
384 test-rebase-mq.t
384 test-rebase-named-branches.t
385 test-rebase-named-branches.t
385 test-rebase-newancestor.t
386 test-rebase-newancestor.t
386 test-rebase-obsolete.t
387 test-rebase-obsolete.t
387 test-rebase-parameters.t
388 test-rebase-parameters.t
388 test-rebase-partial.t
389 test-rebase-partial.t
389 test-rebase-pull.t
390 test-rebase-pull.t
390 test-rebase-rename.t
391 test-rebase-rename.t
391 test-rebase-scenario-global.t
392 test-rebase-scenario-global.t
392 test-rebase-templates.t
393 test-rebase-templates.t
393 test-rebase-transaction.t
394 test-rebase-transaction.t
394 test-record.t
395 test-record.t
395 test-relink.t
396 test-relink.t
396 test-remove.t
397 test-remove.t
397 test-rename-after-merge.t
398 test-rename-after-merge.t
398 test-rename-dir-merge.t
399 test-rename-dir-merge.t
399 test-rename-merge1.t
400 test-rename-merge1.t
400 test-rename.t
401 test-rename.t
401 test-repair-strip.t
402 test-repair-strip.t
402 test-repo-compengines.t
403 test-repo-compengines.t
403 test-resolve.t
404 test-resolve.t
404 test-revert-flags.t
405 test-revert-flags.t
405 test-revert-unknown.t
406 test-revert-unknown.t
406 test-revlog-ancestry.py
407 test-revlog-ancestry.py
407 test-revlog-group-emptyiter.t
408 test-revlog-group-emptyiter.t
408 test-revlog-mmapindex.t
409 test-revlog-mmapindex.t
409 test-revlog-packentry.t
410 test-revlog-packentry.t
410 test-revset-dirstate-parents.t
411 test-revset-dirstate-parents.t
411 test-revset-legacy-lookup.t
412 test-revset-legacy-lookup.t
412 test-revset-outgoing.t
413 test-revset-outgoing.t
413 test-rollback.t
414 test-rollback.t
414 test-run-tests.py
415 test-run-tests.py
415 test-run-tests.t
416 test-run-tests.t
416 test-schemes.t
417 test-schemes.t
417 test-serve.t
418 test-serve.t
418 test-setdiscovery.t
419 test-setdiscovery.t
419 test-share.t
420 test-share.t
420 test-shelve.t
421 test-shelve.t
421 test-show-stack.t
422 test-show-stack.t
422 test-show-work.t
423 test-show-work.t
423 test-show.t
424 test-show.t
424 test-simple-update.t
425 test-simple-update.t
425 test-simplemerge.py
426 test-simplemerge.py
426 test-single-head.t
427 test-single-head.t
427 test-sparse-clear.t
428 test-sparse-clear.t
428 test-sparse-import.t
429 test-sparse-import.t
429 test-sparse-merges.t
430 test-sparse-merges.t
430 test-sparse-profiles.t
431 test-sparse-profiles.t
431 test-sparse-requirement.t
432 test-sparse-requirement.t
432 test-sparse-verbose-json.t
433 test-sparse-verbose-json.t
433 test-ssh-clone-r.t
434 test-ssh-clone-r.t
434 test-ssh-proto.t
435 test-ssh-proto.t
435 test-sshserver.py
436 test-sshserver.py
436 test-stack.t
437 test-stack.t
437 test-status-inprocess.py
438 test-status-inprocess.py
438 test-status-rev.t
439 test-status-rev.t
439 test-status-terse.t
440 test-status-terse.t
440 test-strip-cross.t
441 test-strip-cross.t
441 test-strip.t
442 test-strip.t
442 test-subrepo-deep-nested-change.t
443 test-subrepo-deep-nested-change.t
443 test-subrepo-missing.t
444 test-subrepo-missing.t
444 test-subrepo-recursion.t
445 test-subrepo-recursion.t
445 test-subrepo-relative-path.t
446 test-subrepo-relative-path.t
446 test-subrepo.t
447 test-subrepo.t
447 test-symlinks.t
448 test-symlinks.t
448 test-tag.t
449 test-tag.t
449 test-tags.t
450 test-tags.t
450 test-template-engine.t
451 test-template-engine.t
451 test-treemanifest.t
452 test-treemanifest.t
452 test-unamend.t
453 test-unamend.t
453 test-uncommit.t
454 test-uncommit.t
454 test-unified-test.t
455 test-unified-test.t
455 test-unrelated-pull.t
456 test-unrelated-pull.t
456 test-up-local-change.t
457 test-up-local-change.t
457 test-update-branches.t
458 test-update-branches.t
458 test-update-dest.t
459 test-update-dest.t
459 test-update-issue1456.t
460 test-update-issue1456.t
460 test-update-names.t
461 test-update-names.t
461 test-update-reverse.t
462 test-update-reverse.t
462 test-upgrade-repo.t
463 test-upgrade-repo.t
463 test-url-download.t
464 test-url-download.t
464 test-url-rev.t
465 test-url-rev.t
465 test-url.py
466 test-url.py
466 test-username-newline.t
467 test-username-newline.t
467 test-verify.t
468 test-verify.t
468 test-walkrepo.py
469 test-walkrepo.py
469 test-websub.t
470 test-websub.t
470 test-win32text.t
471 test-win32text.t
471 test-wireproto-clientreactor.py
472 test-wireproto-clientreactor.py
472 test-wireproto-framing.py
473 test-wireproto-framing.py
473 test-wireproto-serverreactor.py
474 test-wireproto-serverreactor.py
474 test-wireproto.py
475 test-wireproto.py
475 test-wsgirequest.py
476 test-wsgirequest.py
476 test-xdg.t
477 test-xdg.t
@@ -1,35 +1,41 b''
1 from __future__ import absolute_import, print_function
1 from __future__ import absolute_import, print_function
2 import os
2 import os
3 import sys
3 from mercurial import (
4 from mercurial import (
4 dispatch,
5 dispatch,
5 )
6 )
6
7
8 def printb(data, end=b'\n'):
9 out = getattr(sys.stdout, 'buffer', sys.stdout)
10 out.write(data + end)
11 out.flush()
12
7 def testdispatch(cmd):
13 def testdispatch(cmd):
8 """Simple wrapper around dispatch.dispatch()
14 """Simple wrapper around dispatch.dispatch()
9
15
10 Prints command and result value, but does not handle quoting.
16 Prints command and result value, but does not handle quoting.
11 """
17 """
12 print(b"running: %s" % (cmd,))
18 printb(b"running: %s" % (cmd,))
13 req = dispatch.request(cmd.split())
19 req = dispatch.request(cmd.split())
14 result = dispatch.dispatch(req)
20 result = dispatch.dispatch(req)
15 print(b"result: %r" % (result,))
21 printb(b"result: %r" % (result,))
16
22
17 testdispatch(b"init test1")
23 testdispatch(b"init test1")
18 os.chdir('test1')
24 os.chdir('test1')
19
25
20 # create file 'foo', add and commit
26 # create file 'foo', add and commit
21 f = open('foo', 'wb')
27 f = open('foo', 'wb')
22 f.write(b'foo\n')
28 f.write(b'foo\n')
23 f.close()
29 f.close()
24 testdispatch(b"add foo")
30 testdispatch(b"add foo")
25 testdispatch(b"commit -m commit1 -d 2000-01-01 foo")
31 testdispatch(b"commit -m commit1 -d 2000-01-01 foo")
26
32
27 # append to file 'foo' and commit
33 # append to file 'foo' and commit
28 f = open('foo', 'ab')
34 f = open('foo', 'ab')
29 f.write(b'bar\n')
35 f.write(b'bar\n')
30 f.close()
36 f.close()
31 testdispatch(b"commit -m commit2 -d 2000-01-02 foo")
37 testdispatch(b"commit -m commit2 -d 2000-01-02 foo")
32
38
33 # check 88803a69b24 (fancyopts modified command table)
39 # check 88803a69b24 (fancyopts modified command table)
34 testdispatch(b"log -r 0")
40 testdispatch(b"log -r 0")
35 testdispatch(b"log -r tip")
41 testdispatch(b"log -r tip")
General Comments 0
You need to be logged in to leave comments. Login now