~bzr-pqm/bzr/bzr.dev

5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
1
####################
2
Bazaar Release Notes
3
####################
4
5
.. toctree::
6
   :maxdepth: 1
7
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
8
bzr 2.4b3
9
#########
10
11
:2.4b3: NOT RELEASED YET
12
13
External Compatibility Breaks
14
*****************************
15
16
.. These may require users to change the way they use Bazaar.
17
18
New Features
19
************
20
21
.. New commands, options, etc that users may wish to try out.
22
23
Improvements
24
************
25
26
.. Improvements to existing commands, especially improved performance 
27
   or memory usage, or better results.
28
29
Bug Fixes
30
*********
31
32
.. Fixes for situations where bzr would previously crash or give incorrect
33
   or undesirable results.
34
35
Documentation
36
*************
37
38
.. Improved or updated documentation.
39
40
API Changes
41
***********
42
43
.. Changes that may require updates in plugins or other code that uses
44
   bzrlib.
45
5815.3.5 by Jelmer Vernooij
Update NEWS.
46
* ``annotate_file`` has been deprecated in favor of
47
  ``annotate_file_revision_tree``. (Jelmer Vernooij, #775598)
48
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
49
Internals
50
*********
51
52
.. Major internal changes, unlikely to be visible to users or plugin 
53
   developers, but interesting for bzr developers.
54
55
Testing
56
*******
57
58
.. Fixes and changes that are only relevant to bzr's test framework and 
59
   suite.  This can include new facilities for writing tests, fixes to 
60
   spurious test failures and changes to the way things should be tested.
61
62
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
63
bzr 2.4b2
64
#########
65
5811.1.1 by Vincent Ladeuil
Release 2.4b2
66
:2.4b2: 2011-04-28
67
68
This is the second beta of the 2.4 series, leading to a 2.4.0 release in
69
August 2011. Beta releases are suitable for everyday use but may cause some
70
incompatibilities with plugins.
71
72
This release includes all bug fixed in previous series known at the time of
73
this release.
74
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
75
76
External Compatibility Breaks
77
*****************************
78
79
.. These may require users to change the way they use Bazaar.
80
5741.3.2 by Martin Pool
Show a user warning on 'bzr clone' and 'get'
81
* Two command synonyms for ``bzr branch`` have been deprecated, to avoid
82
  confusion and to allow the names to later be reused.  The removed names
83
  are: ``get`` and ``clone``.   (Martin Pool, #506265)
84
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
85
New Features
86
************
87
88
.. New commands, options, etc that users may wish to try out.
89
5777.6.1 by Jelmer Vernooij
Add --lossy option to 'bzr commit'.
90
* ``bzr commit`` now supports a ``--lossy`` argument that can be used
91
  to discard any data that can not be natively represented when committing
92
  to a foreign VCS. (Jelmer Vernooij, #587721)
93
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
94
Improvements
95
************
96
97
.. Improvements to existing commands, especially improved performance 
98
   or memory usage, or better results.
99
5783.2.4 by John Arbash Meinel
release-notes (aka NEWS) about fixing bug #759091
100
* ``bzr merge`` in large trees is now significantly faster. On a 70k entry
101
  tree, the time went from ~3min down to 30s.
102
  (John Arbash Meinel, #759091)
5752.5.3 by John Arbash Meinel
release-notes about fixing bug #740932
103
5740.1.1 by John Arbash Meinel
Integrate into bzr-2.4.
104
* Resolve ``lp:FOO`` urls locally rather than doing an XMLRPC request if
105
  the user has done ``bzr launchpad-login``. The bzr+ssh URLs were already
106
  being handed off to the remote server anyway (xmlrpc has been mapping
107
  ``lp:bzr`` to ``bzr+ssh://bazaar.launchpad.net/+branch/bzr``, rather
108
  than ``bzr+ssh://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev`` for a few
109
  months now.) By doing it ourselves, we can cut out substantial startup
110
  time. From Netherlands to London it was taking 368ms to do the XMLRPC
111
  call as much as 2s from Sydney. You can test the local logic by using
112
  ``-Dlaunchpad``.  (John Arbash Meinel, #397739)
113
5783.2.4 by John Arbash Meinel
release-notes (aka NEWS) about fixing bug #759091
114
* When building a new WorkingTree (such as during ``bzr co`` or
115
  ``bzr branch``) we now properly store the stat and hash of files that
116
  are old enough. This saves a fair amount of time on the first
117
  ``bzr status`` (on a 500MB tree, it saves about 30+s).
118
  (John Arbash Meinel, #740932)
119
120
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
121
Bug Fixes
122
*********
123
124
.. Fixes for situations where bzr would previously crash or give incorrect
125
   or undesirable results.
126
5785.1.6 by Martin
Add release notes
127
* Arguments that can't be decoded to unicode in the current posix locale give
128
  a clearer error message without a traceback. (Martin [gz], #745712)
129
5752.3.8 by John Arbash Meinel
Merge bzr.dev 5764 to resolve release-notes (aka NEWS) conflicts
130
* ``bzrlib.log._DEFAULT_REQUEST_PARAMS`` is no longer accidentally
131
  mutated by ``bzrlib.log._apply_log_request_defaults``.  In practice
132
  these default values aren't relied on very often so this probably
133
  wasn't causing any trouble.  (Andrew Bennetts)
5753.3.1 by Andrew Bennetts
Quick fix for an obvious glitch in bzrlib.log: _DEFAULT_REQUEST_PARAMS was being mutated accidentally.
134
5728.5.9 by Andrew Bennetts
Merge latest lp:bzr, move our new release notes entries to the current release.
135
* ``bzr log`` now works on revisions which are not in the current branch.
136
  (Matt Giuca, #241998)
137
5752.3.8 by John Arbash Meinel
Merge bzr.dev 5764 to resolve release-notes (aka NEWS) conflicts
138
* Lazy hooks are now reset between test runs. (Jelmer Vernooij, #745566)
5691.2.2 by Jelmer Vernooij
Reset hooks between test runs.
139
5783.2.4 by John Arbash Meinel
release-notes (aka NEWS) about fixing bug #759091
140
* ``bzrlib.merge.Merge`` now calls ``iter_changes`` without
141
  ``include_unversioned=True``. This makes it significantly faster in many
142
  cases, because it only looks at modified files, rather than building
143
  information about all files. This can cause failures in other
144
  TreeTransform code, because it had been expecting to know the names of
145
  things which had not changed (such as parent directories). All cases we
146
  know about so far have been fixed, but there may be fallout for edge
147
  cases that we are missing. (John Arbash Meinel, #759091)
148
5672.2.3 by Alexander Belchenko
added NEWS item.
149
* Standalone bzr.exe installation on Windows: user can put additional python 
150
  libraries into ``site-packages`` subdirectory of the installation directory,
151
  this might be required for "installing" extra dependencies for some plugins.
152
  (Alexander Belchenko, #743256)
153
5752.3.7 by John Arbash Meinel
Update release-notes
154
* ``TreeTransform.create_file/new_file`` can now take an optional ``sha1``
155
  parameter. If supplied, when the transform is applied, it will then call
156
  ``self._tree._observed_sha1`` for those files. This lets us update the
157
  hash-cache for content that we create, preventing us from re-reading the
158
  content in the next ``bzr status``.  (John Arbash Meinel, #740932)
5752.3.1 by John Arbash Meinel
Merge up from 2.4-windows-lfstat
159
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
160
Documentation
161
*************
162
5739.1.1 by Andrew Bennetts
Add release-note.
163
* Added a section about using a shared SSH account on a server for bzr+ssh
164
  access.  (Russell Smith)
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
165
5761.1.1 by Martin Pool
Recommend SSH rather than SFTP in user documentation examples
166
* The documentation now recommends using SSH rather than SFTP in the
167
  tutorials and the examples, because that will generally be much faster
168
  and better in cases where it can be used.  SFTP is still available and
169
  mentioned as an alternative.  (Martin Pool, #636712)
170
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
171
API Changes
172
***********
173
174
.. Changes that may require updates in plugins or other code that uses
175
   bzrlib.
176
5741.3.1 by Martin Pool
Add Command.invoked_as
177
* Commands now have an `invoked_as` attribute, showing the name under
178
  which they were called before alias expansion.
5741.3.6 by mbp at sourcefrog
merge news
179
  (Martin Pool)
180
5622.3.11 by Jelmer Vernooij
Revert some unnecessary changes.
181
* ``Hooks.create_hook`` is now deprecated in favour of ``Hooks.add_hook``.
182
  (Jelmer Vernooij)
183
5728.4.1 by Martin Pool
bzrlib.initialize now does what you'd expect
184
* If you call `bzrlib.initialize` but forget to enter the resulting object
185
  as a context manager, bzrlib will now be initialized anyhow.
186
  (Previously simple programs calling bzrlib might find the library was
187
  mysteriously silent.)
188
  (Martin Pool)
189
5777.3.4 by Jelmer Vernooij
Add note to release notes, fix PEP8 issue.
190
* Inventory-specific functionality has been split out of ``Tree`` into
191
  a new ``InventoryTree`` class. Tree instances no longer
192
  necessarily provide an ``inventory`` attribute. (Jelmer Vernooij)
193
5793.2.2 by Jelmer Vernooij
Split inventory-specific code out of RevisionTree into InventoryRevisionTree.
194
* Inventory-specific functionality has been split out of ``RevisionTree``
195
  into a new ``InventoryRevisionTree`` class. RevisionTree instances no
196
  longer necessarily provide an ``inventory`` attribute. (Jelmer Vernooij)
197
5622.4.2 by Jelmer Vernooij
Allow uninstalling hooks.
198
* New method ``Hooks.uninstall_named_hook``. (Jelmer Vernooij, #301472)
199
5766.1.1 by Jelmer Vernooij
Make revision-graph-can-have-wrong-parents a repository format attribute rather than a repository method.
200
* ``revision_graph_can_have_wrong_parents`` is now an attribute
201
  on ``RepositoryFormat`` rather than a method on ``Repository``.
202
  (Jelmer Vernooij)
203
5798.1.1 by Jelmer Vernooij
Make Testament take a tree rather than a inventory.
204
* ``Testament`` now takes a ``tree`` rather than an
205
  ``inventory``. (Jelmer Vernooij, #762608)
206
5784.1.2 by Martin Pool
Deprecate, and test, failIfExists and failUnlessExists
207
* ``TestCase.failUnlessExists`` and ``failIfExists`` are deprecated in
208
  favour of ``assertPathExists`` and ``assertPathDoesNotExist`` 
209
  respectively.
210
  (Martin Pool)
211
5728.5.9 by Andrew Bennetts
Merge latest lp:bzr, move our new release notes entries to the current release.
212
* The ``revno`` parameter of ``log.LogRevision`` may now be None,
213
  representing a revision which is not in the current branch.
214
  (Matt Giuca, #241998)
215
5757.1.8 by Jelmer Vernooij
Mention moving of knitpack repo formats in release notes.
216
* The various knit pack repository format classes have been moved
217
  from ``bzrlib.repofmt.pack_repo`` to
218
  ``bzrlib.repofmt.knitpack_repo``. (Jelmer Vernooij)
219
5793.2.4 by Jelmer Vernooij
Add release note.
220
* ``RevisionTree`` now has a new method ``get_file_revision``.
221
  (Jelmer Vernooij)
222
5777.5.2 by Jelmer Vernooij
Split inventory-specific methods and WorkingTree interface method
223
* ``WorkingTree`` no longer provides an ``inventory``. Instead,
224
  all inventory-related functionality is now on the subclass
225
  ``InventoryWorkingTree`` that all native Bazaar working tree
226
  implementations derive from. (Jelmer Vernooij)
227
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
228
Internals
229
*********
230
231
.. Major internal changes, unlikely to be visible to users or plugin 
232
   developers, but interesting for bzr developers.
233
5752.2.11 by John Arbash Meinel
Change the release-notes information for this change.
234
* Added ``osutils.lstat`` and ``osutils.fstat``. These are just the ``os``
235
  functions on Linux, but they are wrapped on Windows so that fstat
236
  matches lstat results across all python versions.
237
  (John Arbash Meinel)
238
5755.1.1 by John Arbash Meinel
Change WT._observed_sha1 to also update st.st_size.
239
* ``WorkingTree._observed_sha1`` also updates the 'size' column. It
240
  happened to be updated as a side-effect of commit, but if we start using
241
  the function elsewhere we might as well do it directly.
242
  (John Arbash Meinel)
243
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
244
Testing
245
*******
246
247
.. Fixes and changes that are only relevant to bzr's test framework and 
248
   suite.  This can include new facilities for writing tests, fixes to 
249
   spurious test failures and changes to the way things should be tested.
250
5784.1.1 by Martin Pool
Stop using failIf, failUnless, etc
251
* Stop using `failIf`, `failUnless`, `failIfEqual`, etc, that give
252
  `PendingDeprecationWarnings` on Python2.7. 
253
  (Martin Pool, #760435)
254
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
255
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
256
bzr 2.4b1
257
#########
258
5811.1.1 by Vincent Ladeuil
Release 2.4b2
259
:2.4b1: 2011-03-17
5726.1.1 by Vincent Ladeuil
Release 2.4b1
260
261
This is the first beta of the 2.4 series, leading up to a 2.4.0
262
release in August 2011.  Beta releases are suitable for everyday use
263
but may cause some incompatibilities with plugins.  Some plugins may need
264
small updates to work with 2.4b1.
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
265
266
External Compatibility Breaks
267
*****************************
268
5726.1.1 by Vincent Ladeuil
Release 2.4b1
269
(none)
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
270
271
New Features
272
************
273
5724.2.3 by Andrew Bennetts
Add entries to release-notes and whats-new.
274
* Added ``changelog_merge`` plugin for merging changes to ``Changelog`` files
275
  in GNU format.  See ``bzr help changelog_merge`` for details.
276
  (Andrew Bennetts)
277
  
5676.1.4 by Jelmer Vernooij
merge bzr.dev.
278
* Configuration options can now use references to other options in the same
279
  file by enclosing them with curly brackets (``{other_opt}``). This makes it
280
  possible to use, for example,
281
  ``push_location=lp:~vila/bzr/config-{nickname}`` in ``branch.conf`` when
282
  using a loom. During the beta period, the default behaviour is to disable
283
  this feature. It can be activated by declaring ``bzr.config.expand = True``
284
  in ``bazaar.conf``. (Vincent Ladeuil)
285
5724.2.3 by Andrew Bennetts
Add entries to release-notes and whats-new.
286
* External merge tools can now be configured in bazaar.conf. See
287
  ``bzr help configuration`` for more information.  (Gordon Tyler, #489915)
288
289
* The ``lp:`` directory service now supports Launchpad's QA staging.
290
  (Jelmer Vernooij, #667483)
291
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
292
Improvements
293
************
294
5630.2.8 by John Arbash Meinel
Rename the command to 'repair-workingtree' as mentioned by vila.
295
* A new hidden command ``bzr repair-workingtree``. This is a way to force
5630.2.1 by John Arbash Meinel
Rough outline of what I'm trying to accomplish, docs, etc.
296
  the dirstate file to be rebuilt, rather than using a ``bzr checkout``
297
  workaround. (John Arbash Meinel)
298
5672.1.5 by Andrew Bennetts
Add some tests for RemoteBranch.heads_to_fetch, and add release-note.
299
* Added a ``Branch.heads_to_fetch`` RPC to the smart server protocol.
300
  This allows formats from plugins (such as looms) to efficiently tell the
301
  client which revisions need to be fetched.  (Andrew Bennetts)
302
5535.3.48 by Andrew Bennetts
Add some release notes and what's new entries.
303
* Branching, merging and pulling a branch now copies revisions named in
304
  tags, not just the tag metadata.  (Andrew Bennetts, #309682)
5718.5.24 by Jelmer Vernooij
Add note on gzip mtime on python >= 2.7.
305
5718.5.6 by Jelmer Vernooij
Update NEWS.
306
* ``bzr cat-revision`` no longer requires a working tree.
307
  (Jelmer Vernooij, #704405)
308
5718.5.24 by Jelmer Vernooij
Add note on gzip mtime on python >= 2.7.
309
* ``bzr export --per-file-timestamps`` for .tar.gz files will now
310
  override the mtime for trees exported on Python 2.7 and later, which
311
  expose the 'mtime' field in gzip files. This makes the output of
312
  ``bzr export --per-file-timestamps`` for a particular tree
5718.5.6 by Jelmer Vernooij
Update NEWS.
313
  deterministic.  (Jelmer Vernooij, #711226)
5616.4.1 by Jelmer Vernooij
'bzr cat-revision' no longer requires a working tree.
314
5718.5.7 by Jelmer Vernooij
Support bzr zip exporting to stdout.
315
* ``bzr export --format=zip`` can now export to standard output,
316
  like the other exporters can. (Jelmer Vernooij, #513752)
317
5718.5.17 by Jelmer Vernooij
Support tar.lzma.
318
* ``bzr export`` can now create ``.tar.xz`` and ``.tar.lzma`` files.
5718.5.10 by Jelmer Vernooij
Support creating .tar.xz files.
319
  (Jelmer Vernooij, #551714)
320
5726.2.1 by John Arbash Meinel
Fix bug #737234. Preload all entries for iter_entries_by_dir().
321
* Getting all entries from ``CHKInventory.iter_entries_by_dir()`` has been
322
  sped up dramatically for large trees. Iterating by dir is not the best
323
  way to load data from a CHK inventory, so it preloads all the items in
324
  the correct order. (With the gcc-tree, this changes it (re)reading 8GB
325
  of CHK data, down to just 150MB.) This has noticeable affects for things
326
  like building checkouts, etc.  (John Arbash Meinel, #737234)
327
5718.5.10 by Jelmer Vernooij
Support creating .tar.xz files.
328
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
329
Bug Fixes
330
*********
331
5677.2.11 by Martin
Add NEWS
332
* A MemoryError thrown on the server during a remote operation will now be
333
  usefully reported, and other unexpected errors will include the class name.
334
  (Martin [gz], #722416)
335
5638.2.5 by Vincent Ladeuil
Add news entry.
336
* ``bzr annotate -r-1 file`` will now properly annotate a deleted file.
337
  (Andrew King, #537442)
338
5664.2.1 by Jelmer Vernooij
Fix setting of mode on directories in zip files.
339
* ``bzr export`` to zip files will now set a mode on directories.
340
  (Jelmer Vernooij, #207253)
341
5718.5.15 by Jelmer Vernooij
Only write out basename of the tarfile to the gzip file.
342
* ``bzr export`` to tgz files will only write out the basename of the
343
  tarfile to the gzip file. (Jelmer Vernooij, #102234)
344
5611.2.1 by Jelmer Vernooij
Fix 'bzr push --overwrite -rOLD_MAINLINE_REV'.
345
* ``bzr push --overwrite`` with an older revision specified will now correctly
346
  roll back the target branch. (Jelmer Vernooij, #386576)
347
5616.1.1 by Jelmer Vernooij
Support 'bzr lp-propose' without an explicit target branch for packaging branches.
348
* ``bzr lp-propose`` can now propose merges against packaging branches on
5630.1.2 by Vincent Ladeuil
Fix typo.
349
  Launchpad without requiring the target branch to be specified.
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
350
  (Jelmer Vernooij, #704647)
5616.1.1 by Jelmer Vernooij
Support 'bzr lp-propose' without an explicit target branch for packaging branches.
351
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
352
* ``bzr lp-propose`` no longer requires a reviewer to be specified. It will
353
  instead leave setting the reviewer up to Launchpad if it was not specified.
5616.5.1 by Jelmer Vernooij
Don't require a reviewer to be specified in lp-propose.
354
  (Jelmer Vernooij, #583772)
355
5616.6.2 by Jelmer Vernooij
Merge bzr.dev.
356
* ``bzr pull`` will now exit with exit code 1 if there were tag conflicts.
357
  (Jelmer Vernooij, #213185)
358
5609.8.6 by Martin
Add release notes for change
359
* ``bzr mv`` user errors no longer throw UnicodeEncodeError with non-ascii
360
  paths, however they may still print junk if not on a UTF-8 terminal.
361
  (Martin [gz], #707954)
362
5651.5.4 by Andrew Bennetts
Add release note.
363
* ``bzr reconfigure --unstacked`` now copies revisions (and their
364
  ancestors) named in tags into the unstacked repository, not just the
365
  ancestry of the branch's tip.  (Andrew Bennetts, #401646)
366
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
367
* ``bzr serve`` no longer crashes when a server_started hook is installed and
368
  IPv6 support is available on the system. (Jelmer Vernooij, #293697)
369
5802.3.1 by John Arbash Meinel
Fix bug #765881. Having a file added on disk was skipping
370
* ``bzr status`` will not rewrite the dirstate file if it only has
371
  'trivial' changes. (Currently limited to dir updates and newly-added
372
  files changing state.) This saves a bit of time for regular operations.
373
  eg. ``bzr status`` in a 100k tree takes 1.4s to compute the status, but 1s
374
  to re-save the dirstate file. (John Arbash Meinel, #765881)
375
5689.2.2 by Jelmer Vernooij
Fix the use of "bzr tags" in branches with ghosts in their mainline /and/ tags on revisions not in the branch ancestry.
376
* ``bzr tags`` will no longer choke on branches with ghost revisions in
377
  their mainline and tags on revisions not in the branch ancestry. 
378
  (Jelmer Vernooij, #397556)
379
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
380
* ``bzr whoami`` will now display an error if both a new identity and
381
  ``--email`` were specified. (Jelmer Vernooij, #680449)
382
383
* ``launchpadlib`` doesn't provide the ``uris`` module in some old versions.
384
  (Vincent Ladeuil, #706835)
5616.3.1 by Jelmer Vernooij
Print error if both --email and a new identity were specified.
385
5639.2.1 by Martin Pool
Empty entries in the ``NO_PROXY`` variable are no longer treated as matching every host.
386
* Empty entries in the ``NO_PROXY`` variable are no longer treated as matching
387
  every host.
388
  (Martin Pool, #586341)
389
5616.7.9 by Martin Pool
Move release note into the 2.4 file
390
* Plugins incompatible with the current version of bzr no longer produce a
391
  warning on every command invocation.  Instead, a message is shown by
392
  ``bzr plugins`` and in crash reports.
393
  (#704195, Martin Pool)
5616.3.1 by Jelmer Vernooij
Print error if both --email and a new identity were specified.
394
5662.1.2 by Andrew Bennetts
Add release note.
395
* The "pretty" version of ``needs_read_lock`` and ``needs_write_lock`` now
396
  preserves the identity of default parameter values.
397
  (Andrew Bennetts, #718569)
398
5651.2.1 by Eric Siegerman
Fix traceback attempting to "bzr dump-btree --raw btree-with-0-rows".
399
* ``bzr dump-btree --raw`` no longer tracebacks on a B-Tree file
5651.2.2 by Eric Siegerman
Add the bug# to release notes, and call --fixes on it.
400
  containing no rows. (Eric Siegerman, #715508)
5651.2.1 by Eric Siegerman
Fix traceback attempting to "bzr dump-btree --raw btree-with-0-rows".
401
5657.1.1 by Max Bowsher
Fix bzr lp-mirror to work on command line branch URLs and branches
402
* Fix ``bzr lp-mirror`` to work on command line branch URLs and branches
403
  without an explicit public location. (Max Bowsher)
404
5677.1.1 by Jelmer Vernooij
On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the number of available processors.
405
* On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the
5677.1.4 by Jelmer Vernooij
Add bug #
406
  number of available processors. (Jelmer Vernooij, #693140)
5677.1.1 by Jelmer Vernooij
On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the number of available processors.
407
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
408
API Changes
409
***********
410
5742.1.1 by Vincent Ladeuil
Some post-release tweaks.
411
* Added ``Branch.heads_to_fetch`` method.  Implementations of the Branch API
5672.1.2 by Andrew Bennetts
Add API change to release notes.
412
  must now inherit or implement this method.  (Andrew Bennetts, #721328)
413
  
5321.1.117 by Gordon Tyler
Moved mergetools-related NEWS from bzr-2.3.txt to bzr-2.4.txt.
414
* Added ``bzrlib.mergetools`` module with helper functions for working with
415
  the list of external merge tools. (Gordon Tyler, #489915)
416
5670.1.1 by Jelmer Vernooij
Remove all methods and arguments that were deprecated before bzr 2.0.0.
417
* All methods and arguments that were deprecated before 2.0
418
  have been removed. (Jelmer Vernooij)
419
5662.2.5 by Jelmer Vernooij
Update release notes.
420
* Branch formats should now be registered on the format registry
421
  (``bzrlib.branch.format_registry``) rather than using the class
422
  methods on ``BranchFormat``. (Jelmer Vernooij, #714729)
423
5718.7.3 by Jelmer Vernooij
Update NEWS.
424
* ``Branch.set_revision_history`` is now deprecated.
425
  (Jelmer Vernooij)
426
5674.1.2 by Jelmer Vernooij
Update NEWS.
427
* ``BranchFormat.supports_leaving_lock()`` and
428
  ``RepositoryFormat.supports_leaving_lock`` flags have been added.
429
  (Jelmer Vernooij)
430
5535.3.48 by Andrew Bennetts
Add some release notes and what's new entries.
431
* ``Branch.import_last_revision_info`` is deprecated.  Use the
432
  ``import_last_revision_info_and_tags`` method instead.
433
  (Andrew Bennetts)
434
5735.1.2 by Jelmer Vernooij
Update release notes.
435
* Because it was too specific to BzrDir implementations,
436
  ``ControlDir.sprout`` no longer has a default implementation; it now
437
  raises ``NotImplementedError``. (Jelmer Vernooij, #717937)
438
5712.3.20 by Jelmer Vernooij
Update release notes.
439
* ``ControlDirFormat.register_format`` has been removed. Instead,
440
  ``Prober`` implementations should now implement a ``known_formats``
441
  method. (Jelmer Vernooij)
5712.3.11 by Jelmer Vernooij
Update release notes.
442
5717.1.3 by Jelmer Vernooij
Rename check_supported to check_status.
443
* ControlDirFormats can now provide a ``check_status`` method and
444
  raise a custom exception or warning when an unsupported or deprecated
445
  format is being opened.  (Jelmer Vernooij, #731311)
5717.1.1 by Jelmer Vernooij
Support overriding check_supported.
446
5671.5.1 by Jelmer Vernooij
Allow lazily registering possible DWIM revspecs.
447
* ``bzrlib.revionspec.dwim_revspecs`` is deprecated.
448
  Use ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_revspec`` and
449
  ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_lazy_revspec``
450
  instead.  (Jelmer Vernooij, #721971)
451
5673.1.3 by Jelmer Vernooij
Change flexible_components to fixed_components.
452
* ``BzrDirFormat`` has a new attribute ``fixed_components`` that
453
  indicates whether the components of the bzrdir can be upgraded
454
  independent of the ``BzrDir``. (Jelmer Vernooij)
455
5712.3.2 by Jelmer Vernooij
Deprecate BzrProber.{un,}register_format in favour of format registry.
456
* ``BzrProber.register_format`` and ``BzrProber.unregister_format`` are
457
  now deprecated in favour of the ``BzrProber.formats`` format registry.
458
  (Jelmer Vernooij)
459
5726.1.1 by Vincent Ladeuil
Release 2.4b1
460
* ``ControlDir`` implementations no longer have to provide the
461
  ``get_branch_transport``, ``get_workingtree_transport`` and
462
  ``get_repository_transport`` methods.  (Jelmer Vernooij, #730325)
5699.4.4 by Jelmer Vernooij
Update NEWS.
463
5692.1.2 by Jelmer Vernooij
Update release notes.
464
* ``Converter`` has been moved from ``bzrlib.bzrdir`` to
465
  ``bzrlib.controldir``. (Jelmer Vernooij)
466
5676.1.5 by Jelmer Vernooij
Merge control component format registry
467
* Repository formats can now provide
468
  ``_get_extra_interrepo_test_combinations`` in the same module 
469
  to provide extra test combinations for ``bzrlib.tests.per_repository``.
470
  (Jelmer Vernooij)
471
5651.3.8 by Jelmer Vernooij
update NEWS.
472
* Repository formats should now be registered on the format registry
473
  (``bzrlib.repository.format_registry``) rather than using the class
474
  methods on ``RepositoryFormat``. (Jelmer Vernooij)
475
5684.2.1 by Jelmer Vernooij
Add bzrlib.tests.per_repository_vf.
476
* Repository formats can now indicate they do not support the full
477
  VersionedFiles API by setting the ``supports_full_versioned_files``
478
  attribute to False. A subset of the VersionedFiles API
479
  (signatures and text graphs) still needs to be supported.
480
  (Jelmer Vernooij)
481
5675.2.4 by Jelmer Vernooij
Update NEWS.
482
* Repository formats have a new method ``is_deprecated`` that
483
  implementations can override to return True to trigger a deprecation
484
  warning. (Jelmer Vernooij)
485
5536.3.3 by Andrew Bennetts
Merge lp:bzr.
486
* The ``revision_id`` parameter of
487
  ``Repository.search_missing_revision_ids`` and
488
  ``InterRepository.search_missing_revision_ids`` is deprecated.  It is
489
  replaced by the ``revision_ids`` parameter.  (Andrew Bennetts)
490
5662.3.2 by Jelmer Vernooij
Update release notes.
491
* Working tree formats should now be registered on the format registry
492
  (``bzrlib.working_tree.format_registry``) rather than using the class
493
  methods on ``WorkingTreeFormat``. (Jelmer Vernooij, #714730)
494
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
495
Internals
496
*********
497
5652.1.3 by Vincent Ladeuil
Add news entry.
498
* ``CatchingExceptionThread`` (formerly ThreadWithException) has been moved
499
  out of the ``bzrlib.tests`` hierarchy to make it clearer that it can be used
500
  outside of tests. This class makes it easier to track exceptions in threads
5742.1.1 by Vincent Ladeuil
Some post-release tweaks.
501
  by catching them so they can be re-raised in the controlling thread. It's
5652.1.6 by Vincent Ladeuil
thread is already a python module, avoid confusion and use cethread instead.
502
  available in the ``bzrlib.cethread`` module.  (Vincent Ladeuil)
5652.1.3 by Vincent Ladeuil
Add news entry.
503
5698.2.9 by Martin
Add release notes
504
* Correctly propogate malloc failures from diff-delta.c code as MemoryError
505
  so OOM conditions during groupcompress are clearly reported. This entailed a
506
  change to several function signatures. (Martin [gz], #633336)
507
5622.1.1 by Jelmer Vernooij
Allow lazily loading hook callbacks.
508
* ``HookPoint.lazy_hook`` and ``Hooks.install_named_lazy_hook`` can install 
509
  hooks for which the callable is loaded lazily.  (Jelmer Vernooij)
510
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
511
Testing
512
*******
513
5705.1.1 by Vincent Ladeuil
Correctly parse partial range specifiers in the HTTP test server
514
* The Range parsing for HTTP requests will correctly parse incomplete ranges.
515
  (Vincent Ladeuil, #731240)
516
5630.2.1 by John Arbash Meinel
Rough outline of what I'm trying to accomplish, docs, etc.
517
..
518
   vim: tw=74 ft=rst ff=unix