Rev 3838: Skip the stack_on_repository test for BranchReference branches. in http://bzr.arbash-meinel.com/branches/bzr/1.10-dev/sprout_matching_bzrdir

John Arbash Meinel john at arbash-meinel.com
Mon Dec 1 21:15:57 GMT 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.10-dev/sprout_matching_bzrdir

------------------------------------------------------------
revno: 3838
revision-id: john at arbash-meinel.com-20081201211547-j1j916fkt5m1e957
parent: john at arbash-meinel.com-20081118184909-1zzbag6llm5z1ucc
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: sprout_matching_bzrdir
timestamp: Mon 2008-12-01 15:15:47 -0600
message:
  Skip the stack_on_repository test for BranchReference branches.
-------------- next part --------------
=== modified file 'bzrlib/tests/branch_implementations/test_stacking.py'
--- a/bzrlib/tests/branch_implementations/test_stacking.py	2008-11-12 06:58:47 +0000
+++ b/bzrlib/tests/branch_implementations/test_stacking.py	2008-12-01 21:15:47 +0000
@@ -401,7 +401,10 @@
             raise TestNotApplicable()
         # Avoid make_branch, which produces standalone branches.
         bzrdir = self.make_bzrdir('repo/stack-on')
-        b = bzrdir.create_branch()
+        try:
+            b = bzrdir.create_branch()
+        except errors.UninitializableFormat:
+            raise TestNotApplicable()
         transport = self.get_transport('stacked')
         b.bzrdir.clone_on_transport(transport, stacked_on=b.base)
         # Ensure that opening the branch doesn't raise.



More information about the bazaar-commits mailing list