~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: Aaron Bentley
  • Date: 2005-09-18 21:37:03 UTC
  • mto: (1185.1.29)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: aaron.bentley@utoronto.ca-20050918213703-20437815d381a735
Set a pending_merge if the merge base is forced to revno 0

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
    revisions_source is an object supporting a get_revision operation that
107
107
    behaves like Branch's.
108
108
    """
109
 
 
 
109
    if candidate_id is None:
 
110
        return True
110
111
    for ancestor_id, distance in iter_ancestors(revision_id, revision_source):
111
112
        if ancestor_id == candidate_id:
112
113
            return True