~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: INADA Naoki
  • Date: 2011-05-05 09:15:34 UTC
  • mto: (5830.3.3 i18n-msgfmt)
  • mto: This revision was merged to the branch mainline in revision 5873.
  • Revision ID: songofacandy@gmail.com-20110505091534-7sv835xpofwrmpt4
Add update-pot command to Makefile and tools/bzrgettext script that
extracts help text from bzr commands.

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
        # bugfixes etc.
105
105
        current_rev = Revision(CURRENT_REVISION)
106
106
        current_rev.parent_ids = tree.get_parent_ids()
107
 
        try:
108
 
            current_rev.committer = branch.get_config().username()
109
 
        except errors.NoWhoami:
110
 
            current_rev.committer = 'local user'
 
107
        current_rev.committer = branch.get_config().username()
111
108
        current_rev.message = "?"
112
109
        current_rev.timestamp = round(time.time(), 3)
113
110
        current_rev.timezone = osutils.local_time_offset()