~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transform.py

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
3634
3634
        self.assertRaises(NotImplementedError, tt.new_orphan, 'foo', 'bar')
3635
3635
 
3636
3636
    def _set_orphan_policy(self, wt, policy):
3637
 
        wt.branch.get_config().set_user_option('bzr.transform.orphan_policy',
 
3637
        wt.branch.get_config_stack().set('bzr.transform.orphan_policy',
3638
3638
                                               policy)
3639
3639
 
3640
3640
    def _prepare_orphan(self, wt):