14
14
This format is compatible with Bazaar 0.15 and later.
17
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
18
must now appear after the command name. Scripts doing things like
19
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
19
24
* New option ``--author`` in ``bzr commit`` to specify the author of the
21
26
``bzr annotate`` display the author instead of the committer.
29
* In addition to global options and command specific options, a set of
30
standard options are now supported. Standard options are legal for
31
all commands. The initial set of standard options are:
33
* ``--help`` or ``-h`` - display help message
34
* ``--verbose`` or ``-v`` - display additional information
35
* ``--quiet`` or ``-q`` - only output warnings and errors.
37
Unlike global options, standard options can be used in aliases and
38
may have command-specific help. (Ian Clatworthy)
40
* Verbosity level processing has now been unified. If ``--verbose``
41
or ``-v`` is specified on the command line multiple times, the
42
verbosity level is made positive the first time then increased.
43
If ``--quiet`` or ``-q`` is specified on the command line
44
multiple times, the verbosity level is made negative the first
45
time then decreased. To get the default verbosity level of zero,
46
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
47
Note that most commands currently ignore the magnitude of the
48
verbosity level but do respect *quiet vs normal vs verbose* when
49
generating output. (Ian Clatworthy)
26
53
* ``bzr plugins`` now lists the version number for each plugin in square
187
214
* Knits with no annotation cache still produce correct annotations.
217
* Three new methods have been added to ``bzrlib.trace``:
218
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
219
``set_verbosity_level`` expects a numeric value: negative for quiet,
220
zero for normal, positive for verbose. The size of the number can be
221
used to determine just how quiet or verbose the application should be.
222
The existing ``be_quiet`` and ``is_quiet`` routines have been
223
integrated into this new scheme. (Ian Clatworthy)
225
* Options can now be delcared with a ``custom_callback`` parameter. If
226
set, this routine is called after the option is processed. This feature
227
is now used by the standard options ``verbose`` and ``quiet`` so that
228
setting one implicitly resets the other. (Ian Clatworthy)
230
* Rather than declaring a new option from scratch in order to provide
231
custom help, a centrally registered option can be decorated using the
232
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
233
is useful when declaring better help for the ``verbose`` and ``quiet``
234
standard options as the base definition of these is now more complex
235
than before thanks to their use of a custom callback. (Ian Clatworthy)
191
238
bzr 0.90 2007-08-28
192
239
===================