~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: Aaron Bentley
  • Date: 2005-11-17 05:14:54 UTC
  • mto: (1185.65.14 storage)
  • mto: This revision was merged to the branch mainline in revision 1550.
  • Revision ID: aaron.bentley@utoronto.ca-20051117051454-e9ac1dd13766b978
Moved get_ancestry to RevisionStorage

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
    revisions_source is an object supporting a get_revision operation that
89
89
    behaves like Branch's.
90
90
    """
91
 
    return candidate_id in branch.get_ancestry(revision_id)
 
91
    return candidate_id in branch.storage.get_ancestry(revision_id)
92
92
 
93
93
 
94
94
def iter_ancestors(revision_id, revision_source, only_present=False):