~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Aaron Bentley
  • Date: 2008-04-29 17:51:37 UTC
  • mfrom: (3390 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3391.
  • Revision ID: aaron@aaronbentley.com-20080429175137-ydw4zwn5fsf8g8pj
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
464
464
    # This asks for all mainline revisions, which means we only have to spider
465
465
    # sideways, rather than depth history. That said, its still size-of-history
466
466
    # and should be addressed.
 
467
    # mainline_revisions always includes an extra revision at the beginning, so
 
468
    # don't request it.
467
469
    parent_map = dict(((key, value) for key, value in
468
 
        graph.iter_ancestry(mainline_revisions) if value is not None))
 
470
        graph.iter_ancestry(mainline_revisions[1:]) if value is not None))
469
471
    sorted_rev_list = topo_sort(parent_map.items())
470
472
    ancestry = {}
471
473
    for rev in sorted_rev_list: