~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Vincent Ladeuil
  • Date: 2011-06-27 15:42:09 UTC
  • mfrom: (5993 +trunk)
  • mto: (5993.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 5994.
  • Revision ID: v.ladeuil+lp@free.fr-20110627154209-azubuhbuxsz109hq
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
from bzrlib import (
39
39
    errors,
40
40
    osutils,
 
41
    i18n,
41
42
    )
42
43
from bzrlib.config import extract_email_address
43
44
from bzrlib.repository import _strip_NULL_ghosts
107
108
        try:
108
109
            current_rev.committer = branch.get_config().username()
109
110
        except errors.NoWhoami:
110
 
            current_rev.committer = 'local user'
 
111
            current_rev.committer = i18n.gettext("local user")
111
112
        current_rev.message = "?"
112
113
        current_rev.timestamp = round(time.time(), 3)
113
114
        current_rev.timezone = osutils.local_time_offset()