~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_push.py

  • Committer: Patch Queue Manager
  • Date: 2011-09-22 13:22:18 UTC
  • mfrom: (6155.2.2 migrate-config-options)
  • Revision ID: pqm@pqm.ubuntu.com-20110922132218-nitl31j5slbcmnm2
(vila) Migrate dpush_strict,
 push_strict and send_strict options to the stack based config design,
 introducing get_config_stack for branches (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
676
676
    def set_config_push_strict(self, value):
677
677
        # set config var (any of bazaar.conf, locations.conf, branch.conf
678
678
        # should do)
679
 
        conf = self.tree.branch.get_config()
680
 
        conf.set_user_option('push_strict', value)
 
679
        conf = self.tree.branch.get_config_stack()
 
680
        conf.set('push_strict', value)
681
681
 
682
682
    _default_command = ['push', '../to']
683
683
    _default_wd = 'local'