~bzr-pqm/bzr/bzr.dev

5462.5.1 by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt
1
####################
2
Bazaar Release Notes
3
####################
4
5
.. toctree::
6
   :maxdepth: 1
7
8
bzr 0.91
9
########
10
11
:Released: 2007-09-26
12
13
Bug Fixes
14
*********
15
16
* Print a warning instead of aborting the ``python setup.py install``
17
  process if building of a C extension is not possible.
18
  (Lukáš Lalinský, Alexander Belchenko)
19
20
* Fix commit ordering in corner case (Aaron Bentley, #94975)
21
22
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
23
  an implicit port.  We were incorrectly raising PathNotChild due to
24
  inconsistent treatment of the ''_port'' attribute on the Transport object.
25
  (Andrew Bennetts, #133965)
26
27
* Make RemoteRepository.sprout cope gracefully with servers that don't
28
  support the ``Repository.tarball`` request.
29
  (Andrew Bennetts)
30
31
32
bzr 0.91rc2
33
###########
34
35
:Released: 2007-09-11
36
37
* Replaced incorrect tarball for previous release; a debug statement was left
38
  in bzrlib/remote.py.
39
40
41
bzr 0.91rc1
42
###########
43
44
:Released: 2007-09-11
45
46
Changes
47
*******
48
49
* The default branch and repository format has changed to
50
  ``dirstate-tags``, so tag commands are active by default.
51
  This format is compatible with Bazaar 0.15 and later.
52
  This incidentally fixes bug #126141.
53
  (Martin Pool)
54
55
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
56
  must now appear after the command name. Scripts doing things like
57
  ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
58
  (Ian Clatworthy)
59
60
Features
61
********
62
63
* New option ``--author`` in ``bzr commit`` to specify the author of the
64
  change, if it's different from the committer. ``bzr log`` and
65
  ``bzr annotate`` display the author instead of the committer.
66
  (Lukáš Lalinský)
67
68
* In addition to global options and command specific options, a set of
69
  standard options are now supported. Standard options are legal for
70
  all commands. The initial set of standard options are:
71
72
  * ``--help`` or ``-h`` - display help message
73
  * ``--verbose`` or ``-v`` - display additional information
74
  * ``--quiet``  or ``-q`` - only output warnings and errors.
75
76
  Unlike global options, standard options can be used in aliases and
77
  may have command-specific help. (Ian Clatworthy)
78
79
* Verbosity level processing has now been unified. If ``--verbose``
80
  or ``-v`` is specified on the command line multiple times, the
81
  verbosity level is made positive the first time then increased.
82
  If ``--quiet`` or ``-q`` is specified on the command line
83
  multiple times, the verbosity level is made negative the first
84
  time then decreased. To get the default verbosity level of zero,
85
  either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
86
  Note that most commands currently ignore the magnitude of the
87
  verbosity level but do respect *quiet vs normal vs verbose* when
88
  generating output. (Ian Clatworthy)
89
90
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
91
  is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
92
93
* New ``Repository.stream_knit_data_for_revisions`` request added to the
94
  network protocol for greatly reduced roundtrips when retrieving a set of
95
  revisions. (Andrew Bennetts)
96
97
Bug Fixes
98
*********
99
100
* ``bzr plugins`` now lists the version number for each plugin in square
101
  brackets after the path. (Robert Collins, #125421)
102
103
* Pushing, pulling and branching branches with subtree references was not
104
  copying the subtree weave, preventing the file graph from being accessed
105
  and causing errors in commits in clones. (Robert Collins)
106
107
* Suppress warning "integer argument expected, got float" from Paramiko,
108
  which sometimes caused false test failures.  (Martin Pool)
109
110
* Fix bug in bundle 4 that could cause attempts to write data to wrong
111
  versionedfile.  (Aaron Bentley)
112
113
* Diffs generated using "diff -p" no longer break the patch parser.
114
  (Aaron Bentley)
115
116
* get_transport treats an empty possible_transports list the same as a non-
117
  empty one.  (Aaron Bentley)
118
119
* patch verification for merge directives is reactivated, and works with
120
  CRLF and CR files.  (Aaron Bentley)
121
122
* Accept ..\ as a path in revision specifiers. This fixes for example
123
  "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
124
125
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
126
  (Blake Winton, #129299)
127
128
* man page no longer lists hidden options (#131667, Aaron Bentley)
129
130
* ``uncommit --help`` now explains the -r option adequately.  (Daniel
131
  Watkins, #106726)
132
133
* Error messages are now better formatted with parameters (such as
134
  filenames) quoted when necessary. This avoids confusion when directory
135
  names ending in a '.' at the end of messages were confused with a
136
  full stop that may or not have been there. (Daniel Watkins, #129791)
137
138
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
139
140
* If a particular command is an alias, ``help`` will show the alias
141
  instead of claiming there is no help for said alias. (Daniel Watkins,
142
  #133548)
143
144
* TreeTransform-based operations, like pull, merge, revert, and branch,
145
  now roll back if they encounter an error.  (Aaron Bentley, #67699)
146
147
* ``bzr commit`` now exits cleanly if a character unsupported by the
148
  current encoding is used in the commit message.  (Daniel Watkins,
149
  #116143)
150
151
* bzr send uses default values for ranges when only half of an elipsis
152
  is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
153
5538.2.2 by Zearin
Continued capitalization fixes ([S]FTP, SSH).
154
* Avoid trouble when Windows SSH calls itself 'plink' but no plink
5462.5.1 by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt
155
  binary is present.  (Martin Albisetti, #107155)
156
157
* ``bzr remove`` should remove clean subtrees.  Now it will remove (without
158
  needing ``--force``) subtrees that contain no files with text changes or
159
  modified files.  With ``--force`` it removes the subtree regardless of
160
  text changes or unknown files. Directories with renames in or out (but
161
  not changed otherwise) will now be removed without needing ``--force``.
162
  Unknown ignored files will be deleted without needing ``--force``.
163
  (Marius Kruger, #111665)
164
165
* When two plugins conflict, the source of both the losing and now the
166
  winning definition is shown.  (Konstantin Mikhaylov, #5454)
167
168
* When committing to a branch, the location being committed to is
169
  displayed.  (Daniel Watkins, #52479)
170
171
* ``bzr --version`` takes care about encoding of stdout, especially
172
  when output is redirected. (Alexander Belchenko, #131100)
173
5538.2.2 by Zearin
Continued capitalization fixes ([S]FTP, SSH).
174
* Prompt for an FTP password if none is provided.
5462.5.1 by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt
175
  (Vincent Ladeuil, #137044)
176
177
* Reuse bound branch associated transport to avoid multiple
178
  connections.
179
  (Vincent Ladeuil, #128076, #131396)
180
181
* Overwrite conflicting tags by ``push`` and ``pull`` if the
182
  ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
183
184
* In checkouts, tags are copied into the master branch when created,
185
  changed or deleted, and are copied into the checkout when it is
186
  updated.  (Martin Pool, #93856, #93860)
187
188
* Print a warning instead of aborting the ``python setup.py install``
189
  process if building of a C extension is not possible.
190
  (Lukáš Lalinský, Alexander Belchenko)
191
192
Improvements
193
************
194
195
* Add the option "--show-diff" to the commit command in order to display
196
  the diff during the commit log creation. (Goffredo Baroncelli)
197
198
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
199
  (Aaron Bentley)
200
201
* ``pull -v`` no longer includes deltas, making it much faster.
202
  (Aaron Bentley)
203
204
* ``send`` now sends the directive as an attachment by default.
205
  (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
206
207
* Documentation updates (Martin Albisetti)
208
209
* Help on debug flags is now included in ``help global-options``.
210
  (Daniel Watkins, #124853)
211
212
* Parameters passed on the command line are checked to ensure they are
213
  supported by the encoding in use. (Daniel Watkins)
214
215
* The compression used within the bzr repository has changed from zlib
216
  level 9 to the zlib default level. This improves commit performance with
217
  only a small increase in space used (and in some cases a reduction in
218
  space). (Robert Collins)
219
220
* Initial commit no longer SHAs files twice and now reuses the path
221
  rather than looking it up again, making it faster.
222
  (Ian Clatworthy)
223
224
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
225
  changes in one revision.  (Lukáš Lalinský)
226
227
* If versioned files match a given ignore pattern, a warning is now
228
  given. (Daniel Watkins, #48623)
229
230
* ``bzr status`` now has -S as a short name for --short and -V as a
231
  short name for --versioned. These have been added to assist users
232
  migrating from Subversion: ``bzr status -SV`` is now like
233
  ``svn status -q``.  (Daniel Watkins, #115990)
234
235
* Added C implementation of  ``PatienceSequenceMatcher``, which is about
236
  10x faster than the Python version. This speeds up commands that
237
  need file diffing, such as ``bzr commit`` or ``bzr diff``.
238
  (Lukáš Lalinský)
239
240
* HACKING has been extended with a large section on core developer tasks.
241
  (Ian Clatworthy)
242
243
* Add ``branches`` and ``standalone-trees`` as online help topics and
244
  include them as Concepts within the User Reference.
245
  (Paul Moore, Ian Clatworthy)
246
247
* ``check`` can detect versionedfile parent references that are
248
  inconsistent with revision and inventory info, and ``reconcile`` can fix
249
  them.  These faulty references were generated by 0.8-era releases,
250
  so repositories which were manipulated by old bzrs should be
251
  checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
252
253
API Breaks
254
**********
255
256
* ``Branch.append_revision`` is removed altogether; please use
257
  ``Branch.set_last_revision_info`` instead.  (Martin Pool)
258
259
* CommitBuilder now advertises itself as requiring the root entry to be
260
  supplied. This only affects foreign repository implementations which reuse
261
  CommitBuilder directly and have changed record_entry_contents to require
262
  that the root not be supplied. This should be precisely zero plugins
263
  affected. (Robert Collins)
264
265
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
266
  its return value to include the sha1 and length of the inserted text. This
267
  allows the avoidance of double-sha1 calculations during commit.
268
  (Robert Collins)
269
270
* ``Transport.should_cache`` has been removed.  It was not called in the
271
  previous release.  (Martin Pool)
272
273
Testing
274
*******
275
276
* Tests may now raise TestNotApplicable to indicate they shouldn't be
277
  run in a particular scenario.  (Martin Pool)
278
279
* New function multiply_tests_from_modules to give a simpler interface
280
  to test parameterization.  (Martin Pool, Robert Collins)
281
282
* ``Transport.should_cache`` has been removed.  It was not called in the
283
  previous release.  (Martin Pool)
284
285
* NULL_REVISION is returned to indicate the null revision, not None.
286
  (Aaron Bentley)
287
288
* Use UTF-8 encoded StringIO for log tests to avoid failures on
289
  non-ASCII committer names.  (Lukáš Lalinský)
290
291
Internals
292
*********
293
294
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
295
  ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
296
  useful functionality for determining the path of a plugin, its tests, and
297
  its version information. (Robert Collins)
298
299
* Add the option user_encoding to the function 'show_diff_trees()'
300
  in order to move the user encoding at the UI level. (Goffredo Baroncelli)
301
302
* Add the function make_commit_message_template_encoded() and the function
303
  edit_commit_message_encoded() which handle encoded strings.
304
  This is done in order to mix the commit messages (which is a unicode
305
  string), and the diff which is a raw string. (Goffredo Baroncelli)
306
307
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
308
  overhead on non-weave repositories which don't require all parents to be
309
  present. (Robert Collins)
310
311
* Deprecated method ``find_previous_heads`` on
312
  ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
313
  of ``parent_candidates`` and a separate heads check via the repository
314
  API. (Robert Collins)
315
316
* New trace function ``mutter_callsite`` will print out a subset of the
317
  stack to the log, which can be useful for gathering debug details.
318
  (Robert Collins)
319
320
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
321
  added via a public attribute records_written. (Robert Collins)
322
323
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
324
  This provides a hint to users of transports as to the reasonable
325
  minimum data to read. In principle this can take latency and
326
  bandwidth into account on a per-connection basis, but for now it
5538.2.3 by Zearin
Continued capitalization fixes. (URL, URLs)
327
  just has hard coded values based on the URL. (E.g., http:// has a large
5462.5.1 by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt
328
  page size, file:// has a small one.) (Robert Collins)
329
330
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
331
  incremental addition of data to a file without requiring that all the
332
  data be buffered in memory. (Robert Collins)
333
334
* New methods on ``bzrlib.knit.KnitVersionedFile``:
335
  ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
336
  ``get_format_signature()``.  These provide some infrastructure for
337
  efficiently streaming the knit data for a set of versions over the smart
338
  protocol.
339
340
* Knits with no annotation cache still produce correct annotations.
341
  (Aaron Bentley)
342
343
* Three new methods have been added to ``bzrlib.trace``:
344
  ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
345
  ``set_verbosity_level`` expects a numeric value: negative for quiet,
346
  zero for normal, positive for verbose. The size of the number can be
347
  used to determine just how quiet or verbose the application should be.
348
  The existing ``be_quiet`` and ``is_quiet`` routines have been
349
  integrated into this new scheme. (Ian Clatworthy)
350
351
* Options can now be delcared with a ``custom_callback`` parameter. If
352
  set, this routine is called after the option is processed. This feature
353
  is now used by the standard options ``verbose`` and ``quiet`` so that
354
  setting one implicitly resets the other. (Ian Clatworthy)
355
356
* Rather than declaring a new option from scratch in order to provide
357
  custom help, a centrally registered option can be decorated using the
358
  new ``bzrlib.Option.custom_help`` routine. In particular, this routine
359
  is useful when declaring better help for the ``verbose`` and ``quiet``
360
  standard options as the base definition of these is now more complex
361
  than before thanks to their use of a custom callback. (Ian Clatworthy)
362
363
* Tree._iter_changes(specific_file=[]) now iterates through no files,
364
  instead of iterating through all files.  None is used to iterate through
365
  all files.  (Aaron Bentley)
366
367
* WorkingTree.revert() now accepts None to revert all files.  The use of
368
  [] to revert all files is deprecated.  (Aaron Bentley)
369
370
371
..
372
   vim: tw=74 ft=rst ff=unix