~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mutabletree.py

  • Committer: Aaron Bentley
  • Date: 2006-11-27 16:14:24 UTC
  • mto: This revision was merged to the branch mainline in revision 2155.
  • Revision ID: abentley@panoramicfeedback.com-20061127161424-kc3b780vnb6tm6yk
Updates from review comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
            revprops = {}
119
119
        if not 'branch-nick' in revprops:
120
120
            revprops['branch-nick'] = self.branch.nick
121
 
        if message is not None:
122
 
            kwargs['message_callback'] = lambda: message
123
121
        # args for wt.commit start at message from the Commit.commit method,
124
122
        # but with branch a kwarg now, passing in args as is results in the
125
123
        #message being used for the branch
126
 
        args = (DEPRECATED_PARAMETER, DEPRECATED_PARAMETER, ) + args
 
124
        args = (DEPRECATED_PARAMETER, message, ) + args
127
125
        committed_id = commit.Commit().commit(working_tree=self,
128
126
            revprops=revprops, *args, **kwargs)
129
127
        return committed_id