/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-11 12:46:45 UTC
  • mfrom: (7511.1.1 actions-no-fork)
  • Revision ID: breezy.the.bot@gmail.com-20200611124645-4lx66gps99i0hmzh
Avoid using fork when running the testsuite in github actions.

Merged from https://code.launchpad.net/~jelmer/brz/actions-no-fork/+merge/385565

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