~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit_signature_commands.py

  • Committer: Patch Queue Manager
  • Date: 2012-02-06 12:27:27 UTC
  • mfrom: (6449.6.7 bzr)
  • Revision ID: pqm@pqm.ubuntu.com-20120206122727-bq0phmt80bmlvvx7
(jelmer) Use config stacks in a few more places. (Jelmer Vernooij)

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()