~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Ian Clatworthy
  • Date: 2007-12-07 05:53:45 UTC
  • mfrom: (3078.2.8 bzr.switch)
  • mto: This revision was merged to the branch mainline in revision 3093.
  • Revision ID: ian.clatworthy@internode.on.net-20071207055345-ek2m118pm79nowuf
switch for heavyweight checkouts

Show diffs side-by-side

added added

removed removed

Lines of Context:
361
361
        """Determine whether a revision is an ancestor of another.
362
362
 
363
363
        We answer this using heads() as heads() has the logic to perform the
364
 
        smallest number of parent looksup to determine the ancestral
 
364
        smallest number of parent lookups to determine the ancestral
365
365
        relationship between N revisions.
366
366
        """
367
367
        return set([candidate_descendant]) == self.heads(