~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit_signature_commands.py

  • Committer: Vincent Ladeuil
  • Date: 2012-02-14 17:22:37 UTC
  • mfrom: (6466 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6468.
  • Revision ID: v.ladeuil+lp@free.fr-20120214172237-7dv7er3n4uy8d5m4
Merge trunk

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