~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/configuration.txt

  • Committer: Ross Lagerwall
  • Date: 2012-08-07 06:32:51 UTC
  • mto: (6437.63.5 2.5)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: rosslagerwall@gmail.com-20120807063251-x9p03ghg2ws8oqjc
Add bzrlib/locale to .bzrignore

bzrlib/locale is generated with ./setup.py build_mo which is in turn called
by ./setup.py build

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
* convert the unicode string provided by the user into a suitable
99
99
  representation (integer, list, etc).
100
100
 
101
 
If you start migrating a given option to the config stacks, don't stop
102
 
mid-way, all its uses should be covered (tests included). There are some
103
 
edge cases where updates via one API will be not be seen by the other API
104
 
(see http://pad.lv/948339 and http://pad.lv/948344 for details). Roughly,
105
 
the old API always trigger an IO while the new one cache values to avoid
106
 
them. This works fine as long as a given option is handled via a single API.
107
 
 
108
101
Adding a new stack
109
102
------------------
110
103
 
220
213
 
221
214
If you need a list value, you should use ``ListOption`` instead.
222
215
 
223
 
For options that take their values from a ``Registry`` object,
224
 
``RegistryOption`` can be used. This will automatically take care of
225
 
looking up the specified values in the dictionary and documenting the
226
 
possible values in help.
227
216
 
228
217
Sections
229
218
--------