~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Robert Collins
  • Date: 2006-04-19 23:32:08 UTC
  • mto: (1711.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 1674.
  • Revision ID: robertc@robertcollins.net-20060419233208-2ed6906796994316
Make knit the default format.
Adjust affect tests to either have knit specific values or to be more generic,
as appropriate.
Disable all SFTP prefetching for known paramikos - direct readv support is now
a TODO.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1380
1380
 
1381
1381
# formats which have no format string are not discoverable
1382
1382
# and not independently creatable, so are not registered.
1383
 
_default_format = RepositoryFormat7()
 
1383
RepositoryFormat.register_format(RepositoryFormat7())
 
1384
_default_format = RepositoryFormatKnit1()
1384
1385
RepositoryFormat.register_format(_default_format)
1385
 
RepositoryFormat.register_format(RepositoryFormatKnit1())
1386
1386
RepositoryFormat.set_default_format(_default_format)
1387
1387
_legacy_formats = [RepositoryFormat4(),
1388
1388
                   RepositoryFormat5(),
1511
1511
class InterWeaveRepo(InterRepository):
1512
1512
    """Optimised code paths between Weave based repositories."""
1513
1513
 
1514
 
    _matching_repo_format = _default_format
 
1514
    _matching_repo_format = RepositoryFormat7()
1515
1515
    """Repository format for testing with."""
1516
1516
 
1517
1517
    @staticmethod