/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/bundle/serializer/v4.py

  • Committer: Martin Pool
  • Date: 2007-09-26 02:36:24 UTC
  • mfrom: (2867 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2868.
  • Revision ID: mbp@sourcefrog.net-20070926023624-25aievju0yd3m10l
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
466
466
        self._info = None
467
467
 
468
468
    def install(self):
469
 
        """Perform the installation"""
 
469
        """Perform the installation.
 
470
        
 
471
        Must be called with the Repository locked.
 
472
        """
 
473
        self._repository.start_write_group()
 
474
        try:
 
475
            result = self._install_in_write_group()
 
476
        except:
 
477
            self._repository.abort_write_group()
 
478
            raise
 
479
        self._repository.commit_write_group()
 
480
        return result
 
481
 
 
482
    def _install_in_write_group(self):
470
483
        current_file = None
471
484
        current_versionedfile = None
472
485
        pending_file_records = []