~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

Move all features to bzrlib.tests.features in 2.5

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
 
        current_rev.committer = branch.get_config().username()
 
107
        try:
 
108
            current_rev.committer = branch.get_config().username()
 
109
        except errors.NoWhoami:
 
110
            current_rev.committer = 'local user'
108
111
        current_rev.message = "?"
109
112
        current_rev.timestamp = round(time.time(), 3)
110
113
        current_rev.timezone = osutils.local_time_offset()