patchbomb: use progress helper
Differential Revision: https://phab.mercurial-scm.org/D3804
patchbomb: don't close unused progress topic
The "writing" topic has not been used since
1830d0cc4bc1 (patchbomb:
minor refactoring of mbox functionality, preparing for move,
2011-11-23).
Differential Revision: https://phab.mercurial-scm.org/D3803
churn: use progess helper
Differential Revision: https://phab.mercurial-scm.org/D3802
treediscovery: use progress helper
Differential Revision: https://phab.mercurial-scm.org/D3801
upgrade: use progress helper
A minor side-effect is that we no longer print the progress at 0 (and
that we don't re-print it at its current value when starting the next
manifest/file).
Differential Revision: https://phab.mercurial-scm.org/D3800
upgrade: close progress after each revlog
IIUC, one is supposed to close each progress topic before strarting a
new one. Otherwise the topics are considered nested, which we don't
want here.
Differential Revision: https://phab.mercurial-scm.org/D3799
verify: use progress helper
Differential Revision: https://phab.mercurial-scm.org/D3798
verify: use progress helper for subdirectory progress
I also reworded a variable to make it clearer that it's only used for
subdirectories.
Differential Revision: https://phab.mercurial-scm.org/D3797
similar: use progress helper
A side-effect is that progress is now reported as 1 *before* we start
checking the first file. That seems to be how we do it in most places.
Also, the right topic is now closed.
Differential Revision: https://phab.mercurial-scm.org/D3796
repair: use progress helper
Differential Revision: https://phab.mercurial-scm.org/D3795