~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • 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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
API Changes
44
44
***********
45
45
 
46
 
* ``bzrlib.config.IniBasedConfig`` objects now implement ``get_options`` that
47
 
  permit querying them for the options defined and their values.
48
 
 (Vincent Ladeuil)
49
 
 
50
46
Internals
51
47
*********
52
48
 
54
50
  longer include the "log" information for tests which are considered to
55
51
  be 'successes' (success, xfail, skip, etc) (John Arbash Meinel)
56
52
 
 
53
* ``bzrlib.config.IniBasedConfig`` objects now implement ``get_options`` that
 
54
  permit querying them for the options defined and their values and
 
55
  ``get_sections()`` that return a list of (name, section) for the sections
 
56
  walked by get_user_option() and used by set_user_option().
 
57
  (Vincent Ladeuil)
 
58
 
57
59
Testing
58
60
*******
59
61