~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Patch Queue Manager
  • Date: 2011-10-14 16:54:26 UTC
  • mfrom: (6216.1.1 remove-this-file)
  • Revision ID: pqm@pqm.ubuntu.com-20111014165426-tjix4e6idryf1r2z
(jelmer) Remove an accidentally committed .THIS file. (Jelmer Vernooij)

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
 
 
21
19
# TODO: Choice of more or less verbose formats:
22
20
#
23
21
# interposed: show more details between blocks of modified lines
107
105
        current_rev = Revision(CURRENT_REVISION)
108
106
        current_rev.parent_ids = tree.get_parent_ids()
109
107
        try:
110
 
            current_rev.committer = branch.get_config_stack().get('email')
 
108
            current_rev.committer = branch.get_config().username()
111
109
        except errors.NoWhoami:
112
110
            current_rev.committer = 'local user'
113
111
        current_rev.message = "?"