~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5447.4.4.

  • Committer: Vincent Ladeuil
  • Date: 2010-10-02 21:08:35 UTC
  • mto: This revision was merged to the branch mainline in revision 5499.
  • Revision ID: v.ladeuil+lp@free.fr-20101002210835-nqy0fqas09e7ijj1
Implement config.get_sections() to clarify how sections can be used.

* bzrlib/tests/test_config.py:
(TestConfigGetSections): Expose the various supported section
use-cases.

* bzrlib/config.py:
(IniBasedConfig.get_sections, GlobalConfig.get_sections)
(LocationConfig.get_sections, BranchConfig.get_sections): Properly
capture the different section usages exposed by the various config
objects.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: