/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/stats/cmds.py

  • Committer: Jelmer Vernooij
  • Date: 2020-05-24 00:39:50 UTC
  • mto: This revision was merged to the branch mainline in revision 7504.
  • Revision ID: jelmer@jelmer.uk-20200524003950-bbc545r76vc5yajg
Add github action.

Show diffs side-by-side

added added

removed removed

Lines of Context:
313
313
    with ui.ui_factory.nested_progress_bar() as pb:
314
314
        with repository.lock_read():
315
315
            i = 0
316
 
            for delta in repository.get_revision_deltas(revs):
 
316
            for delta in repository.get_deltas_for_revisions(revs):
317
317
                pb.update("classifying commits", i, len(revs))
318
318
                for c in classify_delta(delta):
319
319
                    if c not in ret:
362
362
                    if ps is not None and r != NULL_REVISION]
363
363
        revs = repository.get_revisions(ancestry)
364
364
        with ui.ui_factory.nested_progress_bar() as pb:
365
 
            iterator = zip(revs, repository.get_revision_deltas(revs))
 
365
            iterator = zip(revs, repository.get_deltas_for_revisions(revs))
366
366
            for i, (rev, delta) in enumerate(iterator):
367
367
                pb.update("analysing revisions", i, len(revs))
368
368
                # Don't count merges