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