10
10
Environment variables
12
13
While most configuration is handled by configuration files, some options
13
14
which may be semi-permanent can also be controlled through the environment.
17
19
Override the email id used by Bazaar. Typical format::
19
21
"John Doe <jdoe@example.com>"
21
23
See also the ``email`` configuration value.
25
28
Override the progress display. Possible values are "none", "dots", "tty"
29
33
Control whether SIGQUIT behaves normally or invokes a breakin debugger.
30
34
0 = Standard SIGQUIT behavior
31
35
1 = Invoke breakin debugger (default)
35
40
Override the home directory used by Bazaar.
39
45
Select a different SSH implementation.
43
50
Control whether to launch a debugger on error.
44
51
0 = Standard behavior
45
52
1 = Launch debugger
49
57
Path to the Bazaar executable to use when using the bzr+ssh protocol.
51
59
See also the ``bzr_remote_path`` configuration value
55
64
Path to the editor Bazaar should use for commit messages, etc.
59
69
The path to the plugins directory that Bazaar should use.
63
74
The path where Bazaar should look for shell plugin external commands.
66
77
Configuration files
72
83
Configuration files are located in ``$HOME/.bazaar`` and are
73
84
sometimes referred to as ``ini files``:
87
98
can do so in ``locations.conf``.
92
103
An ini file has three types of contructs: section headers, section
93
104
variables and comments.
97
109
A comment is any line that starts with a "#" (sometimes called a "hash
98
110
mark", "pound sign" or "number sign"). Comment lines are ignored by
99
111
Bazaar when parsing ini files.
103
116
A section header is a word enclosed in brackets that starts at the begining
104
117
of a line. A typical section header looks like this::
161
174
The main configuration file, bazaar.conf
162
----------------------------------------
175
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164
177
The main configuration file, ``$HOME/.bazaar/bazaar.conf``, only allows one
165
178
section called ``[DEFAULT]``. This default section contains the default
178
191
The branch location configuration file, locations.conf
179
------------------------------------------------------
192
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181
194
``$HOME/.bazaar/locations.conf`` allows one to specify overriding settings for
182
195
a specific branch. The format is almost identical to the default section in
195
208
check_signatures = require
197
210
The authentication configuration file, authentication.conf
198
----------------------------------------------------------
211
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200
213
``$HOME/.bazaar/authentication.conf`` allows one to specify credentials for
201
214
remote servers. This can be used for all the supported transports and any part
210
223
.. _authentication configuration file documentation: authentication_conf.html
212
225
Common variable options
213
=======================
226
-----------------------
217
231
The email address to use when committing a branch. Typically takes the form
220
234
email = Full Name <account@hostname.tld>
224
239
The path of the editor that you wish to use if *bzr commit* is run without
225
240
a commit message. This setting is trumped by the environment variable
226
241
``$BZR_EDITOR``, and overrides ``$VISUAL`` and ``$EDITOR``.
230
246
Defines the behavior for signatures.
268
286
branches below it.
270
288
gpg_signing_command
272
291
(Default: "gpg"). Which program should be used to sign and check revisions.
275
294
gpg_signing_command = /usr/bin/gnpg
279
299
(Default: "bzr"). The path to the command that should be used to run the smart
280
300
server for bzr. This value may only be specified in locations.conf, because:
286
306
It is overridden by the BZR_REMOTE_PATH environment variable.
290
311
(Default: "localhost"). SMTP server to use when Bazaar needs to send
291
312
email, eg. with ``merge-directive --mail-to``, or the bzr-email plugin.
293
314
smtp_username, smtp_password
294
----------------------------
315
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
295
317
User and password to authenticate to the SMTP server. If smtp_username
296
318
is set, and smtp_password is not, Bazaar will prompt for a password.
297
319
These settings are only needed if the SMTP server requires authentication
302
325
A mail client to use for sending merge requests.
303
326
By default, bzr will try to use ``mapi`` on Windows. On other platforms, it
304
327
will try ``xdg-email``. If either of these fails, it will fall back to
322
345
:xdg-email: Use xdg-email to run your preferred mail program
326
350
The branch you intend to submit your current work to. This is automatically
327
351
set by ``bzr send``, and is also used by the ``submit:`` revision spec. This
328
352
should usually be set on a per-branch or per-location basis.
332
357
A publically-accessible version of this branch (implying that this version is
333
358
not publically-accessible). Used (and set) by ``bzr send``.
339
364
These options apply only to branches that use the "dirstate-tags" format. They
340
365
are usually set in ``.bzr/branch/branch.conf`` automatically, but may be
341
366
manually set in ``locations.conf`` or ``bazaar.conf``.
343
368
append_revisions_only
344
---------------------
369
~~~~~~~~~~~~~~~~~~~~~
345
371
If set to "True" then revisions can only be appended to the log, not
346
372
removed. A branch with this setting enabled can only pull from
347
373
another branch if the other branch's log is a longer version of its
348
374
own. This is normally set by ``bzr init --append-revisions-only``.
352
379
If present, the location of the default branch for pull or merge.
353
380
This option is normally set by ``pull --remember`` or ``merge
358
386
If present, the location of the default branch for push. This option
359
387
is normally set by ``push --remember``.
363
392
The location that commits should go to when acting as a checkout.
364
393
This option is normally set by ``bind``.
368
398
If set to "True", the branch should act as a checkout, and push each commit to
369
399
the bound_location. This option is normally set by ``bind``/``unbind``.