1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
|
####################
Bazaar Release Notes
####################
.. toctree::
:maxdepth: 1
bzr 0.92
########
:Released: 2007-11-05
Changes
*******
* New uninstaller on Win32. (Alexander Belchenko)
bzr 0.92rc1
###########
:Released: 2007-10-29
Changes
*******
* ``bzr`` now returns exit code 4 if an internal error occurred, and
3 if a normal error occurred. (Martin Pool)
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
repository index errors that occured as a result of the Weave disk format.
Instead the ``reconcile`` command needs to be run to correct those
problems if they exist (and it has been able to fix most such problems
since bzr 0.8). Some new problems have been identified during this release
and you should run ``bzr check`` once on every repository to see if you
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
repository due to mismatched parent errors - a symptom of index errors -
you should simply take a full copy of that remote repository to a clean
directory outside any local repositories, then run reconcile on it, and
finally pull from it locally. (And naturally email the repositories owner
to ask them to upgrade and run reconcile).
(Robert Collins)
Features
********
* New ``knitpack-experimental`` repository format. This is interoperable with
the ``dirstate-tags`` format but uses a smarter storage design that greatly
speeds up many operations, both local and remote. This new format can be
used as an option to the ``init``, ``init-repository`` and ``upgrade``
commands. (Robert Collins)
* For users of bzr-svn (and those testing the prototype subtree support) that
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
been added. This is interoperable with the ``dirstate-subtrees`` format.
(Robert Collins)
* New ``reconfigure`` command. (Aaron Bentley)
* New ``revert --forget-merges`` command, which removes the record of a pending
merge without affecting the working tree contents. (Martin Pool)
* New ``bzr_remote_path`` configuration variable allows finer control of
remote bzr locations than BZR_REMOTE_PATH environment variable.
(Aaron Bentley)
* New ``launchpad-login`` command to tell Bazaar your Launchpad
user ID. This can then be used by other functions of the
Launchpad plugin. (James Henstridge)
Performance
***********
* Commit in quiet mode is now slightly faster as the information to
output is no longer calculated. (Ian Clatworthy)
* Commit no longer checks for new text keys during insertion when the
revision id was deterministically unique. (Robert Collins)
* Committing a change which is not a merge and does not change the number of
files in the tree is faster by utilising the data about whether files are
changed to determine if the tree is unchanged rather than recalculating
it at the end of the commit process. (Robert Collins)
* Inventory serialisation no longer double-sha's the content.
(Robert Collins)
* Knit text reconstruction now avoids making copies of the lines list for
interim texts when building a single text. The new ``apply_delta`` method
on ``KnitContent`` aids this by allowing modification of the revision id
such objects represent. (Robert Collins)
* Pack indices are now partially parsed for specific key lookup using a
bisection approach. (Robert Collins)
* Partial commits are now approximately 40% faster by walking over the
unselected current tree more efficiently. (Robert Collins)
* XML inventory serialisation takes 20% less time while being stricter about
the contents. (Robert Collins)
* Graph ``heads()`` queries have been fixed to no longer access all history
unnecessarily. (Robert Collins)
Improvements
************
* ``bzr+https://`` smart server across https now supported.
(John Ferlito, Martin Pool, #128456)
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
changes from one revision. (Alexander Belchenko, #141368)
* Show encodings, locale and list of plugins in the traceback message.
(Martin Pool, #63894)
* Experimental directory formats can now be marked with
``experimental = True`` during registration. (Ian Clatworthy)
Documentation
*************
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
* The hooks reference documentation is now converted to html as expected.
(Ian Clatworthy)
Bug Fixes
*********
* Connection error reporting for the smart server has been fixed to
display a user friendly message instead of a traceback.
(Ian Clatworthy, #115601)
* Make sure to use ``O_BINARY`` when opening files to check their
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
* Fix a problem with Win32 handling of the executable bit.
(John Arbash Meinel, #149113)
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
no longer assume that means port 22. This allows people using OpenSSH to
override the default port in their ``~/.ssh/config`` if they wish. This
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
* Commands reporting exceptions can now be profiled and still have their
data correctly dumped to a file. For example, a ``bzr commit`` with
no changes still reports the operation as pointless but doing so no
longer throws away the profiling data if this command is run with
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
* Fallback to ftp when paramiko is not installed and sftp can't be used for
``tests/commands`` so that the test suite is still usable without
paramiko.
(Vincent Ladeuil, #59150)
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
* Fix long standing bug in partial commit when there are renames
left in tree. (Robert Collins, #140419)
* Fix selftest semi-random noise during http related tests.
(Vincent Ladeuil, #140614)
* Fix typo in ftp.py making the reconnection fail on temporary errors.
(Vincent Ladeuil, #154259)
* Fix failing test by comparing real paths to cover the case where the TMPDIR
contains a symbolic link.
(Vincent Ladeuil, #141382).
* Fix log against smart server branches that don't support tags.
(James Westby, #140615)
* Fix pycurl http implementation by defining error codes from
pycurl instead of relying on an old curl definition.
(Vincent Ladeuil, #147530)
* Fix 'unprintable error' message when displaying BzrCheckError and
some other exceptions on Python 2.5.
(Martin Pool, #144633)
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
* Handles default value for ListOption in cmd_commit.
(Vincent Ladeuil, #140432)
* HttpServer and FtpServer need to be closed properly or a listening socket
will remain opened.
(Vincent Ladeuil, #140055)
* Monitor the .bzr directory created in the top level test
directory to detect leaking tests.
(Vincent Ladeuil, #147986)
* The basename, not the full path, is now used when checking whether
the profiling dump file begins with ``callgrind.out`` or not. This
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
* Trivial fix for invoking command ``reconfigure`` without arguments.
(Rob Weir, #141629)
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
new path causes bzr to be unable to access the file. (Robert Collins)
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
Merwe)
API Breaks
**********
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
constructor, for enabling bisection searches. (Robert Collins)
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
tree be supplied to it, previously failing to do so would trigger a
deprecation warning. (Robert Collins)
* ``KnitVersionedFile.add*`` will no longer cache added records even when
enable_cache() has been called - the caching feature is now exclusively for
reading existing data. (Robert Collins)
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
appropriate. (Martin Pool)
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
``trace+`` transport instead. (Robert Collins)
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
(Martin Pool)
* Removed previous deprecated ``basis_knit`` parameter to the
``KnitVersionedFile`` constructor. (Robert Collins)
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
class that needs it.
(Martin Pool)
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
``KnitRepository`` by parameters to the constructor. (Robert Collins)
* The ``VersionedFile`` interface now allows content checks to be bypassed
by supplying check_content=False. This saves nearly 30% of the minimum
cost to store a version of a file. (Robert Collins)
* Tree's with bad state such as files with no length or sha will no longer
be silently accepted by the repository XML serialiser. To serialise
inventories without such data, pass working=True to write_inventory.
(Robert Collins)
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
``VersionedFile.join`` will no longer accept different parents on either
side of a join - it will either ignore them, or error, depending on the
implementation. See notes when upgrading for more information.
(Robert Collins)
Internals
*********
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
put by the method call, to allow avoiding stat-after-write or
housekeeping in callers. (Robert Collins)
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
mandatory attributes are present on serialisation and deserialisation.
This fixes some holes in API usage and allows better separation between
physical storage and object serialisation. (Robert Collins)
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
shorthand for deriving from BzrError and setting internal_error = True.
(Robert Collins)
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
moving the state of a parent tree to a new version via a delta rather than
a complete replacement tree. (Robert Collins)
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
duplication from user input, when a user mentions both a path and an item
contained within that path. (Robert Collins)
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
determining if a repository is write locked. (Robert Collins)
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
tuple containing the key information about a path for commit processing
to complete. (Robert Collins)
* New method on xml serialisers, write_inventory_to_lines, which matches the
API used by knits for adding content. (Robert Collins)
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
logic, currently only available for byte-based lookup
(``bisect_multi_bytes``). (Robert Collins)
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
and returns a gzipped version of the same. This is used to avoid a bunch
of api friction during adding of knit hunks. (Robert Collins)
* New parameter on ``bzrlib.transport.Transport.readv``
``adjust_for_latency`` which changes readv from returning strictly the
requested data to inserted return larger ranges and in forward read order
to reduce the effect of network latency. (Robert Collins)
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
causes the parents of a selected id to be returned recursively, so all the
paths from the root down to each element of selected_file_ids are
returned. (Robert Collins)
* Knit joining has been enhanced to support plain to annotated conversion
and annotated to plain conversion. (Ian Clatworthy)
* The CommitBuilder method ``record_entry_contents`` now returns summary
information about the effect of the commit on the repository. This tuple
contains an inventory delta item if the entry changed from the basis, and a
boolean indicating whether a new file graph node was recorded.
(Robert Collins)
* The python path used in the Makefile can now be overridden.
(Andrew Bennetts, Ian Clatworthy)
Testing
*******
* New transport implementation ``trace+`` which is useful for testing,
logging activity taken to its _activity attribute. (Robert Collins)
* When running bzr commands within the test suite, internal exceptions are
not caught and reported in the usual way, but rather allowed to propagate
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
makes this behavior available to other users.
(Martin Pool)
* New method ``TestCase.call_catch_warnings`` for testing methods that
raises a Python warning. (Martin Pool)
..
vim: tw=74 ft=rst ff=unix
|