~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Jelmer Vernooij
  • Date: 2012-03-11 16:51:49 UTC
  • mto: This revision was merged to the branch mainline in revision 6494.
  • Revision ID: jelmer@samba.org-20120311165149-s2bs5pe2t160h85r
Add Repository.verify_revision_signatures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1195
1195
 
1196
1196
        :param revision_id: the revision to verify
1197
1197
        :gpg_strategy: the GPGStrategy object to used
1198
 
 
 
1198
        :return: Iterator over tuples with revision id, result and keys
1199
1199
        """
 
1200
        for revid in revision_ids:
 
1201
            (result, key) = self.verify_revision_signature(revid)
 
1202
            yield revid, result, key
1200
1203
 
1201
1204
    def has_signature_for_revision_id(self, revision_id):
1202
1205
        """Query for a revision signature for revision_id in the repository."""