fastannotate: use progress helper
ClosedPublic

Authored by martinvonz on Wed, Dec 5, 12:39 PM.

Details

Summary

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
martinvonz created this revision.Wed, Dec 5, 12:39 PM
yuja added a subscriber: yuja.Thu, Dec 6, 6:38 AM
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.

This revision was automatically updated to reflect the committed changes.