/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: Robert Collins
  • Date: 2008-04-04 00:06:58 UTC
  • mto: This revision was merged to the branch mainline in revision 3350.
  • Revision ID: robertc@robertcollins.net-20080404000658-uw2nmrw8t5kcqbly
Remove manual notification of transaction finishing on versioned files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2038
2038
        return not self.control_files._transport.has('no-working-trees')
2039
2039
 
2040
2040
 
 
2041
class MetaDirVersionedFileRepository(MetaDirRepository):
 
2042
    """Repositories in a meta-dir, that work via versioned file objects."""
 
2043
 
 
2044
    def __init__(self, _format, a_bzrdir, control_files, _revision_store, control_store, text_store):
 
2045
        super(MetaDirVersionedFileRepository, self).__init__(_format,
 
2046
                                                a_bzrdir,
 
2047
                                                control_files,
 
2048
                                                _revision_store,
 
2049
                                                control_store,
 
2050
                                                text_store)
 
2051
        _revision_store.get_scope = self.get_transaction
 
2052
        control_store.get_scope = self.get_transaction
 
2053
        text_store.get_scope = self.get_transaction
 
2054
 
 
2055
 
2041
2056
class RepositoryFormatRegistry(registry.Registry):
2042
2057
    """Registry of RepositoryFormats."""
2043
2058