Rev 378: Fix test_fetch_all(). in http://people.samba.org/bzr/jelmer/bzr-svn/bzr.dev

Jelmer Vernooij jelmer at samba.org
Sat Jan 6 21:25:03 GMT 2007


------------------------------------------------------------
revno: 378
revision-id: jelmer at samba.org-20070106212433-roc7i97z1uuna32a
parent: jelmer at samba.org-20070106205319-xuizcqarqb4rrv2e
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: main
timestamp: Sat 2007-01-06 22:24:33 +0100
message:
  Fix test_fetch_all().
modified:
  tests/test_repos.py            test_repos.py-20060508151940-ddc49a59257ca712
=== modified file 'tests/test_repos.py'
--- a/tests/test_repos.py	2007-01-03 10:46:12 +0000
+++ b/tests/test_repos.py	2007-01-06 21:24:33 +0000
@@ -1630,8 +1630,7 @@
         newrepos = dir.create_repository()
         oldrepos.copy_content_into(newrepos)
 
-    # FIXME
-    def notest_fetch_all(self):
+    def test_fetch_all(self):
         repos_url = self.make_client('d', 'dc')
 
         self.build_tree({'dc/trunk': None, 
@@ -1649,8 +1648,8 @@
         self.client_add("dc/branches")
         self.client_commit("dc", "foohosts") #4
 
-        oldrepos = format.SvnRemoteAccess(SvnRaTransport("svn+"+repos_url), format.SvnFormat(), 
-                                   TrunkBranchingScheme()).find_repository()
+        oldrepos = Repository.open(repos_url)
+        oldrepos.set_branching_scheme(TrunkBranchingScheme())
         dir = BzrDir.create("f")
         newrepos = dir.create_repository()
         oldrepos.copy_content_into(newrepos)




More information about the bazaar-commits mailing list