~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

[merge] update from bzr.dev

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):