D5374: fastannotate: use progress helper

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Dec 6 06:38:08 EST 2018


yuja added a comment.


  >   if ismainbranch: # need to write to linelog
  > 
  > - if not self.ui.quiet:
  > - progress += 1
  > - self.ui.progress(_('building cache'), progress,
  > - total=len(newmainbranch)) +                progress.increment()
  
  This one is BC, but I think that's okay.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list