/breezy/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/trunk

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 22:06:41 UTC
  • mfrom: (6738 trunk)
  • mto: This revision was merged to the branch mainline in revision 6739.
  • Revision ID: jelmer@jelmer.uk-20170723220641-69eczax9bmv8d6kk
Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
    pb = ui.ui_factory.nested_progress_bar()
149
149
    try:
150
150
        trace.note('getting revisions')
151
 
        revisions = a_repo.get_revisions(revids)
152
 
        for count, rev in enumerate(revisions):
 
151
        revisions = a_repo.iter_revisions(revids)
 
152
        for count, (revid, rev) in enumerate(revisions):
153
153
            pb.update('checking', count, len(revids))
154
154
            for author in rev.get_apparent_authors():
155
155
                # XXX: There is a chance sometimes with svn imports that the