Rev 1257: Skip test that breaks with svn 1.5. in http://people.samba.org/bzr/jelmer/bzr-svn/0.4

Jelmer Vernooij jelmer at samba.org
Sun Jun 22 08:38:17 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/0.4

------------------------------------------------------------
revno: 1257
revision-id: jelmer at samba.org-20080622073816-k3b3c3jkddeqr287
parent: jelmer at samba.org-20080622073715-ygjbmezdws9aru0i
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sun 2008-06-22 09:38:16 +0200
message:
  Skip test that breaks with svn 1.5.
modified:
  tests/test_repos.py            test_repos.py-20060508151940-ddc49a59257ca712
=== modified file 'tests/test_repos.py'
--- a/tests/test_repos.py	2008-06-22 07:37:15 +0000
+++ b/tests/test_repos.py	2008-06-22 07:38:16 +0000
@@ -27,7 +27,7 @@
 from bzrlib.osutils import has_symlinks
 from bzrlib.repository import Repository
 from bzrlib.revision import NULL_REVISION, Revision
-from bzrlib.tests import TestCase
+from bzrlib.tests import TestCase, TestSkipped
 
 import os, sys
 
@@ -973,6 +973,8 @@
                    [(l.branch_path, l.paths, l.revnum) for l in oldrepos.iter_reverse_branch_changes("trunk", 3, TrunkBranchingScheme())])
 
     def test_control_code_msg(self):
+        if ra.version()[1] >= 5:
+            raise TestSkipped("Test not runnable with Subversion >= 1.5")
         repos_url = self.make_client('d', 'dc')
 
         self.build_tree({'dc/trunk': None})




More information about the bazaar-commits mailing list