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

  • Committer: Jelmer Vernooij
  • Date: 2007-08-28 01:58:42 UTC
  • mto: This revision was merged to the branch mainline in revision 2752.
  • Revision ID: jelmer@samba.org-20070828015842-omg7ss93kt0m3ryz
Add CommitBuilder.abort().

Show diffs side-by-side

added added

removed removed

Lines of Context:
2136
2136
        self.repository.commit_write_group()
2137
2137
        return self._new_revision_id
2138
2138
 
 
2139
    def abort(self):
 
2140
        """Abort the commit that is being built.
 
2141
        """
 
2142
        self.repository.abort_write_group()
 
2143
 
2139
2144
    def revision_tree(self):
2140
2145
        """Return the tree that was just committed.
2141
2146