~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Martin von Gagern
  • Date: 2011-06-01 12:53:56 UTC
  • mto: This revision was merged to the branch mainline in revision 6009.
  • Revision ID: martin.vgagern@gmx.net-20110601125356-lwozv2vecea6hxfz
Change from no_decorate to classify as name for the argument.

The command line switch remains as --no-classify, to keep backwards
compatibility.  Users are free to include --no-classify in an alias, and
still use --classify to change back.

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