~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

Teach WorkingTree.commit to return the committed revision id.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
 
99
99
    New code should use the Commit class instead.
100
100
    """
101
 
    ## XXX: Remove this in favor of Branch.commit?
 
101
    ## XXX: Remove this in favor of WorkingTree.commit?
102
102
    Commit().commit(*args, **kwargs)
103
103
 
104
104
 
343
343
            self._emit_progress_update()
344
344
        finally:
345
345
            self._cleanup()
 
346
        return self.rev_id
346
347
 
347
348
    def _check_bound_branch(self):
348
349
        """Check to see if the local branch is bound.