On Wed, Nov 14, 2018 at 4:45 AM Anton Shestakov <a...@dwimlabs.net> wrote:
> # HG changeset patch > # User Anton Shestakov <a...@dwimlabs.net> > # Date 1542179222 -28800 > # Wed Nov 14 15:07:02 2018 +0800 > # Branch stable > # Node ID d19f768a91641e8a30a6dc862ae44ef0abbe224f > # Parent 8239d4e5d05f5452d66e4ae1ffc2f58e0d0fbd0d > # EXP-Topic progress-unit > verify: provide unit to ui.makeprogress() > Queued for stable. > > diff --git a/mercurial/verify.py b/mercurial/verify.py > --- a/mercurial/verify.py > +++ b/mercurial/verify.py > @@ -302,7 +302,8 @@ class verifier(object): > ui.status(_("crosschecking files in changesets and manifests\n")) > > total = len(filelinkrevs) + len(filenodes) > - progress = ui.makeprogress(_('crosschecking'), total=total) > + progress = ui.makeprogress(_('crosschecking'), unit=_('files'), > + total=total) > if self.havemf: > for f in sorted(filelinkrevs): > progress.increment() > _______________________________________________ > Mercurial-devel mailing list > Mercurial-devel@mercurial-scm.org > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel >
_______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel