/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/workingtree.py

Teach WorkingTree.commit to return the committed revision id.

Show diffs side-by-side

added added

removed removed

Lines of Context:
509
509
        # but with branch a kwarg now, passing in args as is results in the
510
510
        #message being used for the branch
511
511
        args = (DEPRECATED_PARAMETER, message, ) + args
512
 
        Commit().commit(working_tree=self, revprops=revprops, *args, **kwargs)
 
512
        committed_id = Commit().commit( working_tree=self, revprops=revprops,
 
513
            *args, **kwargs)
513
514
        self._set_inventory(self.read_working_inventory())
 
515
        return committed_id
514
516
 
515
517
    def id2abspath(self, file_id):
516
518
        return self.abspath(self.id2path(file_id))