~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit_signature_commands.py

  • Committer: Vincent Ladeuil
  • Date: 2016-01-21 10:50:35 UTC
  • mfrom: (6609 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6610.
  • Revision ID: v.ladeuil+lp@free.fr-20160121105035-r67vcb49o142g2li
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
                        ' acceptable for verification.',
112
112
                   short_name='k',
113
113
                   type=str,),
114
 
            'revision', 
 
114
            'revision',
115
115
            'verbose',
116
116
          ]
117
117
    takes_args = ['location?']
160
160
                    # Ignore ghosts
161
161
                    continue
162
162
                revisions.append(rev_id)
163
 
        count, result, all_verifiable =\
164
 
                                gpg.bulk_verify_signatures(repo, revisions, gpg_strategy)
 
163
        count, result, all_verifiable = gpg.bulk_verify_signatures(
 
164
            repo, revisions, gpg_strategy)
165
165
        if all_verifiable:
166
166
               write(gettext("All commits signed with verifiable keys"))
167
167
               if verbose:
168
 
                   write(gpg.verbose_valid_message(result))
 
168
                   for message in gpg.verbose_valid_message(result):
 
169
                       write_verbose(message)
169
170
               return 0
170
171
        else:
171
172
            write(gpg.valid_commits_message(count))