/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Jonathan Riddell
  • Date: 2011-06-14 13:41:25 UTC
  • mto: (5971.2.3 bzr-gpgme)
  • mto: This revision was merged to the branch mainline in revision 6003.
  • Revision ID: jriddell@canonical.com-20110614134125-aee3wvqwuhtm9kc8
add a verify command

Show diffs side-by-side

added added

removed removed

Lines of Context:
1200
1200
        plaintext = testament.as_short_text()
1201
1201
        self.store_revision_signature(gpg_strategy, plaintext, revision_id)
1202
1202
 
 
1203
    def verify_revision(self, revision_id, gpg_strategy):
 
1204
        signature = self.get_signature_text(revision_id)
 
1205
        return gpg_strategy.verify(signature)
 
1206
 
1203
1207
    def has_signature_for_revision_id(self, revision_id):
1204
1208
        """Query for a revision signature for revision_id in the repository."""
1205
1209
        raise NotImplementedError(self.has_signature_for_revision_id)