~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: John Arbash Meinel
  • Date: 2008-04-18 20:30:59 UTC
  • mto: This revision was merged to the branch mainline in revision 3434.
  • Revision ID: john@arbash-meinel.com-20080418203059-iguj66uacil58ytv
bzr log bzr:// was failing at the first revision because it was trying to

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: