~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5447.4.2.

  • Committer: Vincent Ladeuil
  • Date: 2010-09-30 17:15:15 UTC
  • mto: (5447.4.14 config-modify)
  • mto: This revision was merged to the branch mainline in revision 5499.
  • Revision ID: v.ladeuil+lp@free.fr-20100930171515-k6ablrxpu2ei3ipz
Implement the 'brz config' command. Read-only.

* bzrlib/tests/blackbox/test_config.py:
Add some test for 'bzr config'.

* bzrlib/config.py:
(BranchConfig.get_options_matching_regexp): Let's stop to pretend
we can get a file name if the implementation doesn't provide it,
the known cases are bBranchConfig and RemoteBranchConfig that will
be modified anyway.
(cmd_config): A simple command to display options known for a
given directory.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: