~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-20 12:19:29 UTC
  • mfrom: (6437.23.11 2.5)
  • mto: (6581.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 6582.
  • Revision ID: jelmer@samba.org-20120220121929-7ni2psvjoatm1yp4
Merge bzr/2.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""File annotate based on weave storage"""
18
18
 
 
19
from __future__ import absolute_import
 
20
 
19
21
# TODO: Choice of more or less verbose formats:
20
22
#
21
23
# interposed: show more details between blocks of modified lines
105
107
        current_rev = Revision(CURRENT_REVISION)
106
108
        current_rev.parent_ids = tree.get_parent_ids()
107
109
        try:
108
 
            current_rev.committer = branch.get_config().username()
 
110
            current_rev.committer = branch.get_config_stack().get('email')
109
111
        except errors.NoWhoami:
110
112
            current_rev.committer = 'local user'
111
113
        current_rev.message = "?"