158
159
revf = self.revision_store[revision_id]
160
161
raise NoSuchRevision(self, revision_id)
162
163
if r.revision_id != revision_id:
163
164
raise BzrCheckError('revision stored as {%s} actually contains {%s}'
164
165
% (revision_id, r.revision_id))