~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-10 06:29:53 UTC
  • mfrom: (1608 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1611.
  • Revision ID: mbp@sourcefrog.net-20060310062953-bc1c7ade75c89a7a
[merge] bzr.dev; pycurl not updated for readv yet

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)