##// END OF EJS Templates
py3: glob out some error messages in test-fileset.t...
Yuya Nishihara -
r38349:62376d7b default
parent child Browse files
Show More
@@ -1,506 +1,507
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-synthetic.t
73 test-convert-cvs-synthetic.t
74 test-convert-cvs.t
74 test-convert-cvs.t
75 test-convert-cvsnt-mergepoints.t
75 test-convert-cvsnt-mergepoints.t
76 test-convert-datesort.t
76 test-convert-datesort.t
77 test-convert-filemap.t
77 test-convert-filemap.t
78 test-convert-hg-sink.t
78 test-convert-hg-sink.t
79 test-convert-hg-source.t
79 test-convert-hg-source.t
80 test-convert-hg-startrev.t
80 test-convert-hg-startrev.t
81 test-convert-splicemap.t
81 test-convert-splicemap.t
82 test-convert-tagsbranch-topology.t
82 test-convert-tagsbranch-topology.t
83 test-copy-move-merge.t
83 test-copy-move-merge.t
84 test-copy.t
84 test-copy.t
85 test-copytrace-heuristics.t
85 test-copytrace-heuristics.t
86 test-debugbuilddag.t
86 test-debugbuilddag.t
87 test-debugbundle.t
87 test-debugbundle.t
88 test-debugextensions.t
88 test-debugextensions.t
89 test-debugindexdot.t
89 test-debugindexdot.t
90 test-debugrename.t
90 test-debugrename.t
91 test-default-push.t
91 test-default-push.t
92 test-diff-binary-file.t
92 test-diff-binary-file.t
93 test-diff-change.t
93 test-diff-change.t
94 test-diff-copy-depth.t
94 test-diff-copy-depth.t
95 test-diff-hashes.t
95 test-diff-hashes.t
96 test-diff-ignore-whitespace.t
96 test-diff-ignore-whitespace.t
97 test-diff-indent-heuristic.t
97 test-diff-indent-heuristic.t
98 test-diff-issue2761.t
98 test-diff-issue2761.t
99 test-diff-newlines.t
99 test-diff-newlines.t
100 test-diff-reverse.t
100 test-diff-reverse.t
101 test-diff-subdir.t
101 test-diff-subdir.t
102 test-diff-unified.t
102 test-diff-unified.t
103 test-diff-upgrade.t
103 test-diff-upgrade.t
104 test-diffdir.t
104 test-diffdir.t
105 test-diffstat.t
105 test-diffstat.t
106 test-directaccess.t
106 test-directaccess.t
107 test-dirstate-backup.t
107 test-dirstate-backup.t
108 test-dirstate-nonnormalset.t
108 test-dirstate-nonnormalset.t
109 test-dirstate.t
109 test-dirstate.t
110 test-dispatch.py
110 test-dispatch.py
111 test-doctest.py
111 test-doctest.py
112 test-double-merge.t
112 test-double-merge.t
113 test-drawdag.t
113 test-drawdag.t
114 test-duplicateoptions.py
114 test-duplicateoptions.py
115 test-editor-filename.t
115 test-editor-filename.t
116 test-empty-dir.t
116 test-empty-dir.t
117 test-empty-file.t
117 test-empty-file.t
118 test-empty-group.t
118 test-empty-group.t
119 test-empty.t
119 test-empty.t
120 test-encode.t
120 test-encode.t
121 test-encoding-func.py
121 test-encoding-func.py
122 test-encoding.t
122 test-encoding.t
123 test-eol-add.t
123 test-eol-add.t
124 test-eol-clone.t
124 test-eol-clone.t
125 test-eol-hook.t
125 test-eol-hook.t
126 test-eol-tag.t
126 test-eol-tag.t
127 test-eol-update.t
127 test-eol-update.t
128 test-excessive-merge.t
128 test-excessive-merge.t
129 test-exchange-obsmarkers-case-A1.t
129 test-exchange-obsmarkers-case-A1.t
130 test-exchange-obsmarkers-case-A2.t
130 test-exchange-obsmarkers-case-A2.t
131 test-exchange-obsmarkers-case-A3.t
131 test-exchange-obsmarkers-case-A3.t
132 test-exchange-obsmarkers-case-A4.t
132 test-exchange-obsmarkers-case-A4.t
133 test-exchange-obsmarkers-case-A5.t
133 test-exchange-obsmarkers-case-A5.t
134 test-exchange-obsmarkers-case-A6.t
134 test-exchange-obsmarkers-case-A6.t
135 test-exchange-obsmarkers-case-A7.t
135 test-exchange-obsmarkers-case-A7.t
136 test-exchange-obsmarkers-case-B1.t
136 test-exchange-obsmarkers-case-B1.t
137 test-exchange-obsmarkers-case-B2.t
137 test-exchange-obsmarkers-case-B2.t
138 test-exchange-obsmarkers-case-B3.t
138 test-exchange-obsmarkers-case-B3.t
139 test-exchange-obsmarkers-case-B4.t
139 test-exchange-obsmarkers-case-B4.t
140 test-exchange-obsmarkers-case-B5.t
140 test-exchange-obsmarkers-case-B5.t
141 test-exchange-obsmarkers-case-B6.t
141 test-exchange-obsmarkers-case-B6.t
142 test-exchange-obsmarkers-case-B7.t
142 test-exchange-obsmarkers-case-B7.t
143 test-exchange-obsmarkers-case-C1.t
143 test-exchange-obsmarkers-case-C1.t
144 test-exchange-obsmarkers-case-C2.t
144 test-exchange-obsmarkers-case-C2.t
145 test-exchange-obsmarkers-case-C3.t
145 test-exchange-obsmarkers-case-C3.t
146 test-exchange-obsmarkers-case-C4.t
146 test-exchange-obsmarkers-case-C4.t
147 test-exchange-obsmarkers-case-D1.t
147 test-exchange-obsmarkers-case-D1.t
148 test-exchange-obsmarkers-case-D2.t
148 test-exchange-obsmarkers-case-D2.t
149 test-exchange-obsmarkers-case-D3.t
149 test-exchange-obsmarkers-case-D3.t
150 test-exchange-obsmarkers-case-D4.t
150 test-exchange-obsmarkers-case-D4.t
151 test-execute-bit.t
151 test-execute-bit.t
152 test-export.t
152 test-export.t
153 test-extdata.t
153 test-extdata.t
154 test-extdiff.t
154 test-extdiff.t
155 test-extensions-afterloaded.t
155 test-extensions-afterloaded.t
156 test-extensions-wrapfunction.py
156 test-extensions-wrapfunction.py
157 test-extra-filelog-entry.t
157 test-extra-filelog-entry.t
158 test-filebranch.t
158 test-filebranch.t
159 test-filecache.py
159 test-filecache.py
160 test-filelog.py
160 test-filelog.py
161 test-fileset-generated.t
161 test-fileset-generated.t
162 test-fileset.t
162 test-fix-topology.t
163 test-fix-topology.t
163 test-flags.t
164 test-flags.t
164 test-generaldelta.t
165 test-generaldelta.t
165 test-getbundle.t
166 test-getbundle.t
166 test-git-export.t
167 test-git-export.t
167 test-glog-topological.t
168 test-glog-topological.t
168 test-gpg.t
169 test-gpg.t
169 test-graft.t
170 test-graft.t
170 test-hg-parseurl.py
171 test-hg-parseurl.py
171 test-hghave.t
172 test-hghave.t
172 test-hgignore.t
173 test-hgignore.t
173 test-hgk.t
174 test-hgk.t
174 test-hgrc.t
175 test-hgrc.t
175 test-hgweb-bundle.t
176 test-hgweb-bundle.t
176 test-hgweb-descend-empties.t
177 test-hgweb-descend-empties.t
177 test-hgweb-empty.t
178 test-hgweb-empty.t
178 test-hgweb-removed.t
179 test-hgweb-removed.t
179 test-hgwebdir-paths.py
180 test-hgwebdir-paths.py
180 test-hgwebdirsym.t
181 test-hgwebdirsym.t
181 test-histedit-arguments.t
182 test-histedit-arguments.t
182 test-histedit-base.t
183 test-histedit-base.t
183 test-histedit-bookmark-motion.t
184 test-histedit-bookmark-motion.t
184 test-histedit-commute.t
185 test-histedit-commute.t
185 test-histedit-drop.t
186 test-histedit-drop.t
186 test-histedit-edit.t
187 test-histedit-edit.t
187 test-histedit-fold-non-commute.t
188 test-histedit-fold-non-commute.t
188 test-histedit-fold.t
189 test-histedit-fold.t
189 test-histedit-no-change.t
190 test-histedit-no-change.t
190 test-histedit-non-commute-abort.t
191 test-histedit-non-commute-abort.t
191 test-histedit-non-commute.t
192 test-histedit-non-commute.t
192 test-histedit-obsolete.t
193 test-histedit-obsolete.t
193 test-histedit-outgoing.t
194 test-histedit-outgoing.t
194 test-histedit-templates.t
195 test-histedit-templates.t
195 test-http-branchmap.t
196 test-http-branchmap.t
196 test-http-bundle1.t
197 test-http-bundle1.t
197 test-http-clone-r.t
198 test-http-clone-r.t
198 test-http.t
199 test-http.t
199 test-hybridencode.py
200 test-hybridencode.py
200 test-identify.t
201 test-identify.t
201 test-import-merge.t
202 test-import-merge.t
202 test-import-unknown.t
203 test-import-unknown.t
203 test-import.t
204 test-import.t
204 test-imports-checker.t
205 test-imports-checker.t
205 test-incoming-outgoing.t
206 test-incoming-outgoing.t
206 test-inherit-mode.t
207 test-inherit-mode.t
207 test-issue1089.t
208 test-issue1089.t
208 test-issue1102.t
209 test-issue1102.t
209 test-issue1175.t
210 test-issue1175.t
210 test-issue1306.t
211 test-issue1306.t
211 test-issue1438.t
212 test-issue1438.t
212 test-issue1502.t
213 test-issue1502.t
213 test-issue1802.t
214 test-issue1802.t
214 test-issue1877.t
215 test-issue1877.t
215 test-issue1993.t
216 test-issue1993.t
216 test-issue2137.t
217 test-issue2137.t
217 test-issue3084.t
218 test-issue3084.t
218 test-issue4074.t
219 test-issue4074.t
219 test-issue522.t
220 test-issue522.t
220 test-issue586.t
221 test-issue586.t
221 test-issue612.t
222 test-issue612.t
222 test-issue619.t
223 test-issue619.t
223 test-issue660.t
224 test-issue660.t
224 test-issue672.t
225 test-issue672.t
225 test-issue842.t
226 test-issue842.t
226 test-journal-exists.t
227 test-journal-exists.t
227 test-journal-share.t
228 test-journal-share.t
228 test-journal.t
229 test-journal.t
229 test-largefiles-cache.t
230 test-largefiles-cache.t
230 test-largefiles-misc.t
231 test-largefiles-misc.t
231 test-largefiles-small-disk.t
232 test-largefiles-small-disk.t
232 test-largefiles-update.t
233 test-largefiles-update.t
233 test-largefiles.t
234 test-largefiles.t
234 test-lfs-largefiles.t
235 test-lfs-largefiles.t
235 test-lfs-pointer.py
236 test-lfs-pointer.py
236 test-linerange.py
237 test-linerange.py
237 test-locate.t
238 test-locate.t
238 test-lock-badness.t
239 test-lock-badness.t
239 test-log-linerange.t
240 test-log-linerange.t
240 test-log.t
241 test-log.t
241 test-logexchange.t
242 test-logexchange.t
242 test-lrucachedict.py
243 test-lrucachedict.py
243 test-mactext.t
244 test-mactext.t
244 test-mailmap.t
245 test-mailmap.t
245 test-manifest-merging.t
246 test-manifest-merging.t
246 test-manifest.py
247 test-manifest.py
247 test-manifest.t
248 test-manifest.t
248 test-match.py
249 test-match.py
249 test-mdiff.py
250 test-mdiff.py
250 test-merge-changedelete.t
251 test-merge-changedelete.t
251 test-merge-closedheads.t
252 test-merge-closedheads.t
252 test-merge-commit.t
253 test-merge-commit.t
253 test-merge-criss-cross.t
254 test-merge-criss-cross.t
254 test-merge-default.t
255 test-merge-default.t
255 test-merge-force.t
256 test-merge-force.t
256 test-merge-halt.t
257 test-merge-halt.t
257 test-merge-internal-tools-pattern.t
258 test-merge-internal-tools-pattern.t
258 test-merge-local.t
259 test-merge-local.t
259 test-merge-remove.t
260 test-merge-remove.t
260 test-merge-revert.t
261 test-merge-revert.t
261 test-merge-revert2.t
262 test-merge-revert2.t
262 test-merge-subrepos.t
263 test-merge-subrepos.t
263 test-merge-symlinks.t
264 test-merge-symlinks.t
264 test-merge-tools.t
265 test-merge-tools.t
265 test-merge-types.t
266 test-merge-types.t
266 test-merge1.t
267 test-merge1.t
267 test-merge10.t
268 test-merge10.t
268 test-merge2.t
269 test-merge2.t
269 test-merge4.t
270 test-merge4.t
270 test-merge5.t
271 test-merge5.t
271 test-merge6.t
272 test-merge6.t
272 test-merge7.t
273 test-merge7.t
273 test-merge8.t
274 test-merge8.t
274 test-merge9.t
275 test-merge9.t
275 test-minifileset.py
276 test-minifileset.py
276 test-minirst.py
277 test-minirst.py
277 test-mq-git.t
278 test-mq-git.t
278 test-mq-header-date.t
279 test-mq-header-date.t
279 test-mq-header-from.t
280 test-mq-header-from.t
280 test-mq-merge.t
281 test-mq-merge.t
281 test-mq-pull-from-bundle.t
282 test-mq-pull-from-bundle.t
282 test-mq-qclone-http.t
283 test-mq-qclone-http.t
283 test-mq-qdelete.t
284 test-mq-qdelete.t
284 test-mq-qdiff.t
285 test-mq-qdiff.t
285 test-mq-qfold.t
286 test-mq-qfold.t
286 test-mq-qgoto.t
287 test-mq-qgoto.t
287 test-mq-qimport-fail-cleanup.t
288 test-mq-qimport-fail-cleanup.t
288 test-mq-qnew.t
289 test-mq-qnew.t
289 test-mq-qpush-exact.t
290 test-mq-qpush-exact.t
290 test-mq-qqueue.t
291 test-mq-qqueue.t
291 test-mq-qrefresh-interactive.t
292 test-mq-qrefresh-interactive.t
292 test-mq-qrefresh-replace-log-message.t
293 test-mq-qrefresh-replace-log-message.t
293 test-mq-qrefresh.t
294 test-mq-qrefresh.t
294 test-mq-qrename.t
295 test-mq-qrename.t
295 test-mq-qsave.t
296 test-mq-qsave.t
296 test-mq-safety.t
297 test-mq-safety.t
297 test-mq-subrepo.t
298 test-mq-subrepo.t
298 test-mq-symlinks.t
299 test-mq-symlinks.t
299 test-mv-cp-st-diff.t
300 test-mv-cp-st-diff.t
300 test-narrow-archive.t
301 test-narrow-archive.t
301 test-narrow-clone-no-ellipsis.t
302 test-narrow-clone-no-ellipsis.t
302 test-narrow-clone-non-narrow-server.t
303 test-narrow-clone-non-narrow-server.t
303 test-narrow-clone-nonlinear.t
304 test-narrow-clone-nonlinear.t
304 test-narrow-clone.t
305 test-narrow-clone.t
305 test-narrow-commit.t
306 test-narrow-commit.t
306 test-narrow-copies.t
307 test-narrow-copies.t
307 test-narrow-debugcommands.t
308 test-narrow-debugcommands.t
308 test-narrow-debugrebuilddirstate.t
309 test-narrow-debugrebuilddirstate.t
309 test-narrow-exchange-merges.t
310 test-narrow-exchange-merges.t
310 test-narrow-exchange.t
311 test-narrow-exchange.t
311 test-narrow-expanddirstate.t
312 test-narrow-expanddirstate.t
312 test-narrow-merge.t
313 test-narrow-merge.t
313 test-narrow-patch.t
314 test-narrow-patch.t
314 test-narrow-patterns.t
315 test-narrow-patterns.t
315 test-narrow-pull.t
316 test-narrow-pull.t
316 test-narrow-rebase.t
317 test-narrow-rebase.t
317 test-narrow-shallow-merges.t
318 test-narrow-shallow-merges.t
318 test-narrow-shallow.t
319 test-narrow-shallow.t
319 test-narrow-strip.t
320 test-narrow-strip.t
320 test-narrow-update.t
321 test-narrow-update.t
321 test-nested-repo.t
322 test-nested-repo.t
322 test-newbranch.t
323 test-newbranch.t
323 test-obshistory.t
324 test-obshistory.t
324 test-obsmarker-template.t
325 test-obsmarker-template.t
325 test-obsmarkers-effectflag.t
326 test-obsmarkers-effectflag.t
326 test-obsolete-bundle-strip.t
327 test-obsolete-bundle-strip.t
327 test-obsolete-changeset-exchange.t
328 test-obsolete-changeset-exchange.t
328 test-obsolete-checkheads.t
329 test-obsolete-checkheads.t
329 test-obsolete-distributed.t
330 test-obsolete-distributed.t
330 test-obsolete-tag-cache.t
331 test-obsolete-tag-cache.t
331 test-pager.t
332 test-pager.t
332 test-parents.t
333 test-parents.t
333 test-parseindex2.py
334 test-parseindex2.py
334 test-pathconflicts-merge.t
335 test-pathconflicts-merge.t
335 test-pathconflicts-update.t
336 test-pathconflicts-update.t
336 test-pathencode.py
337 test-pathencode.py
337 test-pending.t
338 test-pending.t
338 test-permissions.t
339 test-permissions.t
339 test-phases.t
340 test-phases.t
340 test-pull-branch.t
341 test-pull-branch.t
341 test-pull-http.t
342 test-pull-http.t
342 test-pull-permission.t
343 test-pull-permission.t
343 test-pull-pull-corruption.t
344 test-pull-pull-corruption.t
344 test-pull-r.t
345 test-pull-r.t
345 test-pull-update.t
346 test-pull-update.t
346 test-pull.t
347 test-pull.t
347 test-purge.t
348 test-purge.t
348 test-push-checkheads-partial-C1.t
349 test-push-checkheads-partial-C1.t
349 test-push-checkheads-partial-C2.t
350 test-push-checkheads-partial-C2.t
350 test-push-checkheads-partial-C3.t
351 test-push-checkheads-partial-C3.t
351 test-push-checkheads-partial-C4.t
352 test-push-checkheads-partial-C4.t
352 test-push-checkheads-pruned-B1.t
353 test-push-checkheads-pruned-B1.t
353 test-push-checkheads-pruned-B2.t
354 test-push-checkheads-pruned-B2.t
354 test-push-checkheads-pruned-B3.t
355 test-push-checkheads-pruned-B3.t
355 test-push-checkheads-pruned-B4.t
356 test-push-checkheads-pruned-B4.t
356 test-push-checkheads-pruned-B5.t
357 test-push-checkheads-pruned-B5.t
357 test-push-checkheads-pruned-B6.t
358 test-push-checkheads-pruned-B6.t
358 test-push-checkheads-pruned-B7.t
359 test-push-checkheads-pruned-B7.t
359 test-push-checkheads-pruned-B8.t
360 test-push-checkheads-pruned-B8.t
360 test-push-checkheads-superceed-A1.t
361 test-push-checkheads-superceed-A1.t
361 test-push-checkheads-superceed-A2.t
362 test-push-checkheads-superceed-A2.t
362 test-push-checkheads-superceed-A3.t
363 test-push-checkheads-superceed-A3.t
363 test-push-checkheads-superceed-A4.t
364 test-push-checkheads-superceed-A4.t
364 test-push-checkheads-superceed-A5.t
365 test-push-checkheads-superceed-A5.t
365 test-push-checkheads-superceed-A6.t
366 test-push-checkheads-superceed-A6.t
366 test-push-checkheads-superceed-A7.t
367 test-push-checkheads-superceed-A7.t
367 test-push-checkheads-superceed-A8.t
368 test-push-checkheads-superceed-A8.t
368 test-push-checkheads-unpushed-D1.t
369 test-push-checkheads-unpushed-D1.t
369 test-push-checkheads-unpushed-D2.t
370 test-push-checkheads-unpushed-D2.t
370 test-push-checkheads-unpushed-D3.t
371 test-push-checkheads-unpushed-D3.t
371 test-push-checkheads-unpushed-D4.t
372 test-push-checkheads-unpushed-D4.t
372 test-push-checkheads-unpushed-D5.t
373 test-push-checkheads-unpushed-D5.t
373 test-push-checkheads-unpushed-D6.t
374 test-push-checkheads-unpushed-D6.t
374 test-push-checkheads-unpushed-D7.t
375 test-push-checkheads-unpushed-D7.t
375 test-push-http.t
376 test-push-http.t
376 test-push-warn.t
377 test-push-warn.t
377 test-push.t
378 test-push.t
378 test-pushvars.t
379 test-pushvars.t
379 test-rebase-abort.t
380 test-rebase-abort.t
380 test-rebase-base-flag.t
381 test-rebase-base-flag.t
381 test-rebase-bookmarks.t
382 test-rebase-bookmarks.t
382 test-rebase-brute-force.t
383 test-rebase-brute-force.t
383 test-rebase-cache.t
384 test-rebase-cache.t
384 test-rebase-check-restore.t
385 test-rebase-check-restore.t
385 test-rebase-collapse.t
386 test-rebase-collapse.t
386 test-rebase-conflicts.t
387 test-rebase-conflicts.t
387 test-rebase-dest.t
388 test-rebase-dest.t
388 test-rebase-detach.t
389 test-rebase-detach.t
389 test-rebase-emptycommit.t
390 test-rebase-emptycommit.t
390 test-rebase-inmemory.t
391 test-rebase-inmemory.t
391 test-rebase-interruptions.t
392 test-rebase-interruptions.t
392 test-rebase-issue-noparam-single-rev.t
393 test-rebase-issue-noparam-single-rev.t
393 test-rebase-legacy.t
394 test-rebase-legacy.t
394 test-rebase-mq-skip.t
395 test-rebase-mq-skip.t
395 test-rebase-mq.t
396 test-rebase-mq.t
396 test-rebase-named-branches.t
397 test-rebase-named-branches.t
397 test-rebase-newancestor.t
398 test-rebase-newancestor.t
398 test-rebase-obsolete.t
399 test-rebase-obsolete.t
399 test-rebase-parameters.t
400 test-rebase-parameters.t
400 test-rebase-partial.t
401 test-rebase-partial.t
401 test-rebase-pull.t
402 test-rebase-pull.t
402 test-rebase-rename.t
403 test-rebase-rename.t
403 test-rebase-scenario-global.t
404 test-rebase-scenario-global.t
404 test-rebase-templates.t
405 test-rebase-templates.t
405 test-rebase-transaction.t
406 test-rebase-transaction.t
406 test-rebuildstate.t
407 test-rebuildstate.t
407 test-record.t
408 test-record.t
408 test-relink.t
409 test-relink.t
409 test-remove.t
410 test-remove.t
410 test-rename-after-merge.t
411 test-rename-after-merge.t
411 test-rename-dir-merge.t
412 test-rename-dir-merge.t
412 test-rename-merge1.t
413 test-rename-merge1.t
413 test-rename.t
414 test-rename.t
414 test-repair-strip.t
415 test-repair-strip.t
415 test-repo-compengines.t
416 test-repo-compengines.t
416 test-resolve.t
417 test-resolve.t
417 test-revert-flags.t
418 test-revert-flags.t
418 test-revert-interactive.t
419 test-revert-interactive.t
419 test-revert-unknown.t
420 test-revert-unknown.t
420 test-revlog-ancestry.py
421 test-revlog-ancestry.py
421 test-revlog-group-emptyiter.t
422 test-revlog-group-emptyiter.t
422 test-revlog-mmapindex.t
423 test-revlog-mmapindex.t
423 test-revlog-packentry.t
424 test-revlog-packentry.t
424 test-revlog-raw.py
425 test-revlog-raw.py
425 test-revset-dirstate-parents.t
426 test-revset-dirstate-parents.t
426 test-revset-legacy-lookup.t
427 test-revset-legacy-lookup.t
427 test-revset-outgoing.t
428 test-revset-outgoing.t
428 test-rollback.t
429 test-rollback.t
429 test-run-tests.py
430 test-run-tests.py
430 test-run-tests.t
431 test-run-tests.t
431 test-schemes.t
432 test-schemes.t
432 test-serve.t
433 test-serve.t
433 test-setdiscovery.t
434 test-setdiscovery.t
434 test-share.t
435 test-share.t
435 test-shelve.t
436 test-shelve.t
436 test-show-stack.t
437 test-show-stack.t
437 test-show-work.t
438 test-show-work.t
438 test-show.t
439 test-show.t
439 test-simple-update.t
440 test-simple-update.t
440 test-simplekeyvaluefile.py
441 test-simplekeyvaluefile.py
441 test-simplemerge.py
442 test-simplemerge.py
442 test-single-head.t
443 test-single-head.t
443 test-sparse-clear.t
444 test-sparse-clear.t
444 test-sparse-clone.t
445 test-sparse-clone.t
445 test-sparse-import.t
446 test-sparse-import.t
446 test-sparse-merges.t
447 test-sparse-merges.t
447 test-sparse-profiles.t
448 test-sparse-profiles.t
448 test-sparse-requirement.t
449 test-sparse-requirement.t
449 test-sparse-verbose-json.t
450 test-sparse-verbose-json.t
450 test-sparse.t
451 test-sparse.t
451 test-split.t
452 test-split.t
452 test-ssh-clone-r.t
453 test-ssh-clone-r.t
453 test-ssh-proto-unbundle.t
454 test-ssh-proto-unbundle.t
454 test-ssh-proto.t
455 test-ssh-proto.t
455 test-sshserver.py
456 test-sshserver.py
456 test-stack.t
457 test-stack.t
457 test-status-inprocess.py
458 test-status-inprocess.py
458 test-status-rev.t
459 test-status-rev.t
459 test-status-terse.t
460 test-status-terse.t
460 test-strict.t
461 test-strict.t
461 test-strip-cross.t
462 test-strip-cross.t
462 test-strip.t
463 test-strip.t
463 test-subrepo-deep-nested-change.t
464 test-subrepo-deep-nested-change.t
464 test-subrepo-missing.t
465 test-subrepo-missing.t
465 test-subrepo-paths.t
466 test-subrepo-paths.t
466 test-subrepo-recursion.t
467 test-subrepo-recursion.t
467 test-subrepo-relative-path.t
468 test-subrepo-relative-path.t
468 test-subrepo.t
469 test-subrepo.t
469 test-symlink-os-yes-fs-no.py
470 test-symlink-os-yes-fs-no.py
470 test-symlink-placeholder.t
471 test-symlink-placeholder.t
471 test-symlinks.t
472 test-symlinks.t
472 test-tag.t
473 test-tag.t
473 test-tags.t
474 test-tags.t
474 test-template-engine.t
475 test-template-engine.t
475 test-template-filters.t
476 test-template-filters.t
476 test-treemanifest.t
477 test-treemanifest.t
477 test-ui-color.py
478 test-ui-color.py
478 test-ui-config.py
479 test-ui-config.py
479 test-ui-verbosity.py
480 test-ui-verbosity.py
480 test-unamend.t
481 test-unamend.t
481 test-uncommit.t
482 test-uncommit.t
482 test-unified-test.t
483 test-unified-test.t
483 test-unionrepo.t
484 test-unionrepo.t
484 test-unrelated-pull.t
485 test-unrelated-pull.t
485 test-up-local-change.t
486 test-up-local-change.t
486 test-update-branches.t
487 test-update-branches.t
487 test-update-dest.t
488 test-update-dest.t
488 test-update-issue1456.t
489 test-update-issue1456.t
489 test-update-names.t
490 test-update-names.t
490 test-update-reverse.t
491 test-update-reverse.t
491 test-upgrade-repo.t
492 test-upgrade-repo.t
492 test-url-download.t
493 test-url-download.t
493 test-url-rev.t
494 test-url-rev.t
494 test-url.py
495 test-url.py
495 test-username-newline.t
496 test-username-newline.t
496 test-verify.t
497 test-verify.t
497 test-walk.t
498 test-walk.t
498 test-walkrepo.py
499 test-walkrepo.py
499 test-websub.t
500 test-websub.t
500 test-win32text.t
501 test-win32text.t
501 test-wireproto-clientreactor.py
502 test-wireproto-clientreactor.py
502 test-wireproto-framing.py
503 test-wireproto-framing.py
503 test-wireproto-serverreactor.py
504 test-wireproto-serverreactor.py
504 test-wireproto.py
505 test-wireproto.py
505 test-wsgirequest.py
506 test-wsgirequest.py
506 test-xdg.t
507 test-xdg.t
@@ -1,676 +1,676
1 $ fileset() {
1 $ fileset() {
2 > hg debugfileset "$@"
2 > hg debugfileset "$@"
3 > }
3 > }
4
4
5 $ hg init repo
5 $ hg init repo
6 $ cd repo
6 $ cd repo
7 $ echo a > a1
7 $ echo a > a1
8 $ echo a > a2
8 $ echo a > a2
9 $ echo b > b1
9 $ echo b > b1
10 $ echo b > b2
10 $ echo b > b2
11 $ hg ci -Am addfiles
11 $ hg ci -Am addfiles
12 adding a1
12 adding a1
13 adding a2
13 adding a2
14 adding b1
14 adding b1
15 adding b2
15 adding b2
16
16
17 Test operators and basic patterns
17 Test operators and basic patterns
18
18
19 $ fileset -v a1
19 $ fileset -v a1
20 (symbol 'a1')
20 (symbol 'a1')
21 a1
21 a1
22 $ fileset -v 'a*'
22 $ fileset -v 'a*'
23 (symbol 'a*')
23 (symbol 'a*')
24 a1
24 a1
25 a2
25 a2
26 $ fileset -v '"re:a\d"'
26 $ fileset -v '"re:a\d"'
27 (string 're:a\\d')
27 (string 're:a\\d')
28 a1
28 a1
29 a2
29 a2
30 $ fileset -v '!re:"a\d"'
30 $ fileset -v '!re:"a\d"'
31 (not
31 (not
32 (kindpat
32 (kindpat
33 (symbol 're')
33 (symbol 're')
34 (string 'a\\d')))
34 (string 'a\\d')))
35 b1
35 b1
36 b2
36 b2
37 $ fileset -v 'path:a1 or glob:b?'
37 $ fileset -v 'path:a1 or glob:b?'
38 (or
38 (or
39 (kindpat
39 (kindpat
40 (symbol 'path')
40 (symbol 'path')
41 (symbol 'a1'))
41 (symbol 'a1'))
42 (kindpat
42 (kindpat
43 (symbol 'glob')
43 (symbol 'glob')
44 (symbol 'b?')))
44 (symbol 'b?')))
45 a1
45 a1
46 b1
46 b1
47 b2
47 b2
48 $ fileset -v 'a1 or a2'
48 $ fileset -v 'a1 or a2'
49 (or
49 (or
50 (symbol 'a1')
50 (symbol 'a1')
51 (symbol 'a2'))
51 (symbol 'a2'))
52 a1
52 a1
53 a2
53 a2
54 $ fileset 'a1 | a2'
54 $ fileset 'a1 | a2'
55 a1
55 a1
56 a2
56 a2
57 $ fileset 'a* and "*1"'
57 $ fileset 'a* and "*1"'
58 a1
58 a1
59 $ fileset 'a* & "*1"'
59 $ fileset 'a* & "*1"'
60 a1
60 a1
61 $ fileset 'not (r"a*")'
61 $ fileset 'not (r"a*")'
62 b1
62 b1
63 b2
63 b2
64 $ fileset '! ("a*")'
64 $ fileset '! ("a*")'
65 b1
65 b1
66 b2
66 b2
67 $ fileset 'a* - a1'
67 $ fileset 'a* - a1'
68 a2
68 a2
69 $ fileset 'a_b'
69 $ fileset 'a_b'
70 $ fileset '"\xy"'
70 $ fileset '"\xy"'
71 hg: parse error: invalid \x escape
71 hg: parse error: invalid \x escape* (glob)
72 [255]
72 [255]
73
73
74 Test invalid syntax
74 Test invalid syntax
75
75
76 $ fileset -v '"added"()'
76 $ fileset -v '"added"()'
77 (func
77 (func
78 (string 'added')
78 (string 'added')
79 None)
79 None)
80 hg: parse error: not a symbol
80 hg: parse error: not a symbol
81 [255]
81 [255]
82 $ fileset -v '()()'
82 $ fileset -v '()()'
83 (func
83 (func
84 (group
84 (group
85 None)
85 None)
86 None)
86 None)
87 hg: parse error: not a symbol
87 hg: parse error: not a symbol
88 [255]
88 [255]
89 $ fileset -v -- '-x'
89 $ fileset -v -- '-x'
90 (negate
90 (negate
91 (symbol 'x'))
91 (symbol 'x'))
92 hg: parse error: can't use negate operator in this context
92 hg: parse error: can't use negate operator in this context
93 [255]
93 [255]
94 $ fileset -v -- '-()'
94 $ fileset -v -- '-()'
95 (negate
95 (negate
96 (group
96 (group
97 None))
97 None))
98 hg: parse error: can't use negate operator in this context
98 hg: parse error: can't use negate operator in this context
99 [255]
99 [255]
100
100
101 $ fileset '"path":.'
101 $ fileset '"path":.'
102 hg: parse error: not a symbol
102 hg: parse error: not a symbol
103 [255]
103 [255]
104 $ fileset 'path:foo bar'
104 $ fileset 'path:foo bar'
105 hg: parse error at 9: invalid token
105 hg: parse error at 9: invalid token
106 [255]
106 [255]
107 $ fileset 'foo:bar:baz'
107 $ fileset 'foo:bar:baz'
108 hg: parse error: not a symbol
108 hg: parse error: not a symbol
109 [255]
109 [255]
110 $ fileset 'foo:bar()'
110 $ fileset 'foo:bar()'
111 hg: parse error: pattern must be a string
111 hg: parse error: pattern must be a string
112 [255]
112 [255]
113 $ fileset 'foo:bar'
113 $ fileset 'foo:bar'
114 hg: parse error: invalid pattern kind: foo
114 hg: parse error: invalid pattern kind: foo
115 [255]
115 [255]
116
116
117 Test files status
117 Test files status
118
118
119 $ rm a1
119 $ rm a1
120 $ hg rm a2
120 $ hg rm a2
121 $ echo b >> b2
121 $ echo b >> b2
122 $ hg cp b1 c1
122 $ hg cp b1 c1
123 $ echo c > c2
123 $ echo c > c2
124 $ echo c > c3
124 $ echo c > c3
125 $ cat > .hgignore <<EOF
125 $ cat > .hgignore <<EOF
126 > \.hgignore
126 > \.hgignore
127 > 2$
127 > 2$
128 > EOF
128 > EOF
129 $ fileset 'modified()'
129 $ fileset 'modified()'
130 b2
130 b2
131 $ fileset 'added()'
131 $ fileset 'added()'
132 c1
132 c1
133 $ fileset 'removed()'
133 $ fileset 'removed()'
134 a2
134 a2
135 $ fileset 'deleted()'
135 $ fileset 'deleted()'
136 a1
136 a1
137 $ fileset 'missing()'
137 $ fileset 'missing()'
138 a1
138 a1
139 $ fileset 'unknown()'
139 $ fileset 'unknown()'
140 c3
140 c3
141 $ fileset 'ignored()'
141 $ fileset 'ignored()'
142 .hgignore
142 .hgignore
143 c2
143 c2
144 $ fileset 'hgignore()'
144 $ fileset 'hgignore()'
145 a2
145 a2
146 b2
146 b2
147 $ fileset 'clean()'
147 $ fileset 'clean()'
148 b1
148 b1
149 $ fileset 'copied()'
149 $ fileset 'copied()'
150 c1
150 c1
151
151
152 Test files status in different revisions
152 Test files status in different revisions
153
153
154 $ hg status -m
154 $ hg status -m
155 M b2
155 M b2
156 $ fileset -r0 'revs("wdir()", modified())' --traceback
156 $ fileset -r0 'revs("wdir()", modified())' --traceback
157 b2
157 b2
158 $ hg status -a
158 $ hg status -a
159 A c1
159 A c1
160 $ fileset -r0 'revs("wdir()", added())'
160 $ fileset -r0 'revs("wdir()", added())'
161 c1
161 c1
162 $ hg status --change 0 -a
162 $ hg status --change 0 -a
163 A a1
163 A a1
164 A a2
164 A a2
165 A b1
165 A b1
166 A b2
166 A b2
167 $ hg status -mru
167 $ hg status -mru
168 M b2
168 M b2
169 R a2
169 R a2
170 ? c3
170 ? c3
171 $ fileset -r0 'added() and revs("wdir()", modified() or removed() or unknown())'
171 $ fileset -r0 'added() and revs("wdir()", modified() or removed() or unknown())'
172 b2
172 b2
173 a2
173 a2
174 $ fileset -r0 'added() or revs("wdir()", added())'
174 $ fileset -r0 'added() or revs("wdir()", added())'
175 a1
175 a1
176 a2
176 a2
177 b1
177 b1
178 b2
178 b2
179 c1
179 c1
180
180
181 Test files properties
181 Test files properties
182
182
183 >>> open('bin', 'wb').write(b'\0a') and None
183 >>> open('bin', 'wb').write(b'\0a') and None
184 $ fileset 'binary()'
184 $ fileset 'binary()'
185 $ fileset 'binary() and unknown()'
185 $ fileset 'binary() and unknown()'
186 bin
186 bin
187 $ echo '^bin$' >> .hgignore
187 $ echo '^bin$' >> .hgignore
188 $ fileset 'binary() and ignored()'
188 $ fileset 'binary() and ignored()'
189 bin
189 bin
190 $ hg add bin
190 $ hg add bin
191 $ fileset 'binary()'
191 $ fileset 'binary()'
192 bin
192 bin
193
193
194 $ fileset 'grep("b{1}")'
194 $ fileset 'grep("b{1}")'
195 b2
195 b2
196 c1
196 c1
197 b1
197 b1
198 $ fileset 'grep("missingparens(")'
198 $ fileset 'grep("missingparens(")'
199 hg: parse error: invalid match pattern: unbalanced parenthesis
199 hg: parse error: invalid match pattern: (unbalanced parenthesis|missing \)).* (re)
200 [255]
200 [255]
201
201
202 #if execbit
202 #if execbit
203 $ chmod +x b2
203 $ chmod +x b2
204 $ fileset 'exec()'
204 $ fileset 'exec()'
205 b2
205 b2
206 #endif
206 #endif
207
207
208 #if symlink
208 #if symlink
209 $ ln -s b2 b2link
209 $ ln -s b2 b2link
210 $ fileset 'symlink() and unknown()'
210 $ fileset 'symlink() and unknown()'
211 b2link
211 b2link
212 $ hg add b2link
212 $ hg add b2link
213 #endif
213 #endif
214
214
215 #if no-windows
215 #if no-windows
216 $ echo foo > con.xml
216 $ echo foo > con.xml
217 $ fileset 'not portable()'
217 $ fileset 'not portable()'
218 con.xml
218 con.xml
219 $ hg --config ui.portablefilenames=ignore add con.xml
219 $ hg --config ui.portablefilenames=ignore add con.xml
220 #endif
220 #endif
221
221
222 >>> open('1k', 'wb').write(b' '*1024) and None
222 >>> open('1k', 'wb').write(b' '*1024) and None
223 >>> open('2k', 'wb').write(b' '*2048) and None
223 >>> open('2k', 'wb').write(b' '*2048) and None
224 $ hg add 1k 2k
224 $ hg add 1k 2k
225 $ fileset 'size("bar")'
225 $ fileset 'size("bar")'
226 hg: parse error: couldn't parse size: bar
226 hg: parse error: couldn't parse size: bar
227 [255]
227 [255]
228 $ fileset '(1k, 2k)'
228 $ fileset '(1k, 2k)'
229 hg: parse error: can't use a list in this context
229 hg: parse error: can't use a list in this context
230 (see hg help "filesets.x or y")
230 (see hg help "filesets.x or y")
231 [255]
231 [255]
232 $ fileset 'size(1k)'
232 $ fileset 'size(1k)'
233 1k
233 1k
234 $ fileset '(1k or 2k) and size("< 2k")'
234 $ fileset '(1k or 2k) and size("< 2k")'
235 1k
235 1k
236 $ fileset '(1k or 2k) and size("<=2k")'
236 $ fileset '(1k or 2k) and size("<=2k")'
237 1k
237 1k
238 2k
238 2k
239 $ fileset '(1k or 2k) and size("> 1k")'
239 $ fileset '(1k or 2k) and size("> 1k")'
240 2k
240 2k
241 $ fileset '(1k or 2k) and size(">=1K")'
241 $ fileset '(1k or 2k) and size(">=1K")'
242 1k
242 1k
243 2k
243 2k
244 $ fileset '(1k or 2k) and size(".5KB - 1.5kB")'
244 $ fileset '(1k or 2k) and size(".5KB - 1.5kB")'
245 1k
245 1k
246 $ fileset 'size("1M")'
246 $ fileset 'size("1M")'
247 $ fileset 'size("1 GB")'
247 $ fileset 'size("1 GB")'
248
248
249 Test merge states
249 Test merge states
250
250
251 $ hg ci -m manychanges
251 $ hg ci -m manychanges
252 $ hg file -r . 'set:copied() & modified()'
252 $ hg file -r . 'set:copied() & modified()'
253 [1]
253 [1]
254 $ hg up -C 0
254 $ hg up -C 0
255 * files updated, 0 files merged, * files removed, 0 files unresolved (glob)
255 * files updated, 0 files merged, * files removed, 0 files unresolved (glob)
256 $ echo c >> b2
256 $ echo c >> b2
257 $ hg ci -m diverging b2
257 $ hg ci -m diverging b2
258 created new head
258 created new head
259 $ fileset 'resolved()'
259 $ fileset 'resolved()'
260 $ fileset 'unresolved()'
260 $ fileset 'unresolved()'
261 $ hg merge
261 $ hg merge
262 merging b2
262 merging b2
263 warning: conflicts while merging b2! (edit, then use 'hg resolve --mark')
263 warning: conflicts while merging b2! (edit, then use 'hg resolve --mark')
264 * files updated, 0 files merged, 1 files removed, 1 files unresolved (glob)
264 * files updated, 0 files merged, 1 files removed, 1 files unresolved (glob)
265 use 'hg resolve' to retry unresolved file merges or 'hg merge --abort' to abandon
265 use 'hg resolve' to retry unresolved file merges or 'hg merge --abort' to abandon
266 [1]
266 [1]
267 $ fileset 'resolved()'
267 $ fileset 'resolved()'
268 $ fileset 'unresolved()'
268 $ fileset 'unresolved()'
269 b2
269 b2
270 $ echo e > b2
270 $ echo e > b2
271 $ hg resolve -m b2
271 $ hg resolve -m b2
272 (no more unresolved files)
272 (no more unresolved files)
273 $ fileset 'resolved()'
273 $ fileset 'resolved()'
274 b2
274 b2
275 $ fileset 'unresolved()'
275 $ fileset 'unresolved()'
276 $ hg ci -m merge
276 $ hg ci -m merge
277
277
278 Test subrepo predicate
278 Test subrepo predicate
279
279
280 $ hg init sub
280 $ hg init sub
281 $ echo a > sub/suba
281 $ echo a > sub/suba
282 $ hg -R sub add sub/suba
282 $ hg -R sub add sub/suba
283 $ hg -R sub ci -m sub
283 $ hg -R sub ci -m sub
284 $ echo 'sub = sub' > .hgsub
284 $ echo 'sub = sub' > .hgsub
285 $ hg init sub2
285 $ hg init sub2
286 $ echo b > sub2/b
286 $ echo b > sub2/b
287 $ hg -R sub2 ci -Am sub2
287 $ hg -R sub2 ci -Am sub2
288 adding b
288 adding b
289 $ echo 'sub2 = sub2' >> .hgsub
289 $ echo 'sub2 = sub2' >> .hgsub
290 $ fileset 'subrepo()'
290 $ fileset 'subrepo()'
291 $ hg add .hgsub
291 $ hg add .hgsub
292 $ fileset 'subrepo()'
292 $ fileset 'subrepo()'
293 sub
293 sub
294 sub2
294 sub2
295 $ fileset 'subrepo("sub")'
295 $ fileset 'subrepo("sub")'
296 sub
296 sub
297 $ fileset 'subrepo("glob:*")'
297 $ fileset 'subrepo("glob:*")'
298 sub
298 sub
299 sub2
299 sub2
300 $ hg ci -m subrepo
300 $ hg ci -m subrepo
301
301
302 Test that .hgsubstate is updated as appropriate during a conversion. The
302 Test that .hgsubstate is updated as appropriate during a conversion. The
303 saverev property is enough to alter the hashes of the subrepo.
303 saverev property is enough to alter the hashes of the subrepo.
304
304
305 $ hg init ../converted
305 $ hg init ../converted
306 $ hg --config extensions.convert= convert --config convert.hg.saverev=True \
306 $ hg --config extensions.convert= convert --config convert.hg.saverev=True \
307 > sub ../converted/sub
307 > sub ../converted/sub
308 initializing destination ../converted/sub repository
308 initializing destination ../converted/sub repository
309 scanning source...
309 scanning source...
310 sorting...
310 sorting...
311 converting...
311 converting...
312 0 sub
312 0 sub
313 $ hg clone -U sub2 ../converted/sub2
313 $ hg clone -U sub2 ../converted/sub2
314 $ hg --config extensions.convert= convert --config convert.hg.saverev=True \
314 $ hg --config extensions.convert= convert --config convert.hg.saverev=True \
315 > . ../converted
315 > . ../converted
316 scanning source...
316 scanning source...
317 sorting...
317 sorting...
318 converting...
318 converting...
319 4 addfiles
319 4 addfiles
320 3 manychanges
320 3 manychanges
321 2 diverging
321 2 diverging
322 1 merge
322 1 merge
323 0 subrepo
323 0 subrepo
324 no ".hgsubstate" updates will be made for "sub2"
324 no ".hgsubstate" updates will be made for "sub2"
325 $ hg up -q -R ../converted -r tip
325 $ hg up -q -R ../converted -r tip
326 $ hg --cwd ../converted cat sub/suba sub2/b -r tip
326 $ hg --cwd ../converted cat sub/suba sub2/b -r tip
327 a
327 a
328 b
328 b
329 $ oldnode=`hg log -r tip -T "{node}\n"`
329 $ oldnode=`hg log -r tip -T "{node}\n"`
330 $ newnode=`hg log -R ../converted -r tip -T "{node}\n"`
330 $ newnode=`hg log -R ../converted -r tip -T "{node}\n"`
331 $ [ "$oldnode" != "$newnode" ] || echo "nothing changed"
331 $ [ "$oldnode" != "$newnode" ] || echo "nothing changed"
332
332
333 Test with a revision
333 Test with a revision
334
334
335 $ hg log -G --template '{rev} {desc}\n'
335 $ hg log -G --template '{rev} {desc}\n'
336 @ 4 subrepo
336 @ 4 subrepo
337 |
337 |
338 o 3 merge
338 o 3 merge
339 |\
339 |\
340 | o 2 diverging
340 | o 2 diverging
341 | |
341 | |
342 o | 1 manychanges
342 o | 1 manychanges
343 |/
343 |/
344 o 0 addfiles
344 o 0 addfiles
345
345
346 $ echo unknown > unknown
346 $ echo unknown > unknown
347 $ fileset -r1 'modified()'
347 $ fileset -r1 'modified()'
348 b2
348 b2
349 $ fileset -r1 'added() and c1'
349 $ fileset -r1 'added() and c1'
350 c1
350 c1
351 $ fileset -r1 'removed()'
351 $ fileset -r1 'removed()'
352 a2
352 a2
353 $ fileset -r1 'deleted()'
353 $ fileset -r1 'deleted()'
354 $ fileset -r1 'unknown()'
354 $ fileset -r1 'unknown()'
355 $ fileset -r1 'ignored()'
355 $ fileset -r1 'ignored()'
356 $ fileset -r1 'hgignore()'
356 $ fileset -r1 'hgignore()'
357 b2
357 b2
358 bin
358 bin
359 $ fileset -r1 'binary()'
359 $ fileset -r1 'binary()'
360 bin
360 bin
361 $ fileset -r1 'size(1k)'
361 $ fileset -r1 'size(1k)'
362 1k
362 1k
363 $ fileset -r3 'resolved()'
363 $ fileset -r3 'resolved()'
364 $ fileset -r3 'unresolved()'
364 $ fileset -r3 'unresolved()'
365
365
366 #if execbit
366 #if execbit
367 $ fileset -r1 'exec()'
367 $ fileset -r1 'exec()'
368 b2
368 b2
369 #endif
369 #endif
370
370
371 #if symlink
371 #if symlink
372 $ fileset -r1 'symlink()'
372 $ fileset -r1 'symlink()'
373 b2link
373 b2link
374 #endif
374 #endif
375
375
376 #if no-windows
376 #if no-windows
377 $ fileset -r1 'not portable()'
377 $ fileset -r1 'not portable()'
378 con.xml
378 con.xml
379 $ hg forget 'con.xml'
379 $ hg forget 'con.xml'
380 #endif
380 #endif
381
381
382 $ fileset -r4 'subrepo("re:su.*")'
382 $ fileset -r4 'subrepo("re:su.*")'
383 sub
383 sub
384 sub2
384 sub2
385 $ fileset -r4 'subrepo(re:su.*)'
385 $ fileset -r4 'subrepo(re:su.*)'
386 sub
386 sub
387 sub2
387 sub2
388 $ fileset -r4 'subrepo("sub")'
388 $ fileset -r4 'subrepo("sub")'
389 sub
389 sub
390 $ fileset -r4 'b2 or c1'
390 $ fileset -r4 'b2 or c1'
391 b2
391 b2
392 c1
392 c1
393
393
394 >>> open('dos', 'wb').write(b"dos\r\n") and None
394 >>> open('dos', 'wb').write(b"dos\r\n") and None
395 >>> open('mixed', 'wb').write(b"dos\r\nunix\n") and None
395 >>> open('mixed', 'wb').write(b"dos\r\nunix\n") and None
396 >>> open('mac', 'wb').write(b"mac\r") and None
396 >>> open('mac', 'wb').write(b"mac\r") and None
397 $ hg add dos mixed mac
397 $ hg add dos mixed mac
398
398
399 (remove a1, to examine safety of 'eol' on removed files)
399 (remove a1, to examine safety of 'eol' on removed files)
400 $ rm a1
400 $ rm a1
401
401
402 $ fileset 'eol(dos)'
402 $ fileset 'eol(dos)'
403 dos
403 dos
404 mixed
404 mixed
405 $ fileset 'eol(unix)'
405 $ fileset 'eol(unix)'
406 mixed
406 mixed
407 .hgsub
407 .hgsub
408 .hgsubstate
408 .hgsubstate
409 b1
409 b1
410 b2
410 b2
411 c1
411 c1
412 $ fileset 'eol(mac)'
412 $ fileset 'eol(mac)'
413 mac
413 mac
414
414
415 Test safety of 'encoding' on removed files
415 Test safety of 'encoding' on removed files
416
416
417 $ fileset 'encoding("ascii")'
417 $ fileset 'encoding("ascii")'
418 dos
418 dos
419 mac
419 mac
420 mixed
420 mixed
421 .hgsub
421 .hgsub
422 .hgsubstate
422 .hgsubstate
423 1k
423 1k
424 2k
424 2k
425 b1
425 b1
426 b2
426 b2
427 b2link (symlink !)
427 b2link (symlink !)
428 bin
428 bin
429 c1
429 c1
430
430
431 Test detection of unintentional 'matchctx.existing()' invocation
431 Test detection of unintentional 'matchctx.existing()' invocation
432
432
433 $ cat > $TESTTMP/existingcaller.py <<EOF
433 $ cat > $TESTTMP/existingcaller.py <<EOF
434 > from mercurial import registrar
434 > from mercurial import registrar
435 >
435 >
436 > filesetpredicate = registrar.filesetpredicate()
436 > filesetpredicate = registrar.filesetpredicate()
437 > @filesetpredicate(b'existingcaller()', callexisting=False)
437 > @filesetpredicate(b'existingcaller()', callexisting=False)
438 > def existingcaller(mctx, x):
438 > def existingcaller(mctx, x):
439 > # this 'mctx.existing()' invocation is unintentional
439 > # this 'mctx.existing()' invocation is unintentional
440 > return [f for f in mctx.existing()]
440 > return [f for f in mctx.existing()]
441 > EOF
441 > EOF
442
442
443 $ cat >> .hg/hgrc <<EOF
443 $ cat >> .hg/hgrc <<EOF
444 > [extensions]
444 > [extensions]
445 > existingcaller = $TESTTMP/existingcaller.py
445 > existingcaller = $TESTTMP/existingcaller.py
446 > EOF
446 > EOF
447
447
448 $ fileset 'existingcaller()' 2>&1 | tail -1
448 $ fileset 'existingcaller()' 2>&1 | tail -1
449 *ProgrammingError: *unexpected existing() invocation* (glob)
449 *ProgrammingError: *unexpected existing() invocation* (glob)
450
450
451 Test 'revs(...)'
451 Test 'revs(...)'
452 ================
452 ================
453
453
454 small reminder of the repository state
454 small reminder of the repository state
455
455
456 $ hg log -G
456 $ hg log -G
457 @ changeset: 4:* (glob)
457 @ changeset: 4:* (glob)
458 | tag: tip
458 | tag: tip
459 | user: test
459 | user: test
460 | date: Thu Jan 01 00:00:00 1970 +0000
460 | date: Thu Jan 01 00:00:00 1970 +0000
461 | summary: subrepo
461 | summary: subrepo
462 |
462 |
463 o changeset: 3:* (glob)
463 o changeset: 3:* (glob)
464 |\ parent: 2:55b05bdebf36
464 |\ parent: 2:55b05bdebf36
465 | | parent: 1:* (glob)
465 | | parent: 1:* (glob)
466 | | user: test
466 | | user: test
467 | | date: Thu Jan 01 00:00:00 1970 +0000
467 | | date: Thu Jan 01 00:00:00 1970 +0000
468 | | summary: merge
468 | | summary: merge
469 | |
469 | |
470 | o changeset: 2:55b05bdebf36
470 | o changeset: 2:55b05bdebf36
471 | | parent: 0:8a9576c51c1f
471 | | parent: 0:8a9576c51c1f
472 | | user: test
472 | | user: test
473 | | date: Thu Jan 01 00:00:00 1970 +0000
473 | | date: Thu Jan 01 00:00:00 1970 +0000
474 | | summary: diverging
474 | | summary: diverging
475 | |
475 | |
476 o | changeset: 1:* (glob)
476 o | changeset: 1:* (glob)
477 |/ user: test
477 |/ user: test
478 | date: Thu Jan 01 00:00:00 1970 +0000
478 | date: Thu Jan 01 00:00:00 1970 +0000
479 | summary: manychanges
479 | summary: manychanges
480 |
480 |
481 o changeset: 0:8a9576c51c1f
481 o changeset: 0:8a9576c51c1f
482 user: test
482 user: test
483 date: Thu Jan 01 00:00:00 1970 +0000
483 date: Thu Jan 01 00:00:00 1970 +0000
484 summary: addfiles
484 summary: addfiles
485
485
486 $ hg status --change 0
486 $ hg status --change 0
487 A a1
487 A a1
488 A a2
488 A a2
489 A b1
489 A b1
490 A b2
490 A b2
491 $ hg status --change 1
491 $ hg status --change 1
492 M b2
492 M b2
493 A 1k
493 A 1k
494 A 2k
494 A 2k
495 A b2link (no-windows !)
495 A b2link (no-windows !)
496 A bin
496 A bin
497 A c1
497 A c1
498 A con.xml (no-windows !)
498 A con.xml (no-windows !)
499 R a2
499 R a2
500 $ hg status --change 2
500 $ hg status --change 2
501 M b2
501 M b2
502 $ hg status --change 3
502 $ hg status --change 3
503 M b2
503 M b2
504 A 1k
504 A 1k
505 A 2k
505 A 2k
506 A b2link (no-windows !)
506 A b2link (no-windows !)
507 A bin
507 A bin
508 A c1
508 A c1
509 A con.xml (no-windows !)
509 A con.xml (no-windows !)
510 R a2
510 R a2
511 $ hg status --change 4
511 $ hg status --change 4
512 A .hgsub
512 A .hgsub
513 A .hgsubstate
513 A .hgsubstate
514 $ hg status
514 $ hg status
515 A dos
515 A dos
516 A mac
516 A mac
517 A mixed
517 A mixed
518 R con.xml (no-windows !)
518 R con.xml (no-windows !)
519 ! a1
519 ! a1
520 ? b2.orig
520 ? b2.orig
521 ? c3
521 ? c3
522 ? unknown
522 ? unknown
523
523
524 Test files at -r0 should be filtered by files at wdir
524 Test files at -r0 should be filtered by files at wdir
525 -----------------------------------------------------
525 -----------------------------------------------------
526
526
527 $ fileset -r0 '* and revs("wdir()", *)'
527 $ fileset -r0 '* and revs("wdir()", *)'
528 a1
528 a1
529 b1
529 b1
530 b2
530 b2
531
531
532 Test that "revs()" work at all
532 Test that "revs()" work at all
533 ------------------------------
533 ------------------------------
534
534
535 $ fileset "revs('2', modified())"
535 $ fileset "revs('2', modified())"
536 b2
536 b2
537
537
538 Test that "revs()" work for file missing in the working copy/current context
538 Test that "revs()" work for file missing in the working copy/current context
539 ----------------------------------------------------------------------------
539 ----------------------------------------------------------------------------
540
540
541 (a2 not in working copy)
541 (a2 not in working copy)
542
542
543 $ fileset "revs('0', added())"
543 $ fileset "revs('0', added())"
544 a1
544 a1
545 a2
545 a2
546 b1
546 b1
547 b2
547 b2
548
548
549 (none of the file exist in "0")
549 (none of the file exist in "0")
550
550
551 $ fileset -r 0 "revs('4', added())"
551 $ fileset -r 0 "revs('4', added())"
552 .hgsub
552 .hgsub
553 .hgsubstate
553 .hgsubstate
554
554
555 Call with empty revset
555 Call with empty revset
556 --------------------------
556 --------------------------
557
557
558 $ fileset "revs('2-2', modified())"
558 $ fileset "revs('2-2', modified())"
559
559
560 Call with revset matching multiple revs
560 Call with revset matching multiple revs
561 ---------------------------------------
561 ---------------------------------------
562
562
563 $ fileset "revs('0+4', added())"
563 $ fileset "revs('0+4', added())"
564 a1
564 a1
565 a2
565 a2
566 b1
566 b1
567 b2
567 b2
568 .hgsub
568 .hgsub
569 .hgsubstate
569 .hgsubstate
570
570
571 overlapping set
571 overlapping set
572
572
573 $ fileset "revs('1+2', modified())"
573 $ fileset "revs('1+2', modified())"
574 b2
574 b2
575
575
576 test 'status(...)'
576 test 'status(...)'
577 =================
577 =================
578
578
579 Simple case
579 Simple case
580 -----------
580 -----------
581
581
582 $ fileset "status(3, 4, added())"
582 $ fileset "status(3, 4, added())"
583 .hgsub
583 .hgsub
584 .hgsubstate
584 .hgsubstate
585
585
586 use rev to restrict matched file
586 use rev to restrict matched file
587 -----------------------------------------
587 -----------------------------------------
588
588
589 $ hg status --removed --rev 0 --rev 1
589 $ hg status --removed --rev 0 --rev 1
590 R a2
590 R a2
591 $ fileset "status(0, 1, removed())"
591 $ fileset "status(0, 1, removed())"
592 a2
592 a2
593 $ fileset "* and status(0, 1, removed())"
593 $ fileset "* and status(0, 1, removed())"
594 $ fileset -r 4 "status(0, 1, removed())"
594 $ fileset -r 4 "status(0, 1, removed())"
595 a2
595 a2
596 $ fileset -r 4 "* and status(0, 1, removed())"
596 $ fileset -r 4 "* and status(0, 1, removed())"
597 $ fileset "revs('4', * and status(0, 1, removed()))"
597 $ fileset "revs('4', * and status(0, 1, removed()))"
598 $ fileset "revs('0', * and status(0, 1, removed()))"
598 $ fileset "revs('0', * and status(0, 1, removed()))"
599 a2
599 a2
600
600
601 check wdir()
601 check wdir()
602 ------------
602 ------------
603
603
604 $ hg status --removed --rev 4
604 $ hg status --removed --rev 4
605 R con.xml (no-windows !)
605 R con.xml (no-windows !)
606 $ fileset "status(4, 'wdir()', removed())"
606 $ fileset "status(4, 'wdir()', removed())"
607 con.xml (no-windows !)
607 con.xml (no-windows !)
608
608
609 $ hg status --removed --rev 2
609 $ hg status --removed --rev 2
610 R a2
610 R a2
611 $ fileset "status('2', 'wdir()', removed())"
611 $ fileset "status('2', 'wdir()', removed())"
612 a2
612 a2
613
613
614 test backward status
614 test backward status
615 --------------------
615 --------------------
616
616
617 $ hg status --removed --rev 0 --rev 4
617 $ hg status --removed --rev 0 --rev 4
618 R a2
618 R a2
619 $ hg status --added --rev 4 --rev 0
619 $ hg status --added --rev 4 --rev 0
620 A a2
620 A a2
621 $ fileset "status(4, 0, added())"
621 $ fileset "status(4, 0, added())"
622 a2
622 a2
623
623
624 test cross branch status
624 test cross branch status
625 ------------------------
625 ------------------------
626
626
627 $ hg status --added --rev 1 --rev 2
627 $ hg status --added --rev 1 --rev 2
628 A a2
628 A a2
629 $ fileset "status(1, 2, added())"
629 $ fileset "status(1, 2, added())"
630 a2
630 a2
631
631
632 test with multi revs revset
632 test with multi revs revset
633 ---------------------------
633 ---------------------------
634 $ hg status --added --rev 0:1 --rev 3:4
634 $ hg status --added --rev 0:1 --rev 3:4
635 A .hgsub
635 A .hgsub
636 A .hgsubstate
636 A .hgsubstate
637 A 1k
637 A 1k
638 A 2k
638 A 2k
639 A b2link (no-windows !)
639 A b2link (no-windows !)
640 A bin
640 A bin
641 A c1
641 A c1
642 A con.xml (no-windows !)
642 A con.xml (no-windows !)
643 $ fileset "status('0:1', '3:4', added())"
643 $ fileset "status('0:1', '3:4', added())"
644 .hgsub
644 .hgsub
645 .hgsubstate
645 .hgsubstate
646 1k
646 1k
647 2k
647 2k
648 b2link (no-windows !)
648 b2link (no-windows !)
649 bin
649 bin
650 c1
650 c1
651 con.xml (no-windows !)
651 con.xml (no-windows !)
652
652
653 tests with empty value
653 tests with empty value
654 ----------------------
654 ----------------------
655
655
656 Fully empty revset
656 Fully empty revset
657
657
658 $ fileset "status('', '4', added())"
658 $ fileset "status('', '4', added())"
659 hg: parse error: first argument to status must be a revision
659 hg: parse error: first argument to status must be a revision
660 [255]
660 [255]
661 $ fileset "status('2', '', added())"
661 $ fileset "status('2', '', added())"
662 hg: parse error: second argument to status must be a revision
662 hg: parse error: second argument to status must be a revision
663 [255]
663 [255]
664
664
665 Empty revset will error at the revset layer
665 Empty revset will error at the revset layer
666
666
667 $ fileset "status(' ', '4', added())"
667 $ fileset "status(' ', '4', added())"
668 hg: parse error at 1: not a prefix: end
668 hg: parse error at 1: not a prefix: end
669 (
669 (
670 ^ here)
670 ^ here)
671 [255]
671 [255]
672 $ fileset "status('2', ' ', added())"
672 $ fileset "status('2', ' ', added())"
673 hg: parse error at 1: not a prefix: end
673 hg: parse error at 1: not a prefix: end
674 (
674 (
675 ^ here)
675 ^ here)
676 [255]
676 [255]
General Comments 0
You need to be logged in to leave comments. Login now