~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit_signature_commands.py

MergeĀ lp:bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
            bzrdir = controldir.ControlDir.open(location)
60
60
        branch = bzrdir.open_branch()
61
61
        repo = branch.repository
62
 
        branch_config = branch.get_config()
 
62
        branch_config = branch.get_config_stack()
63
63
 
64
64
        if committer is None:
65
 
            committer = branch_config.username()
66
 
        gpg_strategy = gpg.GPGStrategy(branch.get_config_stack())
 
65
            committer = branch_config.get('email')
 
66
        gpg_strategy = gpg.GPGStrategy(branch_config)
67
67
 
68
68
        count = 0
69
69
        repo.lock_write()