Rev 2248: rename method in file:///home/mbp/bzr/Work/repoformats/
Martin Pool
mbp at sourcefrog.net
Wed Feb 7 09:15:51 GMT 2007
------------------------------------------------------------
revno: 2248
revision-id: mbp at sourcefrog.net-20070207091549-zfl9ws3ne5ysg4e8
parent: mbp at sourcefrog.net-20070207091131-458fw18bgytvaz7t
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: repoformats
timestamp: Wed 2007-02-07 20:15:49 +1100
message:
rename method
modified:
bzrlib/repository.py rev_storage.py-20051111201905-119e9401e46257e3
=== modified file 'bzrlib/repository.py'
--- a/bzrlib/repository.py 2007-02-07 09:11:31 +0000
+++ b/bzrlib/repository.py 2007-02-07 09:15:49 +0000
@@ -1166,7 +1166,7 @@
"""
@classmethod
- def _get_matching_repo_format(self):
+ def _get_repo_format_to_test(self):
"""Repository format for testing with."""
return RepositoryFormat.get_default_format()
@@ -1223,7 +1223,7 @@
"""Optimised code paths between Knit based repositories."""
@classmethod
- def _get_matching_repo_format(self):
+ def _get_repo_format_to_test(self):
from bzrlib.repofmt import knitrepo
return knitrepo.RepositoryFormatKnit1()
@@ -1288,7 +1288,7 @@
class InterModel1and2(InterRepository):
@classmethod
- def _get_matching_repo_format(self):
+ def _get_repo_format_to_test(self):
return None
@staticmethod
@@ -1340,7 +1340,7 @@
class InterKnit1and2(InterKnitRepo):
@classmethod
- def _get_matching_repo_format(self):
+ def _get_repo_format_to_test(self):
return None
@staticmethod
@@ -1448,7 +1448,7 @@
# RepositoryFormat6(),
# RepositoryFormatKnit1()))
for optimiser_class in InterRepository._optimisers:
- format_to_test = optimiser_class._get_matching_repo_format()
+ format_to_test = optimiser_class._get_repo_format_to_test()
if format_to_test is not None:
result.append((optimiser_class,
format_to_test, format_to_test))
More information about the bazaar-commits
mailing list