~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Ian Clatworthy
  • Date: 2007-08-31 01:47:37 UTC
  • mto: (2779.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2783.
  • Revision ID: ian.clatworthy@internode.on.net-20070831014737-79wyvq0fwat06alc
Update NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
     This format is compatible with Bazaar 0.15 and later.
15
15
     (Martin Pool)
16
16
 
 
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``.
 
20
     (Ian Clatworthy)
 
21
 
17
22
  FEATURES:
18
23
 
19
24
    * New option ``--author`` in ``bzr commit`` to specify the author of the
32
37
      Unlike global options, standard options can be used in aliases and
33
38
      may have command-specific help. (Ian Clatworthy)
34
39
 
 
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)
 
50
 
35
51
  BUG FIXES:
36
52
 
37
53
   * ``bzr plugins`` now lists the version number for each plugin in square
150
166
      incremental addition of data to a file without requiring that all the
151
167
      data be buffered in memory. (Robert Collins)
152
168
 
 
169
    * Three new methods have been added to ``bzrlib.trace``:
 
170
      ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
171
      ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
172
      zero for normal, positive for verbose. The size of the number can be
 
173
      used to determine just how quiet or verbose the application should be.
 
174
      The existing ``be_quiet`` and ``is_quiet`` routines have been
 
175
      integrated into this new scheme. (Ian Clatworthy)
 
176
 
 
177
    * Options can now be delcared with a ``custom_callback`` parameter. If
 
178
      set, this routine is called after the option is processed. This feature
 
179
      is now used by the standard options ``verbose`` and ``quiet`` so that
 
180
      setting one implicitly resets the other. (Ian Clatworthy)
 
181
 
 
182
    * Rather than declaring a new option from scratch in order to provide
 
183
      custom help, a centrally registered option can be decorated using the
 
184
      new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
185
      is useful when declaring better help for the ``verbose`` and ``quiet``
 
186
      standard options as the base definition of these is now more complex
 
187
      than before thanks to their use of a custom callback. (Ian Clatworthy)
 
188
      
153
189
  TESTING:
154
190
 
155
191
    * Use UTF-8 encoded StringIO for log tests to avoid failures on