~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Martin Pool
  • Date: 2007-02-12 05:09:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2283.
  • Revision ID: mbp@sourcefrog.net-20070212050955-ctczxopwvmco8rv0
Re-register InterWeaveRepo, fix test integration, add test for it

Show diffs side-by-side

added added

removed removed

Lines of Context:
1227
1227
class InterWeaveRepo(InterSameDataRepository):
1228
1228
    """Optimised code paths between Weave based repositories."""
1229
1229
 
1230
 
 
 
1230
    @classmethod
1231
1231
    def _get_repo_format_to_test(self):
1232
1232
        from bzrlib.repofmt import weaverepo
1233
1233
        return weaverepo.RepositoryFormat7()
1500
1500
 
1501
1501
 
1502
1502
InterRepository.register_optimiser(InterSameDataRepository)
 
1503
InterRepository.register_optimiser(InterWeaveRepo)
1503
1504
InterRepository.register_optimiser(InterKnitRepo)
1504
1505
InterRepository.register_optimiser(InterModel1and2)
1505
1506
InterRepository.register_optimiser(InterKnit1and2)