~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

 * The internal storage of history, and logical branch identity have now
   been split into Branch, and Repository. The common locking and file 
   management routines are now in bzrlib.lockablefiles. 
   (Aaron Bentley, Robert Collins, Martin Pool)

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.repository.get_ancestry(revision_id)
92
92
 
93
93
 
94
94
def iter_ancestors(revision_id, revision_source, only_present=False):