~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

(jelmer) Use config stacks for ``bzr.transform.orphan_policy``. (Jelmer
 Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
857
857
        sub_tree.add('file')
858
858
        tree.commit('Initial commit')
859
859
        # The following line force the orhaning to reveal bug #634470
860
 
        tree.branch.get_config().set_user_option(
 
860
        tree.branch.get_config_stack().set(
861
861
            'bzr.transform.orphan_policy', 'move')
862
862
        tree.bzrdir.destroy_workingtree()
863
863
        # FIXME: subtree/.bzr is left here which allows the test to pass (or