~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/sign_my_commits.py

Merge in knit repository use of knits - still not a stable format, but can be experimented with.

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)