542
542
plaintext = Testament(rev, inv).as_short_text()
543
543
self.store_revision_signature(
544
544
gpg.GPGStrategy(config), plaintext, revision_id)
547
548
raise errors.WeaveRevisionNotPresent(revision_id,
550
551
# yes, this is not suitable for adding with ghosts.
553
556
self._revision_store.add_revision(rev, self.get_transaction())
555
558
def _add_revision_text(self, revision_id, text):