~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-12-07 06:46:46 UTC
  • mfrom: (3092.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20071207064646-1nif1u2vsep2vqud
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(