~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/bzrdir_implementations/test_bzrdir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-18 05:13:43 UTC
  • mfrom: (4456.2.1 default-stacking-again)
  • Revision ID: pqm@pqm.ubuntu.com-20090618051343-c9ltrfncx8hvw729
(andrew) Fix branch format upgrades triggered by default stacking
        policy on a smart server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1275
1275
        fallback_repo = repo._fallback_repositories[0]
1276
1276
        self.assertEqual(
1277
1277
            stack_on.base, fallback_repo.bzrdir.root_transport.base)
 
1278
        # The bzrdir creates a branch in stacking-capable format.
 
1279
        new_branch = control.create_branch()
 
1280
        self.assertTrue(new_branch._format.supports_stacking())
1278
1281
 
1279
1282
    def test_format_initialize_on_transport_ex_repo_fmt_name_None(self):
1280
1283
        t = self.get_transport('dir')