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