Rev 22: Unbork the test suite when bzr-hg is present. in http://bazaar.launchpad.net/~bzr/bzr-hg/trunk

Robert Collins robertc at robertcollins.net
Wed Jul 11 09:12:44 BST 2007


At http://bazaar.launchpad.net/~bzr/bzr-hg/trunk

------------------------------------------------------------
revno: 22
revision-id: robertc at robertcollins.net-20070711081236-ggxhdczjd8an7523
parent: robertc at robertcollins.net-20070711080621-jhtqit9lsw74va37
committer: Robert Collins <robertc at robertcollins.net>
branch nick: trunk
timestamp: Wed 2007-07-11 18:12:36 +1000
message:
  Unbork the test suite when bzr-hg is present.
modified:
  __init__.py                    __init__.py-20060531211707-2fy7rwqqcmfgf8ve-1
=== modified file '__init__.py'
--- a/__init__.py	2007-07-11 08:06:21 +0000
+++ b/__init__.py	2007-07-11 08:12:36 +0000
@@ -601,8 +601,10 @@
 class FromHgRepository(bzrlib.repository.InterRepository):
     """Hg to any repository actions."""
 
-    _matching_repo_format = None 
-    """The formate to test with - as yet there is no HgRepoFormat."""
+    @classmethod
+    def _get_repo_format_to_test(self):
+        """The formate to test with - as yet there is no HgRepoFormat."""
+        return None
 
     @needs_write_lock
     def copy_content(self, revision_id=None, basis=None):




More information about the bazaar-commits mailing list