/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/developers/configuration.txt

  • Committer: Jelmer Vernooij
  • Date: 2017-07-30 18:38:48 UTC
  • mfrom: (6740.1.1 breezy-conf-1)
  • Revision ID: jelmer@jelmer.uk-20170730183848-195b9ch7sclkxmqs
Merge lp:~jelmer/brz/breezy-conf

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Configuring Bazaar
 
1
Configuring Breezy
2
2
==================
3
3
 
4
4
.. contents::
5
5
   :depth: 2
6
6
 
7
 
As a Bazaar developer there are a few things you need to know about
 
7
As a Breezy developer there are a few things you need to know about
8
8
configuration:
9
9
 
10
10
* how to add a new option,
63
63
 
64
64
But before doing that, you must be sure that the stack you're using have a
65
65
writable section (this is true for ``GlobalStack`` which uses the
66
 
``DEFAULT`` section in ``bazaar.conf`` and for ``BranchStack``which uses the
 
66
``DEFAULT`` section in ``breezy.conf`` and for ``BranchStack``which uses the
67
67
no-name section in ``branch.conf``).
68
68
 
69
69
Old and new configuration code
112
112
associated levels of generality and query them in the appropriate order
113
113
returning the first definition found. For example, the
114
114
``append_revisions_only`` option may be declared for all branches of a user
115
 
in ``bazaar.conf``, or for a hierarchy of branches in ``locations.conf`` or
 
115
in ``breezy.conf``, or for a hierarchy of branches in ``locations.conf`` or
116
116
in a single branch in ``branch.conf``.
117
117
 
118
118
Defining a new stack means you need a new way to expose these levels to the
138
138
The following stores are used by ``brz`` in ways that illustrate various
139
139
uses of sections.
140
140
 
141
 
bazaar.conf
 
141
breezy.conf
142
142
===========
143
143
 
144
144
``brz`` itself defines two sections here:
261
261
to implement a locking mechanism. ``LockableIniFileStore`` implements such a
262
262
mechanism for ``IniFileStore`` based stores.
263
263
 
264
 
Classes are provided for the usual Bazaar configuration files and could be
 
264
Classes are provided for the usual Breezy configuration files and could be
265
265
used as examples to define new ones if needed. The associated tests provides a
266
266
basis for new classes which only need to register themselves in the right
267
267
places to inherit from the existing basic tests and add their own specific