~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2012-02-06 12:27:27 UTC
  • mfrom: (6449.6.7 bzr)
  • Revision ID: pqm@pqm.ubuntu.com-20120206122727-bq0phmt80bmlvvx7
(jelmer) Use config stacks in a few more places. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
        self.build_tree_contents([('small.txt', '0\n')])
248
248
        self.build_tree_contents([('big.txt', '01234567890123456789\n')])
249
249
        self.build_tree_contents([('big2.txt', '01234567890123456789\n')])
250
 
        tree.branch.get_config().set_user_option('add.maximum_file_size', 5)
 
250
        tree.branch.get_config_stack().set('add.maximum_file_size', 5)
251
251
        out = self.run_bzr('add')[0]
252
252
        results = sorted(out.rstrip('\n').split('\n'))
253
253
        self.assertEquals(['adding small.txt'], results)