/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 bzrlib/help_topics/en/configuration.txt

  • Committer: Martin Pool
  • Date: 2010-02-23 07:43:11 UTC
  • mfrom: (4797.2.20 2.1)
  • mto: This revision was merged to the branch mainline in revision 5055.
  • Revision ID: mbp@sourcefrog.net-20100223074311-gnj55xdhrgz9l94e
Merge 2.1 back to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
used literally, they will be substituted by the corresponding,
99
99
platform specific, values.
100
100
 
101
 
The examples below use ':' as the separator, windows users
 
101
Examples:
 
102
^^^^^^^^^
 
103
 
 
104
The examples below uses ':' as the separator, windows users
102
105
should use ';'.
103
106
 
104
 
Overriding the default user plugin directory::
105
 
 
106
 
  BZR_PLUGIN_PATH='/path/to/my/other/plugins'
107
 
 
108
 
Disabling the site directory while retaining the user directory::
109
 
 
110
 
  BZR_PLUGIN_PATH='-site:+user'
111
 
 
112
 
Disabling all plugins (better achieved with --no-plugins)::
113
 
 
114
 
  BZR_PLUGIN_PATH='-user:-core:-site'
115
 
 
116
 
Overriding the default site plugin directory::
117
 
 
118
 
  BZR_PLUGIN_PATH='/path/to/my/site/plugins:-site':+user
119
 
 
120
 
BZR_DISABLE_PLUGINS
121
 
~~~~~~~~~~~~~~~~~~~
122
 
 
123
 
Under special circumstances (mostly when trying to diagnose a
124
 
bug), it's better to disable a plugin (or several) rather than
125
 
uninstalling them completely. Such plugins can be specified in
126
 
the ``BZR_DISABLE_PLUGINS`` environment variable.
127
 
 
128
 
In that case, ``bzr`` will stop loading the specified plugins and
129
 
will raise an import error if they are explicitly imported (by
130
 
another plugin that depends on them for example).
131
 
 
132
 
Disabling ``myplugin`` and ``yourplugin`` is achieved by::
133
 
 
134
 
  BZR_DISABLE_PLUGINS='myplugin:yourplugin'
135
 
 
136
 
BZR_PLUGINS_AT
137
 
~~~~~~~~~~~~~~
138
 
 
139
 
When adding a new feature or working on a bug in a plugin,
140
 
developers often need to use a specific version of a given
141
 
plugin. Since python requires that the directory containing the
142
 
code is named like the plugin itself this make it impossible to
143
 
use arbitrary directory names (using a two-level directory scheme
144
 
is inconvenient). ``BZR_PLUGINS_AT`` allows such directories even
145
 
if they don't appear in ``BZR_PLUGIN_PATH`` .
146
 
 
147
 
Plugins specified in this environment variable takes precedence
148
 
over the ones in ``BZR_PLUGIN_PATH``.
149
 
 
150
 
The variable specified a list of ``plugin_name@plugin path``,
151
 
``plugin_name`` being the name of the plugin as it appears in
152
 
python module paths, ``plugin_path`` being the path to the
153
 
directory containing the plugin code itself
154
 
(i.e. ``plugins/myplugin`` not ``plugins``).  Use ':' as the list
155
 
separator, use ';' on windows.
156
 
 
157
 
Example:
158
 
~~~~~~~~
159
 
 
160
 
Using a specific version of ``myplugin``:
161
 
``BZR_PLUGINS_AT='myplugin@/home/me/bugfixes/123456-myplugin``
 
107
Overriding the default user plugin directory:
 
108
``BZR_PLUGIN_PATH='/path/to/my/other/plugins'``
 
109
 
 
110
Disabling the site directory while retaining the user directory:
 
111
``BZR_PLUGIN_PATH='-site:+user'``
 
112
 
 
113
Disabling all plugins (better achieved with --no-plugins):
 
114
``BZR_PLUGIN_PATH='-user:-core:-site'``
 
115
 
 
116
Overriding the default site plugin directory:
 
117
``BZR_PLUGIN_PATH='/path/to/my/site/plugins:-site':+user``
 
118
 
 
119
 
162
120
 
163
121
BZRPATH
164
122
~~~~~~~
495
453
~~~~~~~~~~~~~~~~~~~~~
496
454
 
497
455
If set to "True" then revisions can only be appended to the log, not
498
 
removed.  A branch with this setting enabled can only pull from another
499
 
branch if the other branch's log is a longer version of its own.  This is
500
 
normally set by ``bzr init --append-revisions-only``. If you set it
501
 
manually, use either 'True' or 'False' (case-sensitive) to maintain
502
 
compatibility with previous bzr versions (older than 2.2).
 
456
removed.  A branch with this setting enabled can only pull from
 
457
another branch if the other branch's log is a longer version of its
 
458
own.  This is normally set by ``bzr init --append-revisions-only``.
503
459
 
504
460
parent_location
505
461
~~~~~~~~~~~~~~~