~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/sign_my_commits.py

  • Committer: Martin Pool
  • Date: 2006-03-09 07:14:10 UTC
  • mfrom: (1600 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1602.
  • Revision ID: mbp@sourcefrog.net-20060309071410-4ab7d54905541c75
[merge] from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
 
58
58
        gpg_strategy = bzrlib.gpg.GPGStrategy(config)
59
59
 
60
 
        if not repo.revision_store.listable():
61
 
            raise errors.BzrCommandError('cannot sign revisions on non-listable transports')
62
 
 
63
60
        count = 0
64
61
        # return in partial topological order for the sake of reproducibility
65
62
        for rev_id in repo.all_revision_ids():
66
 
            if repo.revision_store.has_id(rev_id, suffix='sig'):
 
63
            if repo.has_signature_for_revision_id(rev_id):
67
64
                continue
68
65
            
69
66
            rev = repo.get_revision(rev_id)