##// END OF EJS Templates
py3: add b'' prefixes in tests/test-progress.t...
Pulkit Goyal -
r40258:af5e2b23 default
parent child Browse files
Show More
@@ -1,601 +1,602 b''
1 test-abort-checkin.t
1 test-abort-checkin.t
2 test-absorb-filefixupstate.py
2 test-absorb-filefixupstate.py
3 test-absorb-phase.t
3 test-absorb-phase.t
4 test-absorb-rename.t
4 test-absorb-rename.t
5 test-absorb-strip.t
5 test-absorb-strip.t
6 test-absorb.t
6 test-absorb.t
7 test-add.t
7 test-add.t
8 test-addremove-similar.t
8 test-addremove-similar.t
9 test-addremove.t
9 test-addremove.t
10 test-alias.t
10 test-alias.t
11 test-amend-subrepo.t
11 test-amend-subrepo.t
12 test-amend.t
12 test-amend.t
13 test-ancestor.py
13 test-ancestor.py
14 test-annotate.py
14 test-annotate.py
15 test-annotate.t
15 test-annotate.t
16 test-archive-symlinks.t
16 test-archive-symlinks.t
17 test-atomictempfile.py
17 test-atomictempfile.py
18 test-audit-path.t
18 test-audit-path.t
19 test-audit-subrepo.t
19 test-audit-subrepo.t
20 test-automv.t
20 test-automv.t
21 test-backout.t
21 test-backout.t
22 test-backwards-remove.t
22 test-backwards-remove.t
23 test-bad-pull.t
23 test-bad-pull.t
24 test-basic.t
24 test-basic.t
25 test-bdiff.py
25 test-bdiff.py
26 test-bheads.t
26 test-bheads.t
27 test-bisect.t
27 test-bisect.t
28 test-bisect2.t
28 test-bisect2.t
29 test-bisect3.t
29 test-bisect3.t
30 test-blackbox.t
30 test-blackbox.t
31 test-bookmarks-current.t
31 test-bookmarks-current.t
32 test-bookmarks-merge.t
32 test-bookmarks-merge.t
33 test-bookmarks-pushpull.t
33 test-bookmarks-pushpull.t
34 test-bookmarks-rebase.t
34 test-bookmarks-rebase.t
35 test-bookmarks-strip.t
35 test-bookmarks-strip.t
36 test-bookmarks.t
36 test-bookmarks.t
37 test-branch-change.t
37 test-branch-change.t
38 test-branch-option.t
38 test-branch-option.t
39 test-branch-tag-confict.t
39 test-branch-tag-confict.t
40 test-branches.t
40 test-branches.t
41 test-bundle-phases.t
41 test-bundle-phases.t
42 test-bundle-r.t
42 test-bundle-r.t
43 test-bundle-type.t
43 test-bundle-type.t
44 test-bundle-vs-outgoing.t
44 test-bundle-vs-outgoing.t
45 test-bundle.t
45 test-bundle.t
46 test-bundle2-exchange.t
46 test-bundle2-exchange.t
47 test-bundle2-format.t
47 test-bundle2-format.t
48 test-bundle2-multiple-changegroups.t
48 test-bundle2-multiple-changegroups.t
49 test-bundle2-pushback.t
49 test-bundle2-pushback.t
50 test-bundle2-remote-changegroup.t
50 test-bundle2-remote-changegroup.t
51 test-cappedreader.py
51 test-cappedreader.py
52 test-casecollision.t
52 test-casecollision.t
53 test-cat.t
53 test-cat.t
54 test-cbor.py
54 test-cbor.py
55 test-censor.t
55 test-censor.t
56 test-changelog-exec.t
56 test-changelog-exec.t
57 test-check-code.t
57 test-check-code.t
58 test-check-commit.t
58 test-check-commit.t
59 test-check-execute.t
59 test-check-execute.t
60 test-check-interfaces.py
60 test-check-interfaces.py
61 test-check-module-imports.t
61 test-check-module-imports.t
62 test-check-py3-compat.t
62 test-check-py3-compat.t
63 test-check-pyflakes.t
63 test-check-pyflakes.t
64 test-check-pylint.t
64 test-check-pylint.t
65 test-check-shbang.t
65 test-check-shbang.t
66 test-children.t
66 test-children.t
67 test-clone-cgi.t
67 test-clone-cgi.t
68 test-clone-pull-corruption.t
68 test-clone-pull-corruption.t
69 test-clone-r.t
69 test-clone-r.t
70 test-clone-uncompressed.t
70 test-clone-uncompressed.t
71 test-clone-update-order.t
71 test-clone-update-order.t
72 test-clone.t
72 test-clone.t
73 test-clonebundles.t
73 test-clonebundles.t
74 test-commit-amend.t
74 test-commit-amend.t
75 test-commit-interactive.t
75 test-commit-interactive.t
76 test-commit-multiple.t
76 test-commit-multiple.t
77 test-commit-unresolved.t
77 test-commit-unresolved.t
78 test-commit.t
78 test-commit.t
79 test-committer.t
79 test-committer.t
80 test-completion.t
80 test-completion.t
81 test-config-env.py
81 test-config-env.py
82 test-config.t
82 test-config.t
83 test-conflict.t
83 test-conflict.t
84 test-confused-revert.t
84 test-confused-revert.t
85 test-context.py
85 test-context.py
86 test-contrib-check-code.t
86 test-contrib-check-code.t
87 test-contrib-check-commit.t
87 test-contrib-check-commit.t
88 test-contrib-dumprevlog.t
88 test-contrib-dumprevlog.t
89 test-contrib-perf.t
89 test-contrib-perf.t
90 test-contrib-testparseutil.t
90 test-contrib-testparseutil.t
91 test-convert-authormap.t
91 test-convert-authormap.t
92 test-convert-clonebranches.t
92 test-convert-clonebranches.t
93 test-convert-cvs-branch.t
93 test-convert-cvs-branch.t
94 test-convert-cvs-detectmerge.t
94 test-convert-cvs-detectmerge.t
95 test-convert-cvs-synthetic.t
95 test-convert-cvs-synthetic.t
96 test-convert-cvs.t
96 test-convert-cvs.t
97 test-convert-cvsnt-mergepoints.t
97 test-convert-cvsnt-mergepoints.t
98 test-convert-datesort.t
98 test-convert-datesort.t
99 test-convert-filemap.t
99 test-convert-filemap.t
100 test-convert-hg-sink.t
100 test-convert-hg-sink.t
101 test-convert-hg-source.t
101 test-convert-hg-source.t
102 test-convert-hg-startrev.t
102 test-convert-hg-startrev.t
103 test-convert-splicemap.t
103 test-convert-splicemap.t
104 test-convert-tagsbranch-topology.t
104 test-convert-tagsbranch-topology.t
105 test-copy-move-merge.t
105 test-copy-move-merge.t
106 test-copy.t
106 test-copy.t
107 test-copytrace-heuristics.t
107 test-copytrace-heuristics.t
108 test-debugbuilddag.t
108 test-debugbuilddag.t
109 test-debugbundle.t
109 test-debugbundle.t
110 test-debugcommands.t
110 test-debugcommands.t
111 test-debugextensions.t
111 test-debugextensions.t
112 test-debugindexdot.t
112 test-debugindexdot.t
113 test-debugrename.t
113 test-debugrename.t
114 test-default-push.t
114 test-default-push.t
115 test-diff-antipatience.t
115 test-diff-antipatience.t
116 test-diff-binary-file.t
116 test-diff-binary-file.t
117 test-diff-change.t
117 test-diff-change.t
118 test-diff-copy-depth.t
118 test-diff-copy-depth.t
119 test-diff-hashes.t
119 test-diff-hashes.t
120 test-diff-ignore-whitespace.t
120 test-diff-ignore-whitespace.t
121 test-diff-indent-heuristic.t
121 test-diff-indent-heuristic.t
122 test-diff-issue2761.t
122 test-diff-issue2761.t
123 test-diff-newlines.t
123 test-diff-newlines.t
124 test-diff-reverse.t
124 test-diff-reverse.t
125 test-diff-subdir.t
125 test-diff-subdir.t
126 test-diff-unified.t
126 test-diff-unified.t
127 test-diff-upgrade.t
127 test-diff-upgrade.t
128 test-diffdir.t
128 test-diffdir.t
129 test-diffstat.t
129 test-diffstat.t
130 test-directaccess.t
130 test-directaccess.t
131 test-dirstate-backup.t
131 test-dirstate-backup.t
132 test-dirstate-nonnormalset.t
132 test-dirstate-nonnormalset.t
133 test-dirstate.t
133 test-dirstate.t
134 test-dispatch.py
134 test-dispatch.py
135 test-doctest.py
135 test-doctest.py
136 test-double-merge.t
136 test-double-merge.t
137 test-drawdag.t
137 test-drawdag.t
138 test-duplicateoptions.py
138 test-duplicateoptions.py
139 test-editor-filename.t
139 test-editor-filename.t
140 test-empty-dir.t
140 test-empty-dir.t
141 test-empty-file.t
141 test-empty-file.t
142 test-empty-group.t
142 test-empty-group.t
143 test-empty.t
143 test-empty.t
144 test-encode.t
144 test-encode.t
145 test-encoding-func.py
145 test-encoding-func.py
146 test-encoding.t
146 test-encoding.t
147 test-eol-add.t
147 test-eol-add.t
148 test-eol-clone.t
148 test-eol-clone.t
149 test-eol-hook.t
149 test-eol-hook.t
150 test-eol-patch.t
150 test-eol-patch.t
151 test-eol-tag.t
151 test-eol-tag.t
152 test-eol-update.t
152 test-eol-update.t
153 test-eol.t
153 test-eol.t
154 test-eolfilename.t
154 test-eolfilename.t
155 test-excessive-merge.t
155 test-excessive-merge.t
156 test-exchange-obsmarkers-case-A1.t
156 test-exchange-obsmarkers-case-A1.t
157 test-exchange-obsmarkers-case-A2.t
157 test-exchange-obsmarkers-case-A2.t
158 test-exchange-obsmarkers-case-A3.t
158 test-exchange-obsmarkers-case-A3.t
159 test-exchange-obsmarkers-case-A4.t
159 test-exchange-obsmarkers-case-A4.t
160 test-exchange-obsmarkers-case-A5.t
160 test-exchange-obsmarkers-case-A5.t
161 test-exchange-obsmarkers-case-A6.t
161 test-exchange-obsmarkers-case-A6.t
162 test-exchange-obsmarkers-case-A7.t
162 test-exchange-obsmarkers-case-A7.t
163 test-exchange-obsmarkers-case-B1.t
163 test-exchange-obsmarkers-case-B1.t
164 test-exchange-obsmarkers-case-B2.t
164 test-exchange-obsmarkers-case-B2.t
165 test-exchange-obsmarkers-case-B3.t
165 test-exchange-obsmarkers-case-B3.t
166 test-exchange-obsmarkers-case-B4.t
166 test-exchange-obsmarkers-case-B4.t
167 test-exchange-obsmarkers-case-B5.t
167 test-exchange-obsmarkers-case-B5.t
168 test-exchange-obsmarkers-case-B6.t
168 test-exchange-obsmarkers-case-B6.t
169 test-exchange-obsmarkers-case-B7.t
169 test-exchange-obsmarkers-case-B7.t
170 test-exchange-obsmarkers-case-C1.t
170 test-exchange-obsmarkers-case-C1.t
171 test-exchange-obsmarkers-case-C2.t
171 test-exchange-obsmarkers-case-C2.t
172 test-exchange-obsmarkers-case-C3.t
172 test-exchange-obsmarkers-case-C3.t
173 test-exchange-obsmarkers-case-C4.t
173 test-exchange-obsmarkers-case-C4.t
174 test-exchange-obsmarkers-case-D1.t
174 test-exchange-obsmarkers-case-D1.t
175 test-exchange-obsmarkers-case-D2.t
175 test-exchange-obsmarkers-case-D2.t
176 test-exchange-obsmarkers-case-D3.t
176 test-exchange-obsmarkers-case-D3.t
177 test-exchange-obsmarkers-case-D4.t
177 test-exchange-obsmarkers-case-D4.t
178 test-execute-bit.t
178 test-execute-bit.t
179 test-export.t
179 test-export.t
180 test-extdata.t
180 test-extdata.t
181 test-extdiff.t
181 test-extdiff.t
182 test-extensions-afterloaded.t
182 test-extensions-afterloaded.t
183 test-extensions-wrapfunction.py
183 test-extensions-wrapfunction.py
184 test-extra-filelog-entry.t
184 test-extra-filelog-entry.t
185 test-fetch.t
185 test-fetch.t
186 test-filebranch.t
186 test-filebranch.t
187 test-filecache.py
187 test-filecache.py
188 test-filelog.py
188 test-filelog.py
189 test-fileset-generated.t
189 test-fileset-generated.t
190 test-fileset.t
190 test-fileset.t
191 test-fix-topology.t
191 test-fix-topology.t
192 test-flags.t
192 test-flags.t
193 test-generaldelta.t
193 test-generaldelta.t
194 test-getbundle.t
194 test-getbundle.t
195 test-git-export.t
195 test-git-export.t
196 test-glog-beautifygraph.t
196 test-glog-beautifygraph.t
197 test-glog-topological.t
197 test-glog-topological.t
198 test-glog.t
198 test-glog.t
199 test-gpg.t
199 test-gpg.t
200 test-graft.t
200 test-graft.t
201 test-grep.t
201 test-grep.t
202 test-hg-parseurl.py
202 test-hg-parseurl.py
203 test-hghave.t
203 test-hghave.t
204 test-hgignore.t
204 test-hgignore.t
205 test-hgk.t
205 test-hgk.t
206 test-hgrc.t
206 test-hgrc.t
207 test-hgweb-annotate-whitespace.t
207 test-hgweb-annotate-whitespace.t
208 test-hgweb-bundle.t
208 test-hgweb-bundle.t
209 test-hgweb-csp.t
209 test-hgweb-csp.t
210 test-hgweb-descend-empties.t
210 test-hgweb-descend-empties.t
211 test-hgweb-diffs.t
211 test-hgweb-diffs.t
212 test-hgweb-empty.t
212 test-hgweb-empty.t
213 test-hgweb-filelog.t
213 test-hgweb-filelog.t
214 test-hgweb-non-interactive.t
214 test-hgweb-non-interactive.t
215 test-hgweb-raw.t
215 test-hgweb-raw.t
216 test-hgweb-removed.t
216 test-hgweb-removed.t
217 test-hgweb.t
217 test-hgweb.t
218 test-hgwebdir-paths.py
218 test-hgwebdir-paths.py
219 test-hgwebdirsym.t
219 test-hgwebdirsym.t
220 test-histedit-arguments.t
220 test-histedit-arguments.t
221 test-histedit-base.t
221 test-histedit-base.t
222 test-histedit-bookmark-motion.t
222 test-histedit-bookmark-motion.t
223 test-histedit-commute.t
223 test-histedit-commute.t
224 test-histedit-drop.t
224 test-histedit-drop.t
225 test-histedit-edit.t
225 test-histedit-edit.t
226 test-histedit-fold-non-commute.t
226 test-histedit-fold-non-commute.t
227 test-histedit-fold.t
227 test-histedit-fold.t
228 test-histedit-no-backup.t
228 test-histedit-no-backup.t
229 test-histedit-no-change.t
229 test-histedit-no-change.t
230 test-histedit-non-commute-abort.t
230 test-histedit-non-commute-abort.t
231 test-histedit-non-commute.t
231 test-histedit-non-commute.t
232 test-histedit-obsolete.t
232 test-histedit-obsolete.t
233 test-histedit-outgoing.t
233 test-histedit-outgoing.t
234 test-histedit-templates.t
234 test-histedit-templates.t
235 test-http-branchmap.t
235 test-http-branchmap.t
236 test-http-bundle1.t
236 test-http-bundle1.t
237 test-http-clone-r.t
237 test-http-clone-r.t
238 test-http-permissions.t
238 test-http-permissions.t
239 test-http.t
239 test-http.t
240 test-hybridencode.py
240 test-hybridencode.py
241 test-i18n.t
241 test-i18n.t
242 test-identify.t
242 test-identify.t
243 test-impexp-branch.t
243 test-impexp-branch.t
244 test-import-bypass.t
244 test-import-bypass.t
245 test-import-eol.t
245 test-import-eol.t
246 test-import-merge.t
246 test-import-merge.t
247 test-import-unknown.t
247 test-import-unknown.t
248 test-import.t
248 test-import.t
249 test-imports-checker.t
249 test-imports-checker.t
250 test-incoming-outgoing.t
250 test-incoming-outgoing.t
251 test-inherit-mode.t
251 test-inherit-mode.t
252 test-init.t
252 test-init.t
253 test-issue1089.t
253 test-issue1089.t
254 test-issue1102.t
254 test-issue1102.t
255 test-issue1175.t
255 test-issue1175.t
256 test-issue1306.t
256 test-issue1306.t
257 test-issue1438.t
257 test-issue1438.t
258 test-issue1502.t
258 test-issue1502.t
259 test-issue1802.t
259 test-issue1802.t
260 test-issue1877.t
260 test-issue1877.t
261 test-issue1993.t
261 test-issue1993.t
262 test-issue2137.t
262 test-issue2137.t
263 test-issue3084.t
263 test-issue3084.t
264 test-issue4074.t
264 test-issue4074.t
265 test-issue522.t
265 test-issue522.t
266 test-issue586.t
266 test-issue586.t
267 test-issue5979.t
267 test-issue5979.t
268 test-issue612.t
268 test-issue612.t
269 test-issue619.t
269 test-issue619.t
270 test-issue660.t
270 test-issue660.t
271 test-issue672.t
271 test-issue672.t
272 test-issue842.t
272 test-issue842.t
273 test-journal-exists.t
273 test-journal-exists.t
274 test-journal-share.t
274 test-journal-share.t
275 test-journal.t
275 test-journal.t
276 test-known.t
276 test-known.t
277 test-largefiles-cache.t
277 test-largefiles-cache.t
278 test-largefiles-misc.t
278 test-largefiles-misc.t
279 test-largefiles-small-disk.t
279 test-largefiles-small-disk.t
280 test-largefiles-update.t
280 test-largefiles-update.t
281 test-largefiles.t
281 test-largefiles.t
282 test-lfs-largefiles.t
282 test-lfs-largefiles.t
283 test-lfs-pointer.py
283 test-lfs-pointer.py
284 test-linelog.py
284 test-linelog.py
285 test-linerange.py
285 test-linerange.py
286 test-locate.t
286 test-locate.t
287 test-lock-badness.t
287 test-lock-badness.t
288 test-log-linerange.t
288 test-log-linerange.t
289 test-log.t
289 test-log.t
290 test-logexchange.t
290 test-logexchange.t
291 test-lrucachedict.py
291 test-lrucachedict.py
292 test-mactext.t
292 test-mactext.t
293 test-mailmap.t
293 test-mailmap.t
294 test-manifest-merging.t
294 test-manifest-merging.t
295 test-manifest.py
295 test-manifest.py
296 test-manifest.t
296 test-manifest.t
297 test-match.py
297 test-match.py
298 test-mdiff.py
298 test-mdiff.py
299 test-merge-changedelete.t
299 test-merge-changedelete.t
300 test-merge-closedheads.t
300 test-merge-closedheads.t
301 test-merge-commit.t
301 test-merge-commit.t
302 test-merge-criss-cross.t
302 test-merge-criss-cross.t
303 test-merge-default.t
303 test-merge-default.t
304 test-merge-force.t
304 test-merge-force.t
305 test-merge-halt.t
305 test-merge-halt.t
306 test-merge-internal-tools-pattern.t
306 test-merge-internal-tools-pattern.t
307 test-merge-local.t
307 test-merge-local.t
308 test-merge-no-file-change.t
308 test-merge-no-file-change.t
309 test-merge-remove.t
309 test-merge-remove.t
310 test-merge-revert.t
310 test-merge-revert.t
311 test-merge-revert2.t
311 test-merge-revert2.t
312 test-merge-subrepos.t
312 test-merge-subrepos.t
313 test-merge-symlinks.t
313 test-merge-symlinks.t
314 test-merge-tools.t
314 test-merge-tools.t
315 test-merge-types.t
315 test-merge-types.t
316 test-merge1.t
316 test-merge1.t
317 test-merge10.t
317 test-merge10.t
318 test-merge2.t
318 test-merge2.t
319 test-merge4.t
319 test-merge4.t
320 test-merge5.t
320 test-merge5.t
321 test-merge6.t
321 test-merge6.t
322 test-merge7.t
322 test-merge7.t
323 test-merge8.t
323 test-merge8.t
324 test-merge9.t
324 test-merge9.t
325 test-minifileset.py
325 test-minifileset.py
326 test-minirst.py
326 test-minirst.py
327 test-mq-git.t
327 test-mq-git.t
328 test-mq-guards.t
328 test-mq-guards.t
329 test-mq-header-date.t
329 test-mq-header-date.t
330 test-mq-header-from.t
330 test-mq-header-from.t
331 test-mq-merge.t
331 test-mq-merge.t
332 test-mq-pull-from-bundle.t
332 test-mq-pull-from-bundle.t
333 test-mq-qclone-http.t
333 test-mq-qclone-http.t
334 test-mq-qdelete.t
334 test-mq-qdelete.t
335 test-mq-qdiff.t
335 test-mq-qdiff.t
336 test-mq-qfold.t
336 test-mq-qfold.t
337 test-mq-qgoto.t
337 test-mq-qgoto.t
338 test-mq-qimport-fail-cleanup.t
338 test-mq-qimport-fail-cleanup.t
339 test-mq-qnew.t
339 test-mq-qnew.t
340 test-mq-qpush-exact.t
340 test-mq-qpush-exact.t
341 test-mq-qpush-fail.t
341 test-mq-qpush-fail.t
342 test-mq-qqueue.t
342 test-mq-qqueue.t
343 test-mq-qrefresh-interactive.t
343 test-mq-qrefresh-interactive.t
344 test-mq-qrefresh-replace-log-message.t
344 test-mq-qrefresh-replace-log-message.t
345 test-mq-qrefresh.t
345 test-mq-qrefresh.t
346 test-mq-qrename.t
346 test-mq-qrename.t
347 test-mq-qsave.t
347 test-mq-qsave.t
348 test-mq-safety.t
348 test-mq-safety.t
349 test-mq-subrepo.t
349 test-mq-subrepo.t
350 test-mq-symlinks.t
350 test-mq-symlinks.t
351 test-mq.t
351 test-mq.t
352 test-mv-cp-st-diff.t
352 test-mv-cp-st-diff.t
353 test-narrow-acl.t
353 test-narrow-acl.t
354 test-narrow-archive.t
354 test-narrow-archive.t
355 test-narrow-clone-no-ellipsis.t
355 test-narrow-clone-no-ellipsis.t
356 test-narrow-clone-non-narrow-server.t
356 test-narrow-clone-non-narrow-server.t
357 test-narrow-clone-nonlinear.t
357 test-narrow-clone-nonlinear.t
358 test-narrow-clone.t
358 test-narrow-clone.t
359 test-narrow-commit.t
359 test-narrow-commit.t
360 test-narrow-copies.t
360 test-narrow-copies.t
361 test-narrow-debugcommands.t
361 test-narrow-debugcommands.t
362 test-narrow-debugrebuilddirstate.t
362 test-narrow-debugrebuilddirstate.t
363 test-narrow-exchange-merges.t
363 test-narrow-exchange-merges.t
364 test-narrow-exchange.t
364 test-narrow-exchange.t
365 test-narrow-expanddirstate.t
365 test-narrow-expanddirstate.t
366 test-narrow-merge.t
366 test-narrow-merge.t
367 test-narrow-patch.t
367 test-narrow-patch.t
368 test-narrow-patterns.t
368 test-narrow-patterns.t
369 test-narrow-pull.t
369 test-narrow-pull.t
370 test-narrow-rebase.t
370 test-narrow-rebase.t
371 test-narrow-shallow-merges.t
371 test-narrow-shallow-merges.t
372 test-narrow-shallow.t
372 test-narrow-shallow.t
373 test-narrow-strip.t
373 test-narrow-strip.t
374 test-narrow-trackedcmd.t
374 test-narrow-trackedcmd.t
375 test-narrow-update.t
375 test-narrow-update.t
376 test-narrow-widen-no-ellipsis.t
376 test-narrow-widen-no-ellipsis.t
377 test-narrow-widen.t
377 test-narrow-widen.t
378 test-narrow.t
378 test-narrow.t
379 test-nested-repo.t
379 test-nested-repo.t
380 test-newbranch.t
380 test-newbranch.t
381 test-newercgi.t
381 test-newercgi.t
382 test-nointerrupt.t
382 test-nointerrupt.t
383 test-obshistory.t
383 test-obshistory.t
384 test-obsmarker-template.t
384 test-obsmarker-template.t
385 test-obsmarkers-effectflag.t
385 test-obsmarkers-effectflag.t
386 test-obsolete-bounds-checking.t
386 test-obsolete-bounds-checking.t
387 test-obsolete-bundle-strip.t
387 test-obsolete-bundle-strip.t
388 test-obsolete-changeset-exchange.t
388 test-obsolete-changeset-exchange.t
389 test-obsolete-checkheads.t
389 test-obsolete-checkheads.t
390 test-obsolete-distributed.t
390 test-obsolete-distributed.t
391 test-obsolete-divergent.t
391 test-obsolete-divergent.t
392 test-obsolete-tag-cache.t
392 test-obsolete-tag-cache.t
393 test-obsolete.t
393 test-obsolete.t
394 test-pager.t
394 test-pager.t
395 test-parents.t
395 test-parents.t
396 test-parseindex2.py
396 test-parseindex2.py
397 test-patch-offset.t
397 test-patch-offset.t
398 test-patch.t
398 test-patch.t
399 test-patchbomb-bookmark.t
399 test-patchbomb-bookmark.t
400 test-patchbomb-tls.t
400 test-patchbomb-tls.t
401 test-patchbomb.t
401 test-patchbomb.t
402 test-pathconflicts-merge.t
402 test-pathconflicts-merge.t
403 test-pathconflicts-update.t
403 test-pathconflicts-update.t
404 test-pathencode.py
404 test-pathencode.py
405 test-pending.t
405 test-pending.t
406 test-permissions.t
406 test-permissions.t
407 test-phases-exchange.t
407 test-phases-exchange.t
408 test-phases.t
408 test-phases.t
409 test-progress.t
409 test-pull-branch.t
410 test-pull-branch.t
410 test-pull-http.t
411 test-pull-http.t
411 test-pull-permission.t
412 test-pull-permission.t
412 test-pull-pull-corruption.t
413 test-pull-pull-corruption.t
413 test-pull-r.t
414 test-pull-r.t
414 test-pull-update.t
415 test-pull-update.t
415 test-pull.t
416 test-pull.t
416 test-purge.t
417 test-purge.t
417 test-push-cgi.t
418 test-push-cgi.t
418 test-push-checkheads-partial-C1.t
419 test-push-checkheads-partial-C1.t
419 test-push-checkheads-partial-C2.t
420 test-push-checkheads-partial-C2.t
420 test-push-checkheads-partial-C3.t
421 test-push-checkheads-partial-C3.t
421 test-push-checkheads-partial-C4.t
422 test-push-checkheads-partial-C4.t
422 test-push-checkheads-pruned-B1.t
423 test-push-checkheads-pruned-B1.t
423 test-push-checkheads-pruned-B2.t
424 test-push-checkheads-pruned-B2.t
424 test-push-checkheads-pruned-B3.t
425 test-push-checkheads-pruned-B3.t
425 test-push-checkheads-pruned-B4.t
426 test-push-checkheads-pruned-B4.t
426 test-push-checkheads-pruned-B5.t
427 test-push-checkheads-pruned-B5.t
427 test-push-checkheads-pruned-B6.t
428 test-push-checkheads-pruned-B6.t
428 test-push-checkheads-pruned-B7.t
429 test-push-checkheads-pruned-B7.t
429 test-push-checkheads-pruned-B8.t
430 test-push-checkheads-pruned-B8.t
430 test-push-checkheads-superceed-A1.t
431 test-push-checkheads-superceed-A1.t
431 test-push-checkheads-superceed-A2.t
432 test-push-checkheads-superceed-A2.t
432 test-push-checkheads-superceed-A3.t
433 test-push-checkheads-superceed-A3.t
433 test-push-checkheads-superceed-A4.t
434 test-push-checkheads-superceed-A4.t
434 test-push-checkheads-superceed-A5.t
435 test-push-checkheads-superceed-A5.t
435 test-push-checkheads-superceed-A6.t
436 test-push-checkheads-superceed-A6.t
436 test-push-checkheads-superceed-A7.t
437 test-push-checkheads-superceed-A7.t
437 test-push-checkheads-superceed-A8.t
438 test-push-checkheads-superceed-A8.t
438 test-push-checkheads-unpushed-D1.t
439 test-push-checkheads-unpushed-D1.t
439 test-push-checkheads-unpushed-D2.t
440 test-push-checkheads-unpushed-D2.t
440 test-push-checkheads-unpushed-D3.t
441 test-push-checkheads-unpushed-D3.t
441 test-push-checkheads-unpushed-D4.t
442 test-push-checkheads-unpushed-D4.t
442 test-push-checkheads-unpushed-D5.t
443 test-push-checkheads-unpushed-D5.t
443 test-push-checkheads-unpushed-D6.t
444 test-push-checkheads-unpushed-D6.t
444 test-push-checkheads-unpushed-D7.t
445 test-push-checkheads-unpushed-D7.t
445 test-push-http.t
446 test-push-http.t
446 test-push-warn.t
447 test-push-warn.t
447 test-push.t
448 test-push.t
448 test-pushvars.t
449 test-pushvars.t
449 test-qrecord.t
450 test-qrecord.t
450 test-rebase-abort.t
451 test-rebase-abort.t
451 test-rebase-backup.t
452 test-rebase-backup.t
452 test-rebase-base-flag.t
453 test-rebase-base-flag.t
453 test-rebase-bookmarks.t
454 test-rebase-bookmarks.t
454 test-rebase-brute-force.t
455 test-rebase-brute-force.t
455 test-rebase-cache.t
456 test-rebase-cache.t
456 test-rebase-check-restore.t
457 test-rebase-check-restore.t
457 test-rebase-collapse.t
458 test-rebase-collapse.t
458 test-rebase-conflicts.t
459 test-rebase-conflicts.t
459 test-rebase-dest.t
460 test-rebase-dest.t
460 test-rebase-detach.t
461 test-rebase-detach.t
461 test-rebase-emptycommit.t
462 test-rebase-emptycommit.t
462 test-rebase-inmemory.t
463 test-rebase-inmemory.t
463 test-rebase-interruptions.t
464 test-rebase-interruptions.t
464 test-rebase-issue-noparam-single-rev.t
465 test-rebase-issue-noparam-single-rev.t
465 test-rebase-legacy.t
466 test-rebase-legacy.t
466 test-rebase-mq-skip.t
467 test-rebase-mq-skip.t
467 test-rebase-mq.t
468 test-rebase-mq.t
468 test-rebase-named-branches.t
469 test-rebase-named-branches.t
469 test-rebase-newancestor.t
470 test-rebase-newancestor.t
470 test-rebase-obsolete.t
471 test-rebase-obsolete.t
471 test-rebase-parameters.t
472 test-rebase-parameters.t
472 test-rebase-partial.t
473 test-rebase-partial.t
473 test-rebase-pull.t
474 test-rebase-pull.t
474 test-rebase-rename.t
475 test-rebase-rename.t
475 test-rebase-scenario-global.t
476 test-rebase-scenario-global.t
476 test-rebase-templates.t
477 test-rebase-templates.t
477 test-rebase-transaction.t
478 test-rebase-transaction.t
478 test-rebuildstate.t
479 test-rebuildstate.t
479 test-record.t
480 test-record.t
480 test-relink.t
481 test-relink.t
481 test-remove.t
482 test-remove.t
482 test-removeemptydirs.t
483 test-removeemptydirs.t
483 test-rename-after-merge.t
484 test-rename-after-merge.t
484 test-rename-dir-merge.t
485 test-rename-dir-merge.t
485 test-rename-merge1.t
486 test-rename-merge1.t
486 test-rename-merge2.t
487 test-rename-merge2.t
487 test-rename.t
488 test-rename.t
488 test-repair-strip.t
489 test-repair-strip.t
489 test-repo-compengines.t
490 test-repo-compengines.t
490 test-resolve.t
491 test-resolve.t
491 test-revert-flags.t
492 test-revert-flags.t
492 test-revert-interactive.t
493 test-revert-interactive.t
493 test-revert-unknown.t
494 test-revert-unknown.t
494 test-revert.t
495 test-revert.t
495 test-revisions.t
496 test-revisions.t
496 test-revlog-ancestry.py
497 test-revlog-ancestry.py
497 test-revlog-group-emptyiter.t
498 test-revlog-group-emptyiter.t
498 test-revlog-mmapindex.t
499 test-revlog-mmapindex.t
499 test-revlog-packentry.t
500 test-revlog-packentry.t
500 test-revlog-raw.py
501 test-revlog-raw.py
501 test-revlog-v2.t
502 test-revlog-v2.t
502 test-revset-dirstate-parents.t
503 test-revset-dirstate-parents.t
503 test-revset-legacy-lookup.t
504 test-revset-legacy-lookup.t
504 test-revset-outgoing.t
505 test-revset-outgoing.t
505 test-rollback.t
506 test-rollback.t
506 test-run-tests.py
507 test-run-tests.py
507 test-run-tests.t
508 test-run-tests.t
508 test-schemes.t
509 test-schemes.t
509 test-serve.t
510 test-serve.t
510 test-setdiscovery.t
511 test-setdiscovery.t
511 test-share.t
512 test-share.t
512 test-shelve.t
513 test-shelve.t
513 test-show-stack.t
514 test-show-stack.t
514 test-show-work.t
515 test-show-work.t
515 test-show.t
516 test-show.t
516 test-simple-update.t
517 test-simple-update.t
517 test-simplekeyvaluefile.py
518 test-simplekeyvaluefile.py
518 test-simplemerge.py
519 test-simplemerge.py
519 test-single-head.t
520 test-single-head.t
520 test-sparse-clear.t
521 test-sparse-clear.t
521 test-sparse-clone.t
522 test-sparse-clone.t
522 test-sparse-import.t
523 test-sparse-import.t
523 test-sparse-merges.t
524 test-sparse-merges.t
524 test-sparse-profiles.t
525 test-sparse-profiles.t
525 test-sparse-requirement.t
526 test-sparse-requirement.t
526 test-sparse-verbose-json.t
527 test-sparse-verbose-json.t
527 test-sparse.t
528 test-sparse.t
528 test-split.t
529 test-split.t
529 test-ssh-bundle1.t
530 test-ssh-bundle1.t
530 test-ssh-clone-r.t
531 test-ssh-clone-r.t
531 test-ssh-proto-unbundle.t
532 test-ssh-proto-unbundle.t
532 test-ssh-proto.t
533 test-ssh-proto.t
533 test-ssh.t
534 test-ssh.t
534 test-sshserver.py
535 test-sshserver.py
535 test-stack.t
536 test-stack.t
536 test-status-inprocess.py
537 test-status-inprocess.py
537 test-status-rev.t
538 test-status-rev.t
538 test-status-terse.t
539 test-status-terse.t
539 test-storage.py
540 test-storage.py
540 test-stream-bundle-v2.t
541 test-stream-bundle-v2.t
541 test-strict.t
542 test-strict.t
542 test-strip-cross.t
543 test-strip-cross.t
543 test-strip.t
544 test-strip.t
544 test-subrepo-deep-nested-change.t
545 test-subrepo-deep-nested-change.t
545 test-subrepo-missing.t
546 test-subrepo-missing.t
546 test-subrepo-paths.t
547 test-subrepo-paths.t
547 test-subrepo-recursion.t
548 test-subrepo-recursion.t
548 test-subrepo-relative-path.t
549 test-subrepo-relative-path.t
549 test-subrepo.t
550 test-subrepo.t
550 test-symlink-os-yes-fs-no.py
551 test-symlink-os-yes-fs-no.py
551 test-symlink-placeholder.t
552 test-symlink-placeholder.t
552 test-symlinks.t
553 test-symlinks.t
553 test-tag.t
554 test-tag.t
554 test-tags.t
555 test-tags.t
555 test-template-basic.t
556 test-template-basic.t
556 test-template-functions.t
557 test-template-functions.t
557 test-template-keywords.t
558 test-template-keywords.t
558 test-template-map.t
559 test-template-map.t
559 test-transplant.t
560 test-transplant.t
560 test-treemanifest.t
561 test-treemanifest.t
561 test-ui-color.py
562 test-ui-color.py
562 test-ui-config.py
563 test-ui-config.py
563 test-ui-verbosity.py
564 test-ui-verbosity.py
564 test-unamend.t
565 test-unamend.t
565 test-unbundlehash.t
566 test-unbundlehash.t
566 test-uncommit.t
567 test-uncommit.t
567 test-unified-test.t
568 test-unified-test.t
568 test-unionrepo.t
569 test-unionrepo.t
569 test-unrelated-pull.t
570 test-unrelated-pull.t
570 test-up-local-change.t
571 test-up-local-change.t
571 test-update-branches.t
572 test-update-branches.t
572 test-update-dest.t
573 test-update-dest.t
573 test-update-issue1456.t
574 test-update-issue1456.t
574 test-update-names.t
575 test-update-names.t
575 test-update-reverse.t
576 test-update-reverse.t
576 test-upgrade-repo.t
577 test-upgrade-repo.t
577 test-url-download.t
578 test-url-download.t
578 test-url-rev.t
579 test-url-rev.t
579 test-url.py
580 test-url.py
580 test-username-newline.t
581 test-username-newline.t
581 test-util.py
582 test-util.py
582 test-verify.t
583 test-verify.t
583 test-walk.t
584 test-walk.t
584 test-walkrepo.py
585 test-walkrepo.py
585 test-websub.t
586 test-websub.t
586 test-win32text.t
587 test-win32text.t
587 test-wireproto-clientreactor.py
588 test-wireproto-clientreactor.py
588 test-wireproto-command-branchmap.t
589 test-wireproto-command-branchmap.t
589 test-wireproto-command-changesetdata.t
590 test-wireproto-command-changesetdata.t
590 test-wireproto-command-filedata.t
591 test-wireproto-command-filedata.t
591 test-wireproto-command-filesdata.t
592 test-wireproto-command-filesdata.t
592 test-wireproto-command-heads.t
593 test-wireproto-command-heads.t
593 test-wireproto-command-listkeys.t
594 test-wireproto-command-listkeys.t
594 test-wireproto-command-lookup.t
595 test-wireproto-command-lookup.t
595 test-wireproto-command-manifestdata.t
596 test-wireproto-command-manifestdata.t
596 test-wireproto-command-pushkey.t
597 test-wireproto-command-pushkey.t
597 test-wireproto-framing.py
598 test-wireproto-framing.py
598 test-wireproto-serverreactor.py
599 test-wireproto-serverreactor.py
599 test-wireproto.py
600 test-wireproto.py
600 test-wsgirequest.py
601 test-wsgirequest.py
601 test-xdg.t
602 test-xdg.t
@@ -1,363 +1,363 b''
1
1
2 $ cat > loop.py <<EOF
2 $ cat > loop.py <<EOF
3 > from __future__ import absolute_import
3 > from __future__ import absolute_import
4 > import time
4 > import time
5 > from mercurial import commands, registrar
5 > from mercurial import commands, registrar
6 >
6 >
7 > cmdtable = {}
7 > cmdtable = {}
8 > command = registrar.command(cmdtable)
8 > command = registrar.command(cmdtable)
9 >
9 >
10 > class incrementingtime(object):
10 > class incrementingtime(object):
11 > def __init__(self):
11 > def __init__(self):
12 > self._time = 0.0
12 > self._time = 0.0
13 > def __call__(self):
13 > def __call__(self):
14 > self._time += 0.25
14 > self._time += 0.25
15 > return self._time
15 > return self._time
16 > time.time = incrementingtime()
16 > time.time = incrementingtime()
17 >
17 >
18 > @command(b'loop',
18 > @command(b'loop',
19 > [(b'', b'total', b'', b'override for total'),
19 > [(b'', b'total', b'', b'override for total'),
20 > (b'', b'nested', False, b'show nested results'),
20 > (b'', b'nested', False, b'show nested results'),
21 > (b'', b'parallel', False, b'show parallel sets of results')],
21 > (b'', b'parallel', False, b'show parallel sets of results')],
22 > b'hg loop LOOPS',
22 > b'hg loop LOOPS',
23 > norepo=True)
23 > norepo=True)
24 > def loop(ui, loops, **opts):
24 > def loop(ui, loops, **opts):
25 > loops = int(loops)
25 > loops = int(loops)
26 > total = None
26 > total = None
27 > if loops >= 0:
27 > if loops >= 0:
28 > total = loops
28 > total = loops
29 > if opts.get('total', None):
29 > if opts.get('total', None):
30 > total = int(opts.get('total'))
30 > total = int(opts.get('total'))
31 > nested = False
31 > nested = False
32 > if opts.get('nested', None):
32 > if opts.get('nested', None):
33 > nested = True
33 > nested = True
34 > loops = abs(loops)
34 > loops = abs(loops)
35 >
35 >
36 > progress = ui.makeprogress(topiclabel, unit='loopnum', total=total)
36 > progress = ui.makeprogress(topiclabel, unit=b'loopnum', total=total)
37 > other = ui.makeprogress('other', unit='othernum', total=total)
37 > other = ui.makeprogress(b'other', unit=b'othernum', total=total)
38 > for i in range(loops):
38 > for i in range(loops):
39 > progress.update(i, item=getloopitem(i))
39 > progress.update(i, item=getloopitem(i))
40 > if opts.get('parallel'):
40 > if opts.get('parallel'):
41 > other.update(i, item='other.%d' % i)
41 > other.update(i, item=b'other.%d' % i)
42 > if nested:
42 > if nested:
43 > nested_steps = 2
43 > nested_steps = 2
44 > if i and i % 4 == 0:
44 > if i and i % 4 == 0:
45 > nested_steps = 5
45 > nested_steps = 5
46 > nested = ui.makeprogress('nested', unit='nestnum',
46 > nested = ui.makeprogress(b'nested', unit=b'nestnum',
47 > total=nested_steps)
47 > total=nested_steps)
48 > for j in range(nested_steps):
48 > for j in range(nested_steps):
49 > nested.update(j, item='nested.%d' % j)
49 > nested.update(j, item=b'nested.%d' % j)
50 > nested.complete()
50 > nested.complete()
51 > progress.complete()
51 > progress.complete()
52 >
52 >
53 > topiclabel = 'loop'
53 > topiclabel = b'loop'
54 > def getloopitem(i):
54 > def getloopitem(i):
55 > return 'loop.%d' % i
55 > return b'loop.%d' % i
56 >
56 >
57 > EOF
57 > EOF
58
58
59 $ cp $HGRCPATH $HGRCPATH.orig
59 $ cp $HGRCPATH $HGRCPATH.orig
60 $ echo "[extensions]" >> $HGRCPATH
60 $ echo "[extensions]" >> $HGRCPATH
61 $ echo "progress=" >> $HGRCPATH
61 $ echo "progress=" >> $HGRCPATH
62 $ echo "loop=`pwd`/loop.py" >> $HGRCPATH
62 $ echo "loop=`pwd`/loop.py" >> $HGRCPATH
63 $ echo "[progress]" >> $HGRCPATH
63 $ echo "[progress]" >> $HGRCPATH
64 $ echo "format = topic bar number" >> $HGRCPATH
64 $ echo "format = topic bar number" >> $HGRCPATH
65 $ echo "assume-tty=1" >> $HGRCPATH
65 $ echo "assume-tty=1" >> $HGRCPATH
66 $ echo "width=60" >> $HGRCPATH
66 $ echo "width=60" >> $HGRCPATH
67
67
68 test default params, display nothing because of delay
68 test default params, display nothing because of delay
69
69
70 $ hg -y loop 3
70 $ hg -y loop 3
71 $ echo "delay=0" >> $HGRCPATH
71 $ echo "delay=0" >> $HGRCPATH
72 $ echo "refresh=0" >> $HGRCPATH
72 $ echo "refresh=0" >> $HGRCPATH
73
73
74 test with delay=0, refresh=0
74 test with delay=0, refresh=0
75
75
76 $ hg -y loop 3
76 $ hg -y loop 3
77 \r (no-eol) (esc)
77 \r (no-eol) (esc)
78 loop [ ] 0/3\r (no-eol) (esc)
78 loop [ ] 0/3\r (no-eol) (esc)
79 loop [===============> ] 1/3\r (no-eol) (esc)
79 loop [===============> ] 1/3\r (no-eol) (esc)
80 loop [===============================> ] 2/3\r (no-eol) (esc)
80 loop [===============================> ] 2/3\r (no-eol) (esc)
81 \r (no-eol) (esc)
81 \r (no-eol) (esc)
82 no progress with --quiet
82 no progress with --quiet
83 $ hg -y loop 3 --quiet
83 $ hg -y loop 3 --quiet
84
84
85 test plain mode exception
85 test plain mode exception
86 $ HGPLAINEXCEPT=progress hg -y loop 1
86 $ HGPLAINEXCEPT=progress hg -y loop 1
87 \r (no-eol) (esc)
87 \r (no-eol) (esc)
88 loop [ ] 0/1\r (no-eol) (esc)
88 loop [ ] 0/1\r (no-eol) (esc)
89 \r (no-eol) (esc)
89 \r (no-eol) (esc)
90
90
91 test nested short-lived topics (which shouldn't display with nestdelay):
91 test nested short-lived topics (which shouldn't display with nestdelay):
92
92
93 $ hg -y loop 3 --nested
93 $ hg -y loop 3 --nested
94 \r (no-eol) (esc)
94 \r (no-eol) (esc)
95 loop [ ] 0/3\r (no-eol) (esc)
95 loop [ ] 0/3\r (no-eol) (esc)
96 loop [===============> ] 1/3\r (no-eol) (esc)
96 loop [===============> ] 1/3\r (no-eol) (esc)
97 loop [===============================> ] 2/3\r (no-eol) (esc)
97 loop [===============================> ] 2/3\r (no-eol) (esc)
98 \r (no-eol) (esc)
98 \r (no-eol) (esc)
99
99
100 Test nested long-lived topic which has the same name as a short-lived
100 Test nested long-lived topic which has the same name as a short-lived
101 peer. We shouldn't get stuck showing the short-lived inner steps, and
101 peer. We shouldn't get stuck showing the short-lived inner steps, and
102 should go back to skipping the inner steps when the slow nested step
102 should go back to skipping the inner steps when the slow nested step
103 finishes.
103 finishes.
104
104
105 $ hg -y loop 7 --nested
105 $ hg -y loop 7 --nested
106 \r (no-eol) (esc)
106 \r (no-eol) (esc)
107 loop [ ] 0/7\r (no-eol) (esc)
107 loop [ ] 0/7\r (no-eol) (esc)
108 loop [=====> ] 1/7\r (no-eol) (esc)
108 loop [=====> ] 1/7\r (no-eol) (esc)
109 loop [============> ] 2/7\r (no-eol) (esc)
109 loop [============> ] 2/7\r (no-eol) (esc)
110 loop [===================> ] 3/7\r (no-eol) (esc)
110 loop [===================> ] 3/7\r (no-eol) (esc)
111 loop [==========================> ] 4/7\r (no-eol) (esc)
111 loop [==========================> ] 4/7\r (no-eol) (esc)
112 nested [==========================> ] 3/5\r (no-eol) (esc)
112 nested [==========================> ] 3/5\r (no-eol) (esc)
113 nested [===================================> ] 4/5\r (no-eol) (esc)
113 nested [===================================> ] 4/5\r (no-eol) (esc)
114 loop [=================================> ] 5/7\r (no-eol) (esc)
114 loop [=================================> ] 5/7\r (no-eol) (esc)
115 loop [========================================> ] 6/7\r (no-eol) (esc)
115 loop [========================================> ] 6/7\r (no-eol) (esc)
116 \r (no-eol) (esc)
116 \r (no-eol) (esc)
117
117
118
118
119 $ hg --config progress.changedelay=0 -y loop 3 --nested
119 $ hg --config progress.changedelay=0 -y loop 3 --nested
120 \r (no-eol) (esc)
120 \r (no-eol) (esc)
121 loop [ ] 0/3\r (no-eol) (esc)
121 loop [ ] 0/3\r (no-eol) (esc)
122 nested [ ] 0/2\r (no-eol) (esc)
122 nested [ ] 0/2\r (no-eol) (esc)
123 nested [======================> ] 1/2\r (no-eol) (esc)
123 nested [======================> ] 1/2\r (no-eol) (esc)
124 loop [===============> ] 1/3\r (no-eol) (esc)
124 loop [===============> ] 1/3\r (no-eol) (esc)
125 nested [ ] 0/2\r (no-eol) (esc)
125 nested [ ] 0/2\r (no-eol) (esc)
126 nested [======================> ] 1/2\r (no-eol) (esc)
126 nested [======================> ] 1/2\r (no-eol) (esc)
127 loop [===============================> ] 2/3\r (no-eol) (esc)
127 loop [===============================> ] 2/3\r (no-eol) (esc)
128 nested [ ] 0/2\r (no-eol) (esc)
128 nested [ ] 0/2\r (no-eol) (esc)
129 nested [======================> ] 1/2\r (no-eol) (esc)
129 nested [======================> ] 1/2\r (no-eol) (esc)
130 \r (no-eol) (esc)
130 \r (no-eol) (esc)
131
131
132
132
133 test two topics being printed in parallel (as when we're doing a local
133 test two topics being printed in parallel (as when we're doing a local
134 --pull clone, where you get the unbundle and bundle progress at the
134 --pull clone, where you get the unbundle and bundle progress at the
135 same time):
135 same time):
136 $ hg loop 3 --parallel
136 $ hg loop 3 --parallel
137 \r (no-eol) (esc)
137 \r (no-eol) (esc)
138 loop [ ] 0/3\r (no-eol) (esc)
138 loop [ ] 0/3\r (no-eol) (esc)
139 loop [===============> ] 1/3\r (no-eol) (esc)
139 loop [===============> ] 1/3\r (no-eol) (esc)
140 loop [===============================> ] 2/3\r (no-eol) (esc)
140 loop [===============================> ] 2/3\r (no-eol) (esc)
141 \r (no-eol) (esc)
141 \r (no-eol) (esc)
142 test refresh is taken in account
142 test refresh is taken in account
143
143
144 $ hg -y --config progress.refresh=100 loop 3
144 $ hg -y --config progress.refresh=100 loop 3
145
145
146 test format options 1
146 test format options 1
147
147
148 $ hg -y --config 'progress.format=number topic item+2' loop 2
148 $ hg -y --config 'progress.format=number topic item+2' loop 2
149 \r (no-eol) (esc)
149 \r (no-eol) (esc)
150 0/2 loop lo\r (no-eol) (esc)
150 0/2 loop lo\r (no-eol) (esc)
151 1/2 loop lo\r (no-eol) (esc)
151 1/2 loop lo\r (no-eol) (esc)
152 \r (no-eol) (esc)
152 \r (no-eol) (esc)
153
153
154 test format options 2
154 test format options 2
155
155
156 $ hg -y --config 'progress.format=number item-3 bar' loop 2
156 $ hg -y --config 'progress.format=number item-3 bar' loop 2
157 \r (no-eol) (esc)
157 \r (no-eol) (esc)
158 0/2 p.0 [ ]\r (no-eol) (esc)
158 0/2 p.0 [ ]\r (no-eol) (esc)
159 1/2 p.1 [=======================> ]\r (no-eol) (esc)
159 1/2 p.1 [=======================> ]\r (no-eol) (esc)
160 \r (no-eol) (esc)
160 \r (no-eol) (esc)
161
161
162 test format options and indeterminate progress
162 test format options and indeterminate progress
163
163
164 $ hg -y --config 'progress.format=number item bar' loop -- -2
164 $ hg -y --config 'progress.format=number item bar' loop -- -2
165 \r (no-eol) (esc)
165 \r (no-eol) (esc)
166 0 loop.0 [ <=> ]\r (no-eol) (esc)
166 0 loop.0 [ <=> ]\r (no-eol) (esc)
167 1 loop.1 [ <=> ]\r (no-eol) (esc)
167 1 loop.1 [ <=> ]\r (no-eol) (esc)
168 \r (no-eol) (esc)
168 \r (no-eol) (esc)
169
169
170 make sure things don't fall over if count > total
170 make sure things don't fall over if count > total
171
171
172 $ hg -y loop --total 4 6
172 $ hg -y loop --total 4 6
173 \r (no-eol) (esc)
173 \r (no-eol) (esc)
174 loop [ ] 0/4\r (no-eol) (esc)
174 loop [ ] 0/4\r (no-eol) (esc)
175 loop [===========> ] 1/4\r (no-eol) (esc)
175 loop [===========> ] 1/4\r (no-eol) (esc)
176 loop [=======================> ] 2/4\r (no-eol) (esc)
176 loop [=======================> ] 2/4\r (no-eol) (esc)
177 loop [===================================> ] 3/4\r (no-eol) (esc)
177 loop [===================================> ] 3/4\r (no-eol) (esc)
178 loop [===============================================>] 4/4\r (no-eol) (esc)
178 loop [===============================================>] 4/4\r (no-eol) (esc)
179 loop [ <=> ] 5/4\r (no-eol) (esc)
179 loop [ <=> ] 5/4\r (no-eol) (esc)
180 \r (no-eol) (esc)
180 \r (no-eol) (esc)
181
181
182 test immediate progress completion
182 test immediate progress completion
183
183
184 $ hg -y loop 0
184 $ hg -y loop 0
185
185
186 test delay time estimates
186 test delay time estimates
187
187
188 #if no-chg
188 #if no-chg
189
189
190 $ cp $HGRCPATH.orig $HGRCPATH
190 $ cp $HGRCPATH.orig $HGRCPATH
191 $ echo "[extensions]" >> $HGRCPATH
191 $ echo "[extensions]" >> $HGRCPATH
192 $ echo "mocktime=$TESTDIR/mocktime.py" >> $HGRCPATH
192 $ echo "mocktime=$TESTDIR/mocktime.py" >> $HGRCPATH
193 $ echo "progress=" >> $HGRCPATH
193 $ echo "progress=" >> $HGRCPATH
194 $ echo "loop=`pwd`/loop.py" >> $HGRCPATH
194 $ echo "loop=`pwd`/loop.py" >> $HGRCPATH
195 $ echo "[progress]" >> $HGRCPATH
195 $ echo "[progress]" >> $HGRCPATH
196 $ echo "assume-tty=1" >> $HGRCPATH
196 $ echo "assume-tty=1" >> $HGRCPATH
197 $ echo "delay=25" >> $HGRCPATH
197 $ echo "delay=25" >> $HGRCPATH
198 $ echo "width=60" >> $HGRCPATH
198 $ echo "width=60" >> $HGRCPATH
199
199
200 $ MOCKTIME=11 hg -y loop 8
200 $ MOCKTIME=11 hg -y loop 8
201 \r (no-eol) (esc)
201 \r (no-eol) (esc)
202 loop [=========> ] 2/8 1m07s\r (no-eol) (esc)
202 loop [=========> ] 2/8 1m07s\r (no-eol) (esc)
203 loop [===============> ] 3/8 56s\r (no-eol) (esc)
203 loop [===============> ] 3/8 56s\r (no-eol) (esc)
204 loop [=====================> ] 4/8 45s\r (no-eol) (esc)
204 loop [=====================> ] 4/8 45s\r (no-eol) (esc)
205 loop [==========================> ] 5/8 34s\r (no-eol) (esc)
205 loop [==========================> ] 5/8 34s\r (no-eol) (esc)
206 loop [================================> ] 6/8 23s\r (no-eol) (esc)
206 loop [================================> ] 6/8 23s\r (no-eol) (esc)
207 loop [=====================================> ] 7/8 12s\r (no-eol) (esc)
207 loop [=====================================> ] 7/8 12s\r (no-eol) (esc)
208 \r (no-eol) (esc)
208 \r (no-eol) (esc)
209
209
210 $ MOCKTIME=10000 hg -y loop 4
210 $ MOCKTIME=10000 hg -y loop 4
211 \r (no-eol) (esc)
211 \r (no-eol) (esc)
212 loop [ ] 0/4\r (no-eol) (esc)
212 loop [ ] 0/4\r (no-eol) (esc)
213 loop [=========> ] 1/4 8h21m\r (no-eol) (esc)
213 loop [=========> ] 1/4 8h21m\r (no-eol) (esc)
214 loop [====================> ] 2/4 5h34m\r (no-eol) (esc)
214 loop [====================> ] 2/4 5h34m\r (no-eol) (esc)
215 loop [==============================> ] 3/4 2h47m\r (no-eol) (esc)
215 loop [==============================> ] 3/4 2h47m\r (no-eol) (esc)
216 \r (no-eol) (esc)
216 \r (no-eol) (esc)
217
217
218 $ MOCKTIME=1000000 hg -y loop 4
218 $ MOCKTIME=1000000 hg -y loop 4
219 \r (no-eol) (esc)
219 \r (no-eol) (esc)
220 loop [ ] 0/4\r (no-eol) (esc)
220 loop [ ] 0/4\r (no-eol) (esc)
221 loop [=========> ] 1/4 5w00d\r (no-eol) (esc)
221 loop [=========> ] 1/4 5w00d\r (no-eol) (esc)
222 loop [====================> ] 2/4 3w03d\r (no-eol) (esc)
222 loop [====================> ] 2/4 3w03d\r (no-eol) (esc)
223 loop [=============================> ] 3/4 11d14h\r (no-eol) (esc)
223 loop [=============================> ] 3/4 11d14h\r (no-eol) (esc)
224 \r (no-eol) (esc)
224 \r (no-eol) (esc)
225
225
226
226
227 $ MOCKTIME=14000000 hg -y loop 4
227 $ MOCKTIME=14000000 hg -y loop 4
228 \r (no-eol) (esc)
228 \r (no-eol) (esc)
229 loop [ ] 0/4\r (no-eol) (esc)
229 loop [ ] 0/4\r (no-eol) (esc)
230 loop [=========> ] 1/4 1y18w\r (no-eol) (esc)
230 loop [=========> ] 1/4 1y18w\r (no-eol) (esc)
231 loop [===================> ] 2/4 46w03d\r (no-eol) (esc)
231 loop [===================> ] 2/4 46w03d\r (no-eol) (esc)
232 loop [=============================> ] 3/4 23w02d\r (no-eol) (esc)
232 loop [=============================> ] 3/4 23w02d\r (no-eol) (esc)
233 \r (no-eol) (esc)
233 \r (no-eol) (esc)
234
234
235 Non-linear progress:
235 Non-linear progress:
236
236
237 $ MOCKTIME='20 20 20 20 20 20 20 20 20 20 500 500 500 500 500 20 20 20 20 20' hg -y loop 20
237 $ MOCKTIME='20 20 20 20 20 20 20 20 20 20 500 500 500 500 500 20 20 20 20 20' hg -y loop 20
238 \r (no-eol) (esc)
238 \r (no-eol) (esc)
239 loop [=> ] 1/20 6m21s\r (no-eol) (esc)
239 loop [=> ] 1/20 6m21s\r (no-eol) (esc)
240 loop [===> ] 2/20 6m01s\r (no-eol) (esc)
240 loop [===> ] 2/20 6m01s\r (no-eol) (esc)
241 loop [=====> ] 3/20 5m41s\r (no-eol) (esc)
241 loop [=====> ] 3/20 5m41s\r (no-eol) (esc)
242 loop [=======> ] 4/20 5m21s\r (no-eol) (esc)
242 loop [=======> ] 4/20 5m21s\r (no-eol) (esc)
243 loop [=========> ] 5/20 5m01s\r (no-eol) (esc)
243 loop [=========> ] 5/20 5m01s\r (no-eol) (esc)
244 loop [===========> ] 6/20 4m41s\r (no-eol) (esc)
244 loop [===========> ] 6/20 4m41s\r (no-eol) (esc)
245 loop [=============> ] 7/20 4m21s\r (no-eol) (esc)
245 loop [=============> ] 7/20 4m21s\r (no-eol) (esc)
246 loop [===============> ] 8/20 4m01s\r (no-eol) (esc)
246 loop [===============> ] 8/20 4m01s\r (no-eol) (esc)
247 loop [================> ] 9/20 25m40s\r (no-eol) (esc)
247 loop [================> ] 9/20 25m40s\r (no-eol) (esc)
248 loop [===================> ] 10/20 1h06m\r (no-eol) (esc)
248 loop [===================> ] 10/20 1h06m\r (no-eol) (esc)
249 loop [=====================> ] 11/20 1h13m\r (no-eol) (esc)
249 loop [=====================> ] 11/20 1h13m\r (no-eol) (esc)
250 loop [=======================> ] 12/20 1h07m\r (no-eol) (esc)
250 loop [=======================> ] 12/20 1h07m\r (no-eol) (esc)
251 loop [========================> ] 13/20 58m19s\r (no-eol) (esc)
251 loop [========================> ] 13/20 58m19s\r (no-eol) (esc)
252 loop [===========================> ] 14/20 7m09s\r (no-eol) (esc)
252 loop [===========================> ] 14/20 7m09s\r (no-eol) (esc)
253 loop [=============================> ] 15/20 3m38s\r (no-eol) (esc)
253 loop [=============================> ] 15/20 3m38s\r (no-eol) (esc)
254 loop [===============================> ] 16/20 2m15s\r (no-eol) (esc)
254 loop [===============================> ] 16/20 2m15s\r (no-eol) (esc)
255 loop [=================================> ] 17/20 1m27s\r (no-eol) (esc)
255 loop [=================================> ] 17/20 1m27s\r (no-eol) (esc)
256 loop [====================================> ] 18/20 52s\r (no-eol) (esc)
256 loop [====================================> ] 18/20 52s\r (no-eol) (esc)
257 loop [======================================> ] 19/20 25s\r (no-eol) (esc)
257 loop [======================================> ] 19/20 25s\r (no-eol) (esc)
258 \r (no-eol) (esc)
258 \r (no-eol) (esc)
259
259
260 Time estimates should not fail when there's no end point:
260 Time estimates should not fail when there's no end point:
261 $ MOCKTIME=11 hg -y loop -- -4
261 $ MOCKTIME=11 hg -y loop -- -4
262 \r (no-eol) (esc)
262 \r (no-eol) (esc)
263 loop [ <=> ] 2\r (no-eol) (esc)
263 loop [ <=> ] 2\r (no-eol) (esc)
264 loop [ <=> ] 3\r (no-eol) (esc)
264 loop [ <=> ] 3\r (no-eol) (esc)
265 \r (no-eol) (esc)
265 \r (no-eol) (esc)
266
266
267 #endif
267 #endif
268
268
269 test line trimming by '[progress] width', when progress topic contains
269 test line trimming by '[progress] width', when progress topic contains
270 multi-byte characters, of which length of byte sequence and columns in
270 multi-byte characters, of which length of byte sequence and columns in
271 display are different from each other.
271 display are different from each other.
272
272
273 $ cp $HGRCPATH.orig $HGRCPATH
273 $ cp $HGRCPATH.orig $HGRCPATH
274 $ cat >> $HGRCPATH <<EOF
274 $ cat >> $HGRCPATH <<EOF
275 > [extensions]
275 > [extensions]
276 > progress=
276 > progress=
277 > loop=`pwd`/loop.py
277 > loop=`pwd`/loop.py
278 > [progress]
278 > [progress]
279 > assume-tty = 1
279 > assume-tty = 1
280 > delay = 0
280 > delay = 0
281 > refresh = 0
281 > refresh = 0
282 > EOF
282 > EOF
283
283
284 $ rm -f loop.pyc
284 $ rm -f loop.pyc
285 $ cat >> loop.py <<EOF
285 $ cat >> loop.py <<EOF
286 > # use non-ascii characters as topic label of progress
286 > # use non-ascii characters as topic label of progress
287 > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes
287 > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes
288 > topiclabel = u'\u3042\u3044\u3046\u3048'.encode('utf-8')
288 > topiclabel = u'\u3042\u3044\u3046\u3048'.encode('utf-8')
289 > EOF
289 > EOF
290
290
291 $ cat >> $HGRCPATH <<EOF
291 $ cat >> $HGRCPATH <<EOF
292 > [progress]
292 > [progress]
293 > format = topic number
293 > format = topic number
294 > width= 12
294 > width= 12
295 > EOF
295 > EOF
296
296
297 $ hg --encoding utf-8 -y loop --total 3 3
297 $ hg --encoding utf-8 -y loop --total 3 3
298 \r (no-eol) (esc)
298 \r (no-eol) (esc)
299 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 0/3\r (no-eol) (esc)
299 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 0/3\r (no-eol) (esc)
300 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 1/3\r (no-eol) (esc)
300 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 1/3\r (no-eol) (esc)
301 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 2/3\r (no-eol) (esc)
301 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 2/3\r (no-eol) (esc)
302 \r (no-eol) (esc)
302 \r (no-eol) (esc)
303
303
304 test calculation of bar width, when progress topic contains multi-byte
304 test calculation of bar width, when progress topic contains multi-byte
305 characters, of which length of byte sequence and columns in display
305 characters, of which length of byte sequence and columns in display
306 are different from each other.
306 are different from each other.
307
307
308 $ cat >> $HGRCPATH <<EOF
308 $ cat >> $HGRCPATH <<EOF
309 > [progress]
309 > [progress]
310 > format = topic bar
310 > format = topic bar
311 > width= 21
311 > width= 21
312 > # progwidth should be 9 (= 21 - (8+1) - 3)
312 > # progwidth should be 9 (= 21 - (8+1) - 3)
313 > EOF
313 > EOF
314
314
315 $ hg --encoding utf-8 -y loop --total 3 3
315 $ hg --encoding utf-8 -y loop --total 3 3
316 \r (no-eol) (esc)
316 \r (no-eol) (esc)
317 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [ ]\r (no-eol) (esc)
317 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [ ]\r (no-eol) (esc)
318 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [==> ]\r (no-eol) (esc)
318 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [==> ]\r (no-eol) (esc)
319 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [=====> ]\r (no-eol) (esc)
319 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88 [=====> ]\r (no-eol) (esc)
320 \r (no-eol) (esc)
320 \r (no-eol) (esc)
321
321
322 test trimming progress items, when they contain multi-byte characters,
322 test trimming progress items, when they contain multi-byte characters,
323 of which length of byte sequence and columns in display are different
323 of which length of byte sequence and columns in display are different
324 from each other.
324 from each other.
325
325
326 $ rm -f loop.pyc
326 $ rm -f loop.pyc
327 $ rm -Rf __pycache__
327 $ rm -Rf __pycache__
328 $ cat >> loop.py <<EOF
328 $ cat >> loop.py <<EOF
329 > # use non-ascii characters as loop items of progress
329 > # use non-ascii characters as loop items of progress
330 > loopitems = [
330 > loopitems = [
331 > u'\u3042\u3044'.encode('utf-8'), # 2 x 2 = 4 columns
331 > u'\u3042\u3044'.encode('utf-8'), # 2 x 2 = 4 columns
332 > u'\u3042\u3044\u3046'.encode('utf-8'), # 2 x 3 = 6 columns
332 > u'\u3042\u3044\u3046'.encode('utf-8'), # 2 x 3 = 6 columns
333 > u'\u3042\u3044\u3046\u3048'.encode('utf-8'), # 2 x 4 = 8 columns
333 > u'\u3042\u3044\u3046\u3048'.encode('utf-8'), # 2 x 4 = 8 columns
334 > ]
334 > ]
335 > def getloopitem(i):
335 > def getloopitem(i):
336 > return loopitems[i % len(loopitems)]
336 > return loopitems[i % len(loopitems)]
337 > EOF
337 > EOF
338
338
339 $ cat >> $HGRCPATH <<EOF
339 $ cat >> $HGRCPATH <<EOF
340 > [progress]
340 > [progress]
341 > # trim at tail side
341 > # trim at tail side
342 > format = item+6
342 > format = item+6
343 > EOF
343 > EOF
344
344
345 $ hg --encoding utf-8 -y loop --total 3 3
345 $ hg --encoding utf-8 -y loop --total 3 3
346 \r (no-eol) (esc)
346 \r (no-eol) (esc)
347 \xe3\x81\x82\xe3\x81\x84 \r (no-eol) (esc)
347 \xe3\x81\x82\xe3\x81\x84 \r (no-eol) (esc)
348 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc)
348 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc)
349 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc)
349 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc)
350 \r (no-eol) (esc)
350 \r (no-eol) (esc)
351
351
352 $ cat >> $HGRCPATH <<EOF
352 $ cat >> $HGRCPATH <<EOF
353 > [progress]
353 > [progress]
354 > # trim at left side
354 > # trim at left side
355 > format = item-6
355 > format = item-6
356 > EOF
356 > EOF
357
357
358 $ hg --encoding utf-8 -y loop --total 3 3
358 $ hg --encoding utf-8 -y loop --total 3 3
359 \r (no-eol) (esc)
359 \r (no-eol) (esc)
360 \xe3\x81\x82\xe3\x81\x84 \r (no-eol) (esc)
360 \xe3\x81\x82\xe3\x81\x84 \r (no-eol) (esc)
361 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc)
361 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc)
362 \xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\r (no-eol) (esc)
362 \xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\r (no-eol) (esc)
363 \r (no-eol) (esc)
363 \r (no-eol) (esc)
General Comments 0
You need to be logged in to leave comments. Login now