~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.py

  • Committer: Lukáš Lalinský
  • Date: 2007-08-07 13:08:29 UTC
  • mto: (2755.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2709.
  • Revision ID: lalinsky@gmail.com-20070807130829-0m0eg3r8i587mtym
Move setting of the author revision property to MutableTree.commit. Don't use try/except KeyError in LongLogFormatter to display authors and branch-nicks. Removed warning about missing e-mail in the authors name.

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
            revprops = {}
202
202
        if not 'branch-nick' in revprops:
203
203
            revprops['branch-nick'] = self.branch.nick
 
204
        author = kwargs.pop('author', None)
 
205
        if not 'author' in revprops and author:
 
206
            revprops['author'] = author
204
207
        # args for wt.commit start at message from the Commit.commit method,
205
208
        args = (message, ) + args
206
209
        committed_id = commit.Commit().commit(working_tree=self,