/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Robert Collins
  • Date: 2006-03-06 22:11:12 UTC
  • mto: This revision was merged to the branch mainline in revision 1594.
  • Revision ID: robertc@robertcollins.net-20060306221112-3568dfec725df156
Move responsibility for setting branch nickname in commits to the WorkingTree convenience function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
        self.rev_id = rev_id
233
233
        self.specific_files = specific_files
234
234
        self.allow_pointless = allow_pointless
235
 
        self.revprops = {'branch-nick': self.branch.nick}
236
 
        if revprops:
 
235
        self.revprops = {}
 
236
        if revprops is not None:
237
237
            self.revprops.update(revprops)
238
238
 
239
239
        self.work_tree.lock_write()