~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

  • Committer: Aaron Bentley
  • Date: 2008-06-17 19:35:46 UTC
  • mfrom: (3242.5.1 stacking-policy)
  • mto: This revision was merged to the branch mainline in revision 3538.
  • Revision ID: aaron@aaronbentley.com-20080617193546-bnk160d6gh5nqxp9
Merge with jml's relative stack_on

Show diffs side-by-side

added added

removed removed

Lines of Context:
433
433
    def test_clone_on_transport_obeys_stacking_policy(self):
434
434
        parent_bzrdir = self.make_bzrdir('.')
435
435
        child_branch = self.make_branch('child', format='development1')
436
 
        parent_bzrdir.get_config().set_default_stack_on('child')
 
436
        parent_bzrdir.get_config().set_default_stack_on(child_branch.base)
437
437
        new_child_transport = parent_bzrdir.transport.clone('child2')
438
438
        new_child = child_branch.bzrdir.clone_on_transport(new_child_transport)
439
 
        self.assertEqual('child',
 
439
        self.assertEqual(child_branch.base,
440
440
                         new_child.open_branch().get_stacked_on())
441
441
 
442
442