284
284
sha1 = StrictTestament(rev, inventory).as_sha1()
285
285
if sha1 != rev_info.sha1:
286
286
raise TestamentMismatch(rev.revision_id, rev_info.sha1, sha1)
288
288
raise BzrError('Revision {%s} given twice in the list'
290
290
rev_to_sha1[rev.revision_id] = sha1