Rev 289: Fix matching formats. in http://people.samba.org/bzr/jelmer/bzr-svn/bzr.dev

Jelmer Vernooij jelmer at samba.org
Mon Dec 25 02:33:13 GMT 2006


------------------------------------------------------------
revno: 289
revision-id: jelmer at samba.org-20061225023249-qpfksqt0p29ev0lz
parent: jelmer at samba.org-20061225015153-3dhqe59my32ln6wu
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: main
timestamp: Mon 2006-12-25 03:32:49 +0100
message:
  Fix matching formats.
modified:
  fetch.py                       fetch.py-20060625004942-x2lfaib8ra707a8p-1
  repository.py                  repository.py-20060306123302-1f8c5069b3fe0265
=== modified file 'fetch.py'
--- a/fetch.py	2006-12-18 15:02:47 +0000
+++ b/fetch.py	2006-12-25 02:32:49 +0000
@@ -255,7 +255,7 @@
 class InterSvnRepository(InterRepository):
     """Svn to any repository actions."""
 
-    _matching_repo_format = SvnRepositoryFormat
+    _matching_repo_format = SvnRepositoryFormat()
     """The format to test with."""
 
     @needs_write_lock

=== modified file 'repository.py'
--- a/repository.py	2006-12-23 22:56:57 +0000
+++ b/repository.py	2006-12-25 02:32:49 +0000
@@ -174,6 +174,8 @@
 
     def __init__(self):
         super(SvnRepositoryFormat, self).__init__()
+        from format import SvnFormat
+        self._matchingbzrdir = SvnFormat()
 
     def get_format_description(self):
         return "Subversion Repository"




More information about the bazaar-commits mailing list