~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit_signature_commands.py

(jelmer) Switch the commit code over to use config stacks. (Bazaar
 Developers)

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
 
62
62
        if committer is None:
63
63
            committer = branch_config.username()
64
 
        gpg_strategy = gpg.GPGStrategy(branch_config)
 
64
        gpg_strategy = gpg.GPGStrategy(branch.get_config_stack())
65
65
 
66
66
        count = 0
67
67
        repo.lock_write()
119
119
        bzrdir = controldir.ControlDir.open_containing(location)[0]
120
120
        branch = bzrdir.open_branch()
121
121
        repo = branch.repository
122
 
        branch_config = branch.get_config()
 
122
        branch_config = branch.get_config_stack()
123
123
        gpg_strategy = gpg.GPGStrategy(branch_config)
124
124
 
125
125
        gpg_strategy.set_acceptable_keys(acceptable_keys)