23 +BZR_DISABLE_PLUGINS
24 +~~~~~~~~~~~~~~~~~~~
25 +
26 +Under special circumstances, it's better to disable a plugin (or
27 +several) rather than uninstalling them completely. Such plugins
28 +can be specified in the ``BZR_DISABLE_PLUGINS`` environment
29 +variable.
30 +
31 +In that case, ``bzr`` will stop loading the specified plugins and
32 +will raise an import error if you try to import them explicitly.
33 +
34 +Example:
35 +~~~~~~~~
36 +
The ReST syntax here looks strange, because "Example" will be another heading at the same level as BZR_DISABLE_PLUGINS. Just leave it out and put a :: after the word "explicitly".
Users may not understand what "if you try to import them explicitly" means - indeed it doesn't mean a lot at the external user level. So you could say they will error if for example another plugin depends upon them?
23 +BZR_DISABLE_ PLUGINS ~~~~~~~ ~~~~~~ PLUGINS` ` environment
24 +~~~~~~
25 +
26 +Under special circumstances, it's better to disable a plugin (or
27 +several) rather than uninstalling them completely. Such plugins
28 +can be specified in the ``BZR_DISABLE_
29 +variable.
30 +
31 +In that case, ``bzr`` will stop loading the specified plugins and
32 +will raise an import error if you try to import them explicitly.
33 +
34 +Example:
35 +~~~~~~~~
36 +
The ReST syntax here looks strange, because "Example" will be another heading at the same level as BZR_DISABLE_ PLUGINS. Just leave it out and put a :: after the word "explicitly".
Users may not understand what "if you try to import them explicitly" means - indeed it doesn't mean a lot at the external user level. So you could say they will error if for example another plugin depends upon them?
202 + self.warnings = [] warning( *args, **kwargs): append( (args, kwargs)) tr(trace, 'warning', captured_warning)
203 + def captured_
204 + self.warnings.
205 + self.overrideAt
It seems like there should already be a facility for this, but maybe not. Maybe you could lift it to a base class to save time?
Otherwise very good, thanks for fixing this!
bb:tweak