~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5447.4.5.

  • Committer: Vincent Ladeuil
  • Date: 2010-10-03 17:01:18 UTC
  • mto: This revision was merged to the branch mainline in revision 5499.
  • Revision ID: v.ladeuil+lp@free.fr-20101003170118-3yhu3oguq1i9lqn6
Implement ``bzr config option=value``.

* bzrlib/tests/test_config.py:
(TestWithConfigs.setUp): Slightly reorder.

* bzrlib/tests/blackbox/test_config.py:
(TestConfigDisplay): Inherits from TestWithConfigs to reduce code
duplication.
(TestConfigSet): Check the command behaviour.

* bzrlib/config.py:
(cmd_config): Implement setting a config option.
(cmd_config._show_config, cmd_config.set_config_option): Split
set/show option.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: