4
Telling Bazaar about yourself
5
-----------------------------
7
One function of a version control system is to keep track of who changed
8
what. In a decentralized system, that requires an identifier for each
9
author that is globally unique. Most people already have one of these: an
10
email address. Bazaar is smart enough to automatically generate an email
11
address by looking up your username and hostname. If you don't like the
12
guess that Bazaar makes, then use the ``whoami`` command to set the
15
% bzr whoami "Your Name <email@example.com>"
17
If ``whoami`` is used without an argument, the current value is displayed.
22
If your network requires that you use an http proxy for outbound
23
connections, you must set the ``http_proxy`` variable. If the proxy is
24
also required for https connections, you need to set ``https_proxy`` too.
25
If you need these and don't have them set, you may find that connections
26
to Launchpad or other external servers fail or time out.
28
On Unix you typically want to set these in ``/etc/environment`` or
29
``~/.bash_profile`` and on Windows in the user profile.
33
http_proxy=http://proxy.example.com:3128/
34
https_proxy=http://proxy.example.com:3128/
36
The ``no_proxy`` variable can be set to a comma-separated list of hosts
37
which shouldn't be reached by the proxy. (See
38
<http://docs.python.org/library/urllib.html> for more details.)
44
Configuration files are located in ``$HOME/.bazaar`` on Unix and
45
``C:\Documents and Settings\<username>\Application Data\Bazaar\2.0`` on
46
Windows. There are three primary configuration files in this location:
48
* ``bazaar.conf`` describes default configuration options,
50
* ``locations.conf`` describes configuration information for
51
specific branch locations,
53
* ``authentication.conf`` describes credential information for
56
Each branch can also contain a configuration file that sets values specific
57
to that branch. This file is found at ``.bzr/branch/branch.conf`` within the
58
branch. This file is visible to **all users of a branch**. If you wish to
59
override one of the values for a branch with a setting that is specific to you,
60
then you can do so in ``locations.conf``.
62
Here is sample content of ``bazaar.conf`` after setting an email address using
63
the ``whoami`` command::
66
email = Your Name <email@example.com>
68
For further details on the syntax and configuration settings supported, see
69
`Configuration Settings <../user-reference/configuration-help.html>`_
70
in the Bazaar User Reference.
73
Rule-based preferences
74
----------------------
76
Some commands and plugins provide custom processing on files matching
77
certain patterns. Per-user rule-based preferences are defined in
80
For further information on how rules are searched and the detailed syntax of
81
the relevant files, see `Rules <../user-reference/rules-help.html>`_
82
in the Bazaar User Reference.