~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/upgrade.py

  • Committer: Robert Collins
  • Date: 2005-10-16 14:51:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1459.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016145121-01852573f8c63daa
replace __contains__ calls in stores with has_id

Show diffs side-by-side

added added

removed removed

Lines of Context:
263
263
        self.pb.update('loading revision',
264
264
                       len(self.revisions),
265
265
                       len(self.known_revisions))
266
 
        if rev_id not in self.branch.revision_store:
 
266
        if not self.branch.revision_store.has_id(rev_id):
267
267
            self.pb.clear()
268
268
            note('revision {%s} not present in branch; '
269
269
                 'will be converted as a ghost',