~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/user-guide/configuring_bazaar.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:
129
129
Each configuration file is associated with a given scope whose name is
130
130
displayed before each set of defined options.
131
131
 
132
 
If you need to look at a specific option, you can use::
133
 
 
134
 
  bzr config <option>
135
 
 
136
 
This will display only the option value and is intended to be used in
137
 
scripts.
138
 
 
139
132
Modifying the active configuration
140
133
----------------------------------
141
134
 
143
136
 
144
137
  bzr config opt=value
145
138
 
146
 
An option value can reference another option by enclosing it in curly
147
 
braces::
148
 
 
149
 
  bzr config opt={other_opt}/subdir
150
 
 
151
 
If ``other_opt`` is set to ``'root``, ``bzr config opt`` will display::
152
 
 
153
 
  root/subdir
154
 
 
155
 
Note that when ``--all`` is used, the references are left as-is to better
156
 
reflect the content of the config files and make it easier to organize them::
157
 
 
158
 
  bzr config --all .*opt
159
 
 
160
 
  bazaar:
161
 
    [DEFAULT]
162
 
    opt = {other_opt}/subdir
163
 
    other_opt = root
164
 
 
165
 
 
166
 
 
167
 
 
168
 
 
169
139
To remove an option use::
170
140
 
171
141
  bzr config --remove opt