~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/sign_my_commits.py

  • Committer: Robert Collins
  • Date: 2006-03-06 09:38:37 UTC
  • mto: (1594.2.4 integration)
  • mto: This revision was merged to the branch mainline in revision 1596.
  • Revision ID: robertc@robertcollins.net-20060306093837-b151989e9572895e
Remove all but fetch references to repository.revision_store.

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)