~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Aaron Bentley
  • Date: 2008-04-24 04:58:42 UTC
  • mfrom: (3377 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3380.
  • Revision ID: aaron@aaronbentley.com-20080424045842-0cajl9v6s4u52kaw
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
479
479
            if rev in weave_modifed_revisions:
480
480
                rev_ancestry.add(rev)
481
481
            for parent in parents:
 
482
                if parent not in ancestry:
 
483
                    # parent is a Ghost, which won't be present in
 
484
                    # sorted_rev_list, but we may access it later, so create an
 
485
                    # empty node for it
 
486
                    ancestry[parent] = set()
482
487
                rev_ancestry = rev_ancestry.union(ancestry[parent])
483
488
        ancestry[rev] = rev_ancestry
484
489