D3807: convert: use progress helper

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Jun 19 07:05:15 EDT 2018


pulkit accepted this revision.
pulkit added inline comments.

INLINE COMMENTS

> convcmd.py:524
>                  self.ui.note(_("source: %s\n") % recode(c))
> -                self.ui.progress(_('converting'), i, unit=_('revisions'),
> -                                 total=len(t))
> +                progress.update(i)
>                  self.copy(c)

This can be progress.increment().

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3807

To: martinvonz, #hg-reviewers, pulkit
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list