D5374: fastannotate: use progress helper

Yuya Nishihara yuya at tcha.org
Thu Dec 6 06:32:32 EST 2018


>              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.


More information about the Mercurial-devel mailing list