~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
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
8
bzr 2.4b5
9
#########
10
6013.1.2 by Vincent Ladeuil
Release 2.4b5
11
:2.4b5: 2011-07-07
12
13
This is the fifth (and last) beta of the 2.4 series leading to
14
2.4.0 release in Auguest 2011. Beta releases are suitable for
15
everyday use but may cause some incompatibilities with plugins.
16
17
This release includes all bug fixed in previous series known at
18
the time of this release.
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
19
20
External Compatibility Breaks
21
*****************************
22
6013.1.2 by Vincent Ladeuil
Release 2.4b5
23
None.
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
24
25
New Features
26
************
27
5971.1.66 by Jonathan Riddell
add release notes
28
* New command ``verify-signatures`` to check if all commits or specified commits
29
  have digital signatures from trusted keys.  Requires python-gpgme to be
30
  installed.
31
32
* New option ``--signatures`` for ``bzr log`` to display digital signature
33
  verification results for each commit.
34
35
* Config option acceptable_keys to list which GPG keys are verified as trusted.
36
37
* Config option validate_signatures_in_log to always show signatures in 
38
  ``bzr log``.
39
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
40
Improvements
41
************
42
5993.4.2 by Andrew Bennetts
Add release-notes entry.
43
* ``Branch.open`` is now about 3x faster (about 2ms instead of 6.5ms).
44
  (Andrew Bennetts).
45
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
46
Bug Fixes
47
*********
48
5987.1.4 by Vincent Ladeuil
Proper error messages for config files with content in non-utf encoding or that cannot be parsed
49
* Display a proper error message when a config file content cannot be
50
  decoded as UTF-8 or when it cannot be parsed.
6007.1.1 by Vincent Ladeuil
Fix typo in bug number
51
  (Vincent Ladeuil, #502060, #688677, #797246)
5987.1.3 by Vincent Ladeuil
Proper message when authentication.conf has non-utf8 content
52
5988.2.1 by Vincent Ladeuil
Do not generate path conflicts if a corresponding content conflict exists
53
* Generate a single conflict (instead of two) when merging a branch
54
  modifying and renaming a file in a branch that deleted it (or vice-versa).
55
  (Vincent Ladeuil, #688101)
56
5997.1.2 by Martin Pool
Better message on mismatched bzr/bzrlib
57
* Give a more helpful message when the bzr executable doesn't match the
58
  library.  (This typically happens because of a misconfigured PYTHONPATH
59
  or half-installed bzr.)  
60
  (Martin Pool, #804553)
61
5987.1.1 by Vincent Ladeuil
Properly load utf8-encoded config files
62
* Properly load utf8-encoded config files. (Vincent Ladeuil, #799212)
63
5988.1.1 by Jelmer Vernooij
Fix GraphThunkIdsToKeys.merge_sort
64
* ``GraphThunkIdsToKeys.merge_sort`` now properly returns
5988.1.3 by Jelmer Vernooij
Fix typo, thanks John Szakmeister.
65
  keys rather than ids. (Jelmer Vernooij, #799677)
5988.1.1 by Jelmer Vernooij
Fix GraphThunkIdsToKeys.merge_sort
66
5993.2.3 by Jelmer Vernooij
Update NEWS, consistently use require_tree_root as argument everywhere.
67
* ``TreeTransformBase.fixup_new_roots`` can now check that a tree root
68
  is present. (Jelmer Vernooij, #801257)
69
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
70
API Changes
71
***********
72
5993.3.2 by Jelmer Vernooij
Add Repository.supports_versioned_directories.
73
* New attributes ``WorkingTreeFormat.supports_versioned_directories`` and
74
  ``RepositoryFormat.supports_versioned_directories``.
5993.3.1 by Jelmer Vernooij
Add WorkingTreeFormat.supports_versioned_directories attribute.
75
  (Jelmer Vernooij, #765815)
76
6008.1.1 by John Arbash Meinel
Merge version-info fixes for dotted revnos.
77
* The "revno" field type when using the python version-info format is now
78
  a string (to handle dotted revnos) (Benoît Pierre, #796259)
79
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
80
Internals
81
*********
82
5875.3.29 by Vincent Ladeuil
Add news entry.
83
* Start implementing localization, starting with command help text (but not
84
  the command options themselves). This will allow bootstrapping the bzr
85
  internationalization process. (Inada Naoki)
86
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
87
Testing
88
*******
89
5984.1.5 by Vincent Ladeuil
Add news entries
90
* Fix test failures when running as a homeless user (debian buildd). Tests
91
  leaking into ``${HOME}/.bzr.log`` should be detected properly now.
92
  (Vincent Ladeuil, #798698)
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
93
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
94
bzr 2.4b4
95
#########
96
5981.1.1 by Vincent Ladeuil
Release 2.4b4
97
:2.4b4: 2011-06-16
98
99
This is the fourth beta of the 2.4 series, leading to a 2.4.0 release in
100
August 2011. Beta releases are suitable for everyday use but may cause some
101
incompatibilities with plugins.
102
103
This release includes all bug fixed in previous series known at the time of
104
this release.
105
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
106
107
External Compatibility Breaks
108
*****************************
109
110
.. These may require users to change the way they use Bazaar.
111
5967.3.3 by Jonathan Riddell
add release notes
112
* Do not treat configuration option 'check_signatures = require' as if
5967.3.5 by Jonathan Riddell
add name to release note
113
  it were 'create_signatures = always' (Jonathan Riddell)
5967.3.3 by Jonathan Riddell
add release notes
114
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
115
New Features
116
************
117
118
.. New commands, options, etc that users may wish to try out.
119
5743.8.23 by Vincent Ladeuil
Don't publicize the hooks yet and add proper cleanups to avoid hook leaks (or hooks triggering during tests cleanup).
120
* Hooks have been added for config stacks: ``get``, ``set`` and ``remove``
5989.1.1 by Vincent Ladeuil
Fix typo in release notes
121
  are called when an option is respectively read, modified or deleted. Also
5743.8.23 by Vincent Ladeuil
Don't publicize the hooks yet and add proper cleanups to avoid hook leaks (or hooks triggering during tests cleanup).
122
  added ``load`` and ``save`` hooks for config stores, called when the
123
  stores are loaded or saved.  (Vincent Ladeuil)
5743.8.6 by Vincent Ladeuil
Add hooks for config stacks.
124
5909.2.7 by Jonathan Riddell
add NEWS
125
* New hook server_exception in bzrlib.smart.server to catch any
5743.8.6 by Vincent Ladeuil
Add hooks for config stacks.
126
  exception caused while running bzr serve.
127
  (Jonathan Riddell, #274578)
128
5993.1.1 by Vincent Ladeuil
Start implementing command help text localization
129
* New hook set_commit_message in bzrlib.msgeditor to set a commit message
130
  and revision properties.  (Jonathan Riddell, #274578)
5912.4.11 by Jonathan Riddell
add NEWS
131
5945.1.5 by Martin von Gagern
Document #38655 in release-notes and whats-new.
132
* Support ``-S`` as an alias for ``--short`` for the ``log`` and
133
  ``missing`` commands. (Martin von Gagern, #38655)
134
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
135
Improvements
136
************
137
138
.. Improvements to existing commands, especially improved performance 
139
   or memory usage, or better results.
140
5993.1.1 by Vincent Ladeuil
Start implementing command help text localization
141
* ``bzr annotate`` can be run without setting whoami data first.
142
  (Jonathan Riddell, #667408)
5967.1.3 by Jonathan Riddell
add release note
143
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
144
Bug Fixes
145
*********
146
147
.. Fixes for situations where bzr would previously crash or give incorrect
148
   or undesirable results.
149
5425.4.25 by Martin Pool
Support auto-stealing dead locks, but turn it off by default.
150
* Bazaar can now detect when a lock file is held by a dead process
5425.4.16 by Martin Pool
resolve conflicts against trunk
151
  originating from the same machine, and steal the lock after printing a
5425.4.25 by Martin Pool
Support auto-stealing dead locks, but turn it off by default.
152
  message to the user.  This is off by default, for safety, but can be
153
  turned on by setting the configuration variable ``locks.steal_dead`` to
154
  ``True``.
5425.4.16 by Martin Pool
resolve conflicts against trunk
155
  (Martin Pool, #220464)
156
6008.1.1 by John Arbash Meinel
Merge version-info fixes for dotted revnos.
157
* ``bzr version-info`` now works when the tree is on a dotted revno.
158
  (Benoît Pierre, #796259)
159
5957.2.4 by Vincent Ladeuil
Fix news entry.
160
* Credentials in the log output produced by ``-Dhttp`` are masked so users
161
  can more freely post them in bug reports. (Vincent Ladeuil, #723074)
5957.2.3 by Vincent Ladeuil
Mask credentials in the -Dhttp logging
162
5929.2.1 by Vincent Ladeuil
Fix spurious test test_server_exception_with_hook failure
163
* Fix a race condition for ``server_started`` hooks leading to a spurious
164
  test failure. (Vincent Ladeuil, #789167)
165
5973.1.1 by John Arbash Meinel
Resolve conflicts with bzr-2.4.txt (aka NEWS)
166
* Fix exporting subdirectory with ``--per-file-timestamps``.
167
  (Szilveszter Farkas, #795557)
168
5946.1.3 by John Arbash Meinel
release-notes about bug #597686
169
* Handle files that get created but don't get used during TreeTransform.
170
  ``open()`` can create a file, and still raise an exception before it
171
  returns. So anything we might have created, make sure we destroy during
172
  ``finalize()``. (Martin [gz], #597686)
173
5909.3.3 by Martin von Gagern
Document fix.
174
* ``pack_repo`` now uses ``Transport.move`` instead of
175
  ``Transport.rename``, deleting any existing targets even on SFTP.
176
  (Martin von Gagern, #421776)
177
5918.1.3 by John Arbash Meinel
Merge bzr.dev, update release-notes for bug #787122
178
* Pass the ``build_mo`` command to the rest of the setup() calls in
179
  setup.py. The ``bdist_wininst`` and ``py2exe`` code paths were failing
180
  because ``build_mo`` became a required step that they didn't know about.
181
  (John Arbash Meinel, #787122)
182
6013.1.1 by Vincent Ladeuil
Move the news entry for bug #806356 in the right section.
183
* Preserve existing ``root-id`` when merging an unrelated branch.
184
  (Aaron Bentley, #806356)
185
5977.1.2 by John Arbash Meinel
release-notes entry.
186
* Properly avoid re-adding a file after it changes case on CICP
187
  filesystems. (John Arbash Meinel, #798130)
188
5609.39.10 by Vincent Ladeuil
Add news entry
189
* Reports the original error when an InvalidHttpResponse exception is
190
  encountered to facilitate debug. (Vincent Ladeuil, #788530)
191
5887.2.8 by Jonathan Riddell
add NEWS
192
* Reports a non-existant file error when trying to merge in a file
193
  that does not exist. (Jonathan Riddell, #330063)
194
5923.1.1 by Vincent Ladeuil
Require prompts to always be unicode
195
* ``UIFactory.prompt``, ``UIFactory.get_username``,
196
  ``UIFactory.get_password`` and ``UIFactory.get_boolean`` now require a
197
  unicode prompt to be passed in. (Jelmer Vernooij, #592083)
198
5954.4.8 by Aaron Bentley
Add release notes.
199
* Support merging into the empty tree. (Aaron Bentley, #595328)
200
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
201
Documentation
202
*************
203
204
.. Improved or updated documentation.
205
5939.2.1 by Neil Martinsen-Burrell
better document the effect of merge --force
206
* Improve documentation of ``bzr merge --force``.
207
  (Neil Martinsen-Burrell, #767307)
208
5967.3.3 by Jonathan Riddell
add release notes
209
* Make docs for configuration options for digital signatures match 
5967.3.4 by Jonathan Riddell
Add user-guide page on GPG signatures.
210
  reality. (Jonathan Riddell)
211
212
* Add user-guide page on GPG signatures. (Jonathan Riddell)
5967.3.3 by Jonathan Riddell
add release notes
213
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
214
API Changes
215
***********
216
217
.. Changes that may require updates in plugins or other code that uses
218
   bzrlib.
219
5967.7.1 by Martin Pool
Deprecate __contains__ on Tree and Inventory
220
* Checking for a file id in a `Tree` or `Inventory` using ``in`` is now
221
  deprecated.  Instead, use `has_id`.
222
  (Martin Pool)
223
5967.6.2 by Martin Pool
Delete fairly useless and repetitive per-format export single-call functions.
224
* Exporters are now all exposed as generators, rather than as single-call
225
  functions, so that calling code can take stream the output.
226
  (Xaav, Martin Pool)
227
5425.4.16 by Martin Pool
resolve conflicts against trunk
228
* Information about held lockdir locks returned from eg `LockDir.peek` is
5967.4.2 by Martin Pool
merge news
229
  now represented as a `LockHeldInfo` object, rather than a plain
230
  Python dict.
231
  (Martin Pool)
232
5967.4.1 by Martin Pool
Remove unused file_status function
233
* Remove `file_status` function.
234
  (Martin Pool)
235
5972.2.1 by Jelmer Vernooij
Deprecate Repository.iter_reverse_revision_history.
236
* ``Repository.iter_reverse_revision_history`` is now deprecated.
237
  Use ``Graph.iter_lefthand_ancestry`` instead.
238
  (Jelmer Vernooij, #739481)
239
5972.3.11 by Jelmer Vernooij
Deprecate Repository.get_ancestry.
240
* ``Repository.get_ancestry`` has been deprecated. Use
241
  ``Graph.iter_ancestry`` instead.
242
  (Jelmer Vernooij, #784511)
5967.11.3 by Benoît Pierre
Add news entries.
243
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
244
Internals
245
*********
246
247
.. Major internal changes, unlikely to be visible to users or plugin 
248
   developers, but interesting for bzr developers.
249
5853.4.3 by Vincent Ladeuil
Add an option to check-newsbug to get a quicker access to bugs that needs to be closed.
250
* ``tools/check-newsbugs.py`` accepts a ``--browser`` option to open
251
  corresponding launchpad pages in a browser. (Vincent Ladeuil)
252
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
253
Testing
254
*******
255
256
.. Fixes and changes that are only relevant to bzr's test framework and 
257
   suite.  This can include new facilities for writing tests, fixes to 
258
   spurious test failures and changes to the way things should be tested.
259
5956.1.1 by Jelmer Vernooij
Add ImportTariffTestCase.
260
* A `ImportTariffTestCase` base class has been added in
261
  ``bzrlib.tests.test_import_tariff``, which can be used for import tariff
262
  tests in plugins. (Jelmer Vernooij, #793465)
263
5898.2.4 by Andrew Bennetts
Add release-notes entry.
264
* Fix deadlock in `TestImportTariffs.test_simple_serve` when stderr gets
265
  more output than fits in the default buffer.  This was happening on the
266
  Windows buildslave, and could easily happen in other circumstances where
267
  the default OS buffer size for pipes is small or the ``python -v``
5898.2.5 by Andrew Bennetts
Mention bug #784802 in release-notes entry.
268
  output is large.  (Andrew Bennetts, #784802)
5898.2.4 by Andrew Bennetts
Add release-notes entry.
269
5929.1.1 by Vincent Ladeuil
Fix spurious test failure on OSX for WorkingTreeFormat2
270
* Fix spurious test failure on OSX for WorkingTreeFormat2.
271
  (Vincent Ladeuil, #787942)
5939.3.1 by Andrew Bennetts
Don't use real /home/andrew in test_import_tariffs. We can test the real plugins and be properly isolated from the user's config and log.
272
5954.6.1 by Vincent Ladeuil
Rewrite the eager bb.test_merge.TestMerge.test_merge_reversed_revision_range test
273
* Re-target ``bb.test_merge.TestMerge.test_merge_reversed_revision_range``
274
  and rewrite it as a parameterized test to avoid unrelated failures.
275
  (Vincent Ladeuil, #795456)
276
5939.3.3 by Andrew Bennetts
Merge lp:bzr.
277
* Show log file contents from subprocesses started by
278
  `start_bzr_subprocess` in test failure details.  This may help diagnose
279
  strange hangs and failures involving subprocesses.  (Andrew Bennetts)
280
5933.1.2 by Vincent Ladeuil
sphinx-1.0.7 still has bug #785098
281
* Skip ``utextwrap`` tests when ``sphinx`` breaks text_wrap by an hostile
282
  monkeypatch to textwrap.TextWrapper.wordsep_re.
283
  (Vincent Ladeuil, #785098)
284
5924.1.2 by Vincent Ladeuil
Support multiple selftest --exclude options
285
* Multiple ``selftest --exclude`` options are now combined instead of
286
  overriding each other. (Vincent Ladeuil, #746991)
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
287
5947.1.1 by Vincent Ladeuil
Support pyftplib-0.6.0 as an ftp test server
288
* Restore some ``FTPTransport`` test coverage by allowing ``pyftpdlib
289
  0.6.0`` to be used. Also restore ``medusa`` support while leaving it
290
  disabled to make it easier to use if/when we can in the future.
291
  (Vincent Ladeuil, #781140)
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
292
5939.3.1 by Andrew Bennetts
Don't use real /home/andrew in test_import_tariffs. We can test the real plugins and be properly isolated from the user's config and log.
293
* `TestImportTariffs` no longer uses the real ``$HOME``.  This prevents it
294
  from polluting ``$HOME/.bzr.log`` or being accidentally influenced by
295
  user configuration such as aliases.  It still runs with all the user's
296
  plugins enabled, as intended.
297
  (Vincent Ladeuil, Andrew Bennetts, #789505)
298
299
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
300
bzr 2.4b3
301
#########
302
5918.1.1 by Vincent Ladeuil
Release 2.4b3
303
:2.4b3: 2011-05-26
304
305
This is the third beta of the 2.4 series, leading to a 2.4.0 release in
306
August 2011. Beta releases are suitable for everyday use but may cause some
307
incompatibilities with plugins.
308
309
This release includes all bug fixed in previous series known at the time of
310
this release.
311
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
312
313
External Compatibility Breaks
314
*****************************
315
316
.. These may require users to change the way they use Bazaar.
317
5848.2.1 by John Arbash Meinel
Break compatibility with python <2.6.
318
* ``bzr-2.4`` has officially dropped support for python2.4 and python2.5.
319
  We will continue to maintain ``bzr-2.3`` for people who still need to
320
  use those versions of python. (John Arbash Meinel)
321
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
322
New Features
323
************
324
325
.. New commands, options, etc that users may wish to try out.
326
5755.2.5 by John Arbash Meinel
Expose the setting up the stack.
327
* The text compressor used for 2a repositories now has a tweakable
328
  parameter that can be set in bazaar.conf.
329
  ``bzr.groupcompress.max_entries_per_source`` default of 65536.
330
  When doing compression, we build up an index of locations to match
331
  against. Setting this higher will result in slightly better compression,
332
  at a cost of more memory. Note that a value of 65k represents fully
333
  sampling a 1MB file. So this only has an effect when compressing texts
334
  larger than N*16 bytes. (John Arbash Meinel, #602614)
335
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
336
Improvements
337
************
338
339
.. Improvements to existing commands, especially improved performance 
340
   or memory usage, or better results.
341
5816.8.1 by Andrew Bennetts
Be a little more clever about constructing a parents provider for stacked repositories, so that get_parent_map with local-stacked-on-remote doesn't use HPSS VFS calls.
342
* ``bzr branch --stacked`` from a smart server uses the network a little
343
  more efficiently.  For a simple branch it reduces the number of
344
  round-trips by about 20%.  (Andrew Bennetts)
345
5725.1.4 by Neil Martinsen-Burrell
merge bzr.dev, fix release notes conflict
346
* ``bzr log --line`` scales the width of the author field with the size of
347
  the line.  This means that the full author name is shown when the
348
  environment variable BZR_COLUMNS=0.  (Neil Martinsen-Burrell)
349
5847.2.1 by John Arbash Meinel
Bug #780677, use a RevisionTree for pull
350
* ``bzr pull`` now properly triggers the fast
351
  ``CHKInventory.iter_changes`` rather than the slow generic
352
  inter-Inventory changes. It used to use a ``DirStateRevisionTree`` as
353
  one of the source trees, which is faster when we have to read the whole
354
  inventory anyway, but much slower when we can get just the delta out of
355
  the repository. On a 70k record tree, this changes ``bzr pull`` from 28s
356
  down to 17s. (John Arbash Meinel, #780677)
357
5829.1.1 by Andrew Bennetts
Share _group_cache when using GroupCompressVersionedFiles.without_fallbacks, and move _find_parents_keys_of_revisions call to before we clear repo.revisions' cache.
358
* Slightly reduced memory consumption when fetching into a 2a repository
359
  by reusing existing caching a little better.  (Andrew Bennetts)
360
5807.4.10 by John Arbash Meinel
Release-notes about bug #380202
361
* Speed up ``bzr status`` by a little bit when there are a couple of
362
  modified files. We now track how many files we have seen that need
363
  updating, and only rewrite the dirstate file if enough of them have
364
  changed. The default is 10, and can be overridden by setting the branch
365
  option "``bzr.workingtree.worth_saving_limit``".
366
  (Ian Clatworthy, John Arbash Meinel, #380202)
367
5847.4.2 by John Arbash Meinel
uncommit is now down to 2.7s, document it fixing bug #780544
368
* Speed up ``bzr uncommit``. Instead of resetting the dirstate from
369
  scratch, use ``update_basis_by_delta``, computing the delta from the
5847.5.1 by Jelmer Vernooij
Trivial fixes.
370
  repository. (John Arbash Meinel, #780544)
5847.4.2 by John Arbash Meinel
uncommit is now down to 2.7s, document it fixing bug #780544
371
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
372
Bug Fixes
373
*********
374
375
.. Fixes for situations where bzr would previously crash or give incorrect
376
   or undesirable results.
377
5809.3.11 by Aaron Bentley
Update release notes.
378
* All Tree types can now be exported as tar.*, zip or directories.
379
  (Aaron Bentley)
5816.6.19 by A. S. Budden
Merged latest trunk
380
  
5861.1.2 by Vincent Ladeuil
Use positive forms where possible, fix the command help and the user guide.
381
* ``bzr merge --no-remember location`` never sets ``submit_branch``.
382
  (Vincent Ladeuil, #782169)
383
5861.1.11 by Vincent Ladeuil
Add news entry and same comments.
384
* ``bzr pull --no-remember location`` never sets
385
  ``parent_location``.  ``bzr push --no-remember location`` never
386
  sets ``push_location``.  ``bzr send --no-remember
387
  submit_location public_location`` never sets ``submit_branch``
388
  nor ``public_branch``.  (Vincent Ladeuil)
389
5898.1.8 by Martin
Add release notes
390
* Conflicts involving non-ascii filenames are now properly reported rather
391
  than failing with a UnicodeEncodeError. (Martin [GZ], #686161)
392
5816.6.18 by A. S. Budden
Added NEWS item.
393
* Correct parent is now set when using 'switch -b' with bound branches.
394
  (A. S. Budden, #513709)
5809.3.11 by Aaron Bentley
Update release notes.
395
5863.3.5 by Martin
Add release notes
396
* Fix `bzr plugins` regression in bzr 2.4 which resulted in a traceback
397
  from writelines on ckj terminals. (Martin [GZ], #754082)
398
5786.1.4 by John Arbash Meinel
Move the release-notes entry to the correct section.
399
* ``WT.inventory`` and ``WT.iter_entries_by_dir()`` was not correctly
400
  reporting subdirectories that were tree references (in formats that
401
  supported them). (John Arbash Meinel, #764677)
402
5863.5.2 by Jonathan Riddell
add NEWS
403
* Merging into empty branches now gives an error as this is currently
404
  not supported. (Jonathan Riddell, #242175)
5786.1.4 by John Arbash Meinel
Move the release-notes entry to the correct section.
405
5993.1.1 by Vincent Ladeuil
Start implementing command help text localization
406
* Do not show exception to user on pointless commit error.
407
  (Jonathan Riddell #317357)
5786.1.4 by John Arbash Meinel
Move the release-notes entry to the correct section.
408
5876.1.1 by John Arbash Meinel
Fix bug #781168, and allow WT.update_basis_by_delta
409
* ``WT.update_basis_by_delta`` no longer requires that the deltas match
410
  the current WT state. This allows ``update_basis_by_delta`` to be used
5876.1.3 by John Arbash Meinel
Give the performance reason for update-by-delta
411
  by more commands than just commit. Updating with a delta allows us to
412
  not load the whole inventory, which can take 10+s with large trees.
5876.1.1 by John Arbash Meinel
Fix bug #781168, and allow WT.update_basis_by_delta
413
  (Jonathan Riddell, John Arbash Meinel, #781168)
414
5911.1.7 by Benoît Pierre
Move news entry to "bug fix" section and remove "what's new" entry.
415
* ``bzr mv --after old_name new_name`` now works if "new_name" is newly
416
  added. (Benoît Pierre)
417
5786.1.4 by John Arbash Meinel
Move the release-notes entry to the correct section.
418
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
419
Documentation
420
*************
421
422
.. Improved or updated documentation.
423
5860.1.1 by Vincent Ladeuil
Fix some ReST typos in the configuration help and restore the workaround for dotted format names breaking sphinx.
424
* Restore the workaround for option names including dots (--1.14) which was
425
  disabled when we stopped listing --1.9 as a format.
426
  (Vincent Ladeuil, #782289)
427
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
428
API Changes
429
***********
430
431
.. Changes that may require updates in plugins or other code that uses
432
   bzrlib.
433
5815.3.5 by Jelmer Vernooij
Update NEWS.
434
* ``annotate_file`` has been deprecated in favor of
435
  ``annotate_file_revision_tree``. (Jelmer Vernooij, #775598)
436
5852.1.3 by Jelmer Vernooij
Update NEWS.
437
* ``Branch.fetch`` now takes an optional ``limit`` argument.
5852.1.6 by Jelmer Vernooij
Add extra test for Repository.search_missing_revision_ids.
438
  (Andrew Bennetts, Jelmer Vernooij, #750175)
5852.1.3 by Jelmer Vernooij
Update NEWS.
439
5837.1.1 by Jelmer Vernooij
Make Inter.get raise NoCompatibleInter.
440
* ``Inter.get`` now raises ``NoCompatibleInter`` if there are no
441
  compatible optimisers rather than an instance of the class it is called
442
  on. (Jelmer Vernooij)
443
5853.3.1 by Jelmer Vernooij
Update news.
444
* ``Branch.push`` now takes a ``lossy`` argument.
445
  ``Branch.lossy_push`` has been removed.
446
  (Jelmer Vernooij)
447
5815.5.2 by Jelmer Vernooij
Update NEWS.
448
* New method ``Repository.get_file_graph`` which can return the
449
  per-file revision graph. (Jelmer Vernooij, #775578)
450
5718.8.21 by Jelmer Vernooij
add a release note
451
* The default implementation of ``Branch`` is now oriented to
452
  storing the branch tip. Branch implementations which store the full
453
  history should now subclass ``FullHistoryBzrBranch``.
454
  ``Branch._last_revision_info`` has been renamed to
455
  ``Branch._read_last_revision_info`` (Jelmer Vernooij)
456
5837.2.1 by Jelmer Vernooij
Deprecate Tree.__iter__.
457
* ``Tree.__iter__`` has been deprecated; use ``Tree.all_file_ids``
458
  instead.  (Jelmer Vernooij)
459
5858.1.1 by Jelmer Vernooij
Support optional path argument to Tree.get_symlink_target.
460
* ``Tree.get_symlink_target`` now takes an optional ``path``
461
  argument. (Jelmer Vernooij)
462
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
463
Internals
464
*********
465
466
.. Major internal changes, unlikely to be visible to users or plugin 
467
   developers, but interesting for bzr developers.
468
5870.1.25 by Jelmer Vernooij
Update NEWS, pass inventory to file id generator.
469
* ``MutableTree.smart_add`` now uses inventory deltas.
470
  (Jelmer Vernooij, #146165)
471
5915.1.1 by Andrew Bennetts
Removed bzrlib.branch._run_with_write_locked_target. Use bzrlib.cleanup instead.
472
* Removed ``bzrlib.branch._run_with_write_locked_target`` as
473
  ``bzrlib.cleanup`` provides the same functionality in a more general
474
  way.  (Andrew Bennetts)
475
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
476
Testing
477
*******
478
479
.. Fixes and changes that are only relevant to bzr's test framework and 
480
   suite.  This can include new facilities for writing tests, fixes to 
481
   spurious test failures and changes to the way things should be tested.
482
5868.1.3 by Martin
Add release notes
483
* A test that was expected to fail but passes instead now counts as a failure
484
  catching up with new testtools and subunit handling. (Martin [GZ], #654474)
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
485
5865.2.1 by Vincent Ladeuil
Add an helper for per_workingtree scenarios that plugins can reuse
486
* Make it easier for plugins to reuse the per_workingtree scenarios by
487
  restoring the wt_scenarios helper that was accidentally deleted.
488
  (Vincent Ladeuil, #783472)
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
489
5902.1.1 by Martin Pool
Remove dodgy test_breakin tests
490
* Removed ``test_breakin`` tests that were excessively prone to hanging,
491
  did not work on Wine, and partly already disabled.
492
  (Martin Pool, #408814, #746985)
493
5912.3.1 by Vincent Ladeuil
Fix spurious windows-specific test failure
494
* Windows locations are different and should be tested accordingly.
495
  (Vincent Ladeuil, #788131)
496
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
497
bzr 2.4b2
498
#########
499
5811.1.1 by Vincent Ladeuil
Release 2.4b2
500
:2.4b2: 2011-04-28
501
502
This is the second beta of the 2.4 series, leading to a 2.4.0 release in
503
August 2011. Beta releases are suitable for everyday use but may cause some
504
incompatibilities with plugins.
505
506
This release includes all bug fixed in previous series known at the time of
507
this release.
508
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
509
510
External Compatibility Breaks
511
*****************************
512
513
.. These may require users to change the way they use Bazaar.
514
5741.3.2 by Martin Pool
Show a user warning on 'bzr clone' and 'get'
515
* Two command synonyms for ``bzr branch`` have been deprecated, to avoid
516
  confusion and to allow the names to later be reused.  The removed names
517
  are: ``get`` and ``clone``.   (Martin Pool, #506265)
518
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
519
New Features
520
************
521
522
.. New commands, options, etc that users may wish to try out.
523
5777.6.1 by Jelmer Vernooij
Add --lossy option to 'bzr commit'.
524
* ``bzr commit`` now supports a ``--lossy`` argument that can be used
525
  to discard any data that can not be natively represented when committing
526
  to a foreign VCS. (Jelmer Vernooij, #587721)
527
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
528
Improvements
529
************
530
531
.. Improvements to existing commands, especially improved performance 
532
   or memory usage, or better results.
533
5783.2.4 by John Arbash Meinel
release-notes (aka NEWS) about fixing bug #759091
534
* ``bzr merge`` in large trees is now significantly faster. On a 70k entry
5783.3.6 by John Arbash Meinel
Update release notes
535
  tree, the time went from ~3min down to 30s. This also effects ``bzr pull``
536
  and ``bzr update`` since they use the same merge logic to update the
537
  WorkingTree.  (John Arbash Meinel, #759091)
538
539
* ``bzr revert`` now properly uses ``bzr status``'s optimized
540
  ``iter_changes``. This can be a significant performance difference (33s
541
  to 5s on large trees). (John Arbash Meinel, #759096)
5752.5.3 by John Arbash Meinel
release-notes about fixing bug #740932
542
5740.1.1 by John Arbash Meinel
Integrate into bzr-2.4.
543
* Resolve ``lp:FOO`` urls locally rather than doing an XMLRPC request if
544
  the user has done ``bzr launchpad-login``. The bzr+ssh URLs were already
545
  being handed off to the remote server anyway (xmlrpc has been mapping
546
  ``lp:bzr`` to ``bzr+ssh://bazaar.launchpad.net/+branch/bzr``, rather
547
  than ``bzr+ssh://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev`` for a few
548
  months now.) By doing it ourselves, we can cut out substantial startup
549
  time. From Netherlands to London it was taking 368ms to do the XMLRPC
550
  call as much as 2s from Sydney. You can test the local logic by using
551
  ``-Dlaunchpad``.  (John Arbash Meinel, #397739)
552
5783.2.4 by John Arbash Meinel
release-notes (aka NEWS) about fixing bug #759091
553
* When building a new WorkingTree (such as during ``bzr co`` or
554
  ``bzr branch``) we now properly store the stat and hash of files that
555
  are old enough. This saves a fair amount of time on the first
556
  ``bzr status`` (on a 500MB tree, it saves about 30+s).
557
  (John Arbash Meinel, #740932)
558
559
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
560
Bug Fixes
561
*********
562
563
.. Fixes for situations where bzr would previously crash or give incorrect
564
   or undesirable results.
565
5785.1.6 by Martin
Add release notes
566
* Arguments that can't be decoded to unicode in the current posix locale give
567
  a clearer error message without a traceback. (Martin [gz], #745712)
568
5752.3.8 by John Arbash Meinel
Merge bzr.dev 5764 to resolve release-notes (aka NEWS) conflicts
569
* ``bzrlib.log._DEFAULT_REQUEST_PARAMS`` is no longer accidentally
570
  mutated by ``bzrlib.log._apply_log_request_defaults``.  In practice
571
  these default values aren't relied on very often so this probably
572
  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.
573
5728.5.9 by Andrew Bennetts
Merge latest lp:bzr, move our new release notes entries to the current release.
574
* ``bzr log`` now works on revisions which are not in the current branch.
575
  (Matt Giuca, #241998)
576
5807.4.1 by John Arbash Meinel
Merge Ian's work on faster dirstate operations (not writing out new dirstate for uninteresting changes).
577
* Don't rewrite the dirstate file when non-interesting changes have
578
  occurred. This can significantly improve 'bzr status' times when there
579
  are only small changes to a large tree.
580
  (Ian Clatworthy, John Arbash Meinel, #380202)
581
5752.3.8 by John Arbash Meinel
Merge bzr.dev 5764 to resolve release-notes (aka NEWS) conflicts
582
* Lazy hooks are now reset between test runs. (Jelmer Vernooij, #745566)
5691.2.2 by Jelmer Vernooij
Reset hooks between test runs.
583
5783.2.4 by John Arbash Meinel
release-notes (aka NEWS) about fixing bug #759091
584
* ``bzrlib.merge.Merge`` now calls ``iter_changes`` without
585
  ``include_unversioned=True``. This makes it significantly faster in many
586
  cases, because it only looks at modified files, rather than building
587
  information about all files. This can cause failures in other
588
  TreeTransform code, because it had been expecting to know the names of
589
  things which had not changed (such as parent directories). All cases we
590
  know about so far have been fixed, but there may be fallout for edge
591
  cases that we are missing. (John Arbash Meinel, #759091)
592
5807.5.1 by John Arbash Meinel
Fix bug #767177. Be more agressive with file.close() calls.
593
* ``SFTPTransport`` is more pro-active about closing file-handles. This
594
  reduces the chance of having threads fail from async requests while
5807.5.2 by Martin
Cherry-pick correction of bug number
595
  running the test suite. (John Arbash Meinel, #656170)
5807.5.1 by John Arbash Meinel
Fix bug #767177. Be more agressive with file.close() calls.
596
5672.2.3 by Alexander Belchenko
added NEWS item.
597
* Standalone bzr.exe installation on Windows: user can put additional python 
598
  libraries into ``site-packages`` subdirectory of the installation directory,
599
  this might be required for "installing" extra dependencies for some plugins.
600
  (Alexander Belchenko, #743256)
601
5783.3.4 by John Arbash Meinel
Include update in What's New for the performance improvements and bug #759096
602
* ``transform.revert()`` has been updated to use
603
  ``wt.iter_changes(basis_tree)`` rather than
604
  ``basis_tree.iter_changes(wt)``. This allows the optimized code path to
605
  kick in, improving ``bzr revert`` times significantly (33s to 4s on
606
  large trees, 0.7s to 0.3s on small trees.) (John Arbash Meinel, #759096)
607
5752.3.7 by John Arbash Meinel
Update release-notes
608
* ``TreeTransform.create_file/new_file`` can now take an optional ``sha1``
609
  parameter. If supplied, when the transform is applied, it will then call
610
  ``self._tree._observed_sha1`` for those files. This lets us update the
611
  hash-cache for content that we create, preventing us from re-reading the
612
  content in the next ``bzr status``.  (John Arbash Meinel, #740932)
5752.3.1 by John Arbash Meinel
Merge up from 2.4-windows-lfstat
613
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
614
Documentation
615
*************
616
5739.1.1 by Andrew Bennetts
Add release-note.
617
* Added a section about using a shared SSH account on a server for bzr+ssh
618
  access.  (Russell Smith)
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
619
5761.1.1 by Martin Pool
Recommend SSH rather than SFTP in user documentation examples
620
* The documentation now recommends using SSH rather than SFTP in the
621
  tutorials and the examples, because that will generally be much faster
622
  and better in cases where it can be used.  SFTP is still available and
623
  mentioned as an alternative.  (Martin Pool, #636712)
624
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
625
API Changes
626
***********
627
628
.. Changes that may require updates in plugins or other code that uses
629
   bzrlib.
630
5809.2.3 by Jelmer Vernooij
Kill update_revisions private implementation.
631
* ``Branch.update_revisions`` has been made private and should no
632
  longer be used by external users. Use ``Branch.pull`` or ``Branch.push``
5809.2.5 by Jelmer Vernooij
Remove tests related to InterBranch.update_revisions.
633
  instead. (Jelmer Vernooij, #771765)
5809.2.3 by Jelmer Vernooij
Kill update_revisions private implementation.
634
5741.3.1 by Martin Pool
Add Command.invoked_as
635
* Commands now have an `invoked_as` attribute, showing the name under
636
  which they were called before alias expansion.
5741.3.6 by mbp at sourcefrog
merge news
637
  (Martin Pool)
638
5622.3.11 by Jelmer Vernooij
Revert some unnecessary changes.
639
* ``Hooks.create_hook`` is now deprecated in favour of ``Hooks.add_hook``.
640
  (Jelmer Vernooij)
641
5728.4.1 by Martin Pool
bzrlib.initialize now does what you'd expect
642
* If you call `bzrlib.initialize` but forget to enter the resulting object
643
  as a context manager, bzrlib will now be initialized anyhow.
644
  (Previously simple programs calling bzrlib might find the library was
645
  mysteriously silent.)
646
  (Martin Pool)
647
5777.3.4 by Jelmer Vernooij
Add note to release notes, fix PEP8 issue.
648
* Inventory-specific functionality has been split out of ``Tree`` into
649
  a new ``InventoryTree`` class. Tree instances no longer
650
  necessarily provide an ``inventory`` attribute. (Jelmer Vernooij)
651
5793.2.2 by Jelmer Vernooij
Split inventory-specific code out of RevisionTree into InventoryRevisionTree.
652
* Inventory-specific functionality has been split out of ``RevisionTree``
653
  into a new ``InventoryRevisionTree`` class. RevisionTree instances no
654
  longer necessarily provide an ``inventory`` attribute. (Jelmer Vernooij)
655
5622.4.2 by Jelmer Vernooij
Allow uninstalling hooks.
656
* New method ``Hooks.uninstall_named_hook``. (Jelmer Vernooij, #301472)
657
5766.1.1 by Jelmer Vernooij
Make revision-graph-can-have-wrong-parents a repository format attribute rather than a repository method.
658
* ``revision_graph_can_have_wrong_parents`` is now an attribute
659
  on ``RepositoryFormat`` rather than a method on ``Repository``.
660
  (Jelmer Vernooij)
661
5798.1.1 by Jelmer Vernooij
Make Testament take a tree rather than a inventory.
662
* ``Testament`` now takes a ``tree`` rather than an
663
  ``inventory``. (Jelmer Vernooij, #762608)
664
5784.1.2 by Martin Pool
Deprecate, and test, failIfExists and failUnlessExists
665
* ``TestCase.failUnlessExists`` and ``failIfExists`` are deprecated in
666
  favour of ``assertPathExists`` and ``assertPathDoesNotExist`` 
667
  respectively.
668
  (Martin Pool)
669
5728.5.9 by Andrew Bennetts
Merge latest lp:bzr, move our new release notes entries to the current release.
670
* The ``revno`` parameter of ``log.LogRevision`` may now be None,
671
  representing a revision which is not in the current branch.
672
  (Matt Giuca, #241998)
673
5757.1.8 by Jelmer Vernooij
Mention moving of knitpack repo formats in release notes.
674
* The various knit pack repository format classes have been moved
675
  from ``bzrlib.repofmt.pack_repo`` to
676
  ``bzrlib.repofmt.knitpack_repo``. (Jelmer Vernooij)
677
5793.2.4 by Jelmer Vernooij
Add release note.
678
* ``RevisionTree`` now has a new method ``get_file_revision``.
679
  (Jelmer Vernooij)
680
5777.5.2 by Jelmer Vernooij
Split inventory-specific methods and WorkingTree interface method
681
* ``WorkingTree`` no longer provides an ``inventory``. Instead,
682
  all inventory-related functionality is now on the subclass
683
  ``InventoryWorkingTree`` that all native Bazaar working tree
684
  implementations derive from. (Jelmer Vernooij)
685
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
686
Internals
687
*********
688
689
.. Major internal changes, unlikely to be visible to users or plugin 
690
   developers, but interesting for bzr developers.
691
5752.2.11 by John Arbash Meinel
Change the release-notes information for this change.
692
* Added ``osutils.lstat`` and ``osutils.fstat``. These are just the ``os``
693
  functions on Linux, but they are wrapped on Windows so that fstat
694
  matches lstat results across all python versions.
695
  (John Arbash Meinel)
696
5755.1.1 by John Arbash Meinel
Change WT._observed_sha1 to also update st.st_size.
697
* ``WorkingTree._observed_sha1`` also updates the 'size' column. It
698
  happened to be updated as a side-effect of commit, but if we start using
699
  the function elsewhere we might as well do it directly.
700
  (John Arbash Meinel)
701
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
702
Testing
703
*******
704
705
.. Fixes and changes that are only relevant to bzr's test framework and 
706
   suite.  This can include new facilities for writing tests, fixes to 
707
   spurious test failures and changes to the way things should be tested.
708
5784.1.1 by Martin Pool
Stop using failIf, failUnless, etc
709
* Stop using `failIf`, `failUnless`, `failIfEqual`, etc, that give
710
  `PendingDeprecationWarnings` on Python2.7. 
711
  (Martin Pool, #760435)
712
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
713
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
714
bzr 2.4b1
715
#########
716
5811.1.1 by Vincent Ladeuil
Release 2.4b2
717
:2.4b1: 2011-03-17
5726.1.1 by Vincent Ladeuil
Release 2.4b1
718
719
This is the first beta of the 2.4 series, leading up to a 2.4.0
720
release in August 2011.  Beta releases are suitable for everyday use
721
but may cause some incompatibilities with plugins.  Some plugins may need
722
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.
723
724
External Compatibility Breaks
725
*****************************
726
5726.1.1 by Vincent Ladeuil
Release 2.4b1
727
(none)
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
728
729
New Features
730
************
731
5724.2.3 by Andrew Bennetts
Add entries to release-notes and whats-new.
732
* Added ``changelog_merge`` plugin for merging changes to ``Changelog`` files
733
  in GNU format.  See ``bzr help changelog_merge`` for details.
734
  (Andrew Bennetts)
735
  
5676.1.4 by Jelmer Vernooij
merge bzr.dev.
736
* Configuration options can now use references to other options in the same
737
  file by enclosing them with curly brackets (``{other_opt}``). This makes it
738
  possible to use, for example,
739
  ``push_location=lp:~vila/bzr/config-{nickname}`` in ``branch.conf`` when
740
  using a loom. During the beta period, the default behaviour is to disable
741
  this feature. It can be activated by declaring ``bzr.config.expand = True``
742
  in ``bazaar.conf``. (Vincent Ladeuil)
743
5724.2.3 by Andrew Bennetts
Add entries to release-notes and whats-new.
744
* External merge tools can now be configured in bazaar.conf. See
745
  ``bzr help configuration`` for more information.  (Gordon Tyler, #489915)
746
747
* The ``lp:`` directory service now supports Launchpad's QA staging.
748
  (Jelmer Vernooij, #667483)
749
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
750
Improvements
751
************
752
5630.2.8 by John Arbash Meinel
Rename the command to 'repair-workingtree' as mentioned by vila.
753
* 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.
754
  the dirstate file to be rebuilt, rather than using a ``bzr checkout``
755
  workaround. (John Arbash Meinel)
756
5672.1.5 by Andrew Bennetts
Add some tests for RemoteBranch.heads_to_fetch, and add release-note.
757
* Added a ``Branch.heads_to_fetch`` RPC to the smart server protocol.
758
  This allows formats from plugins (such as looms) to efficiently tell the
759
  client which revisions need to be fetched.  (Andrew Bennetts)
760
5535.3.48 by Andrew Bennetts
Add some release notes and what's new entries.
761
* Branching, merging and pulling a branch now copies revisions named in
762
  tags, not just the tag metadata.  (Andrew Bennetts, #309682)
5718.5.24 by Jelmer Vernooij
Add note on gzip mtime on python >= 2.7.
763
5718.5.6 by Jelmer Vernooij
Update NEWS.
764
* ``bzr cat-revision`` no longer requires a working tree.
765
  (Jelmer Vernooij, #704405)
766
5718.5.24 by Jelmer Vernooij
Add note on gzip mtime on python >= 2.7.
767
* ``bzr export --per-file-timestamps`` for .tar.gz files will now
768
  override the mtime for trees exported on Python 2.7 and later, which
769
  expose the 'mtime' field in gzip files. This makes the output of
770
  ``bzr export --per-file-timestamps`` for a particular tree
5718.5.6 by Jelmer Vernooij
Update NEWS.
771
  deterministic.  (Jelmer Vernooij, #711226)
5616.4.1 by Jelmer Vernooij
'bzr cat-revision' no longer requires a working tree.
772
5718.5.7 by Jelmer Vernooij
Support bzr zip exporting to stdout.
773
* ``bzr export --format=zip`` can now export to standard output,
774
  like the other exporters can. (Jelmer Vernooij, #513752)
775
5718.5.17 by Jelmer Vernooij
Support tar.lzma.
776
* ``bzr export`` can now create ``.tar.xz`` and ``.tar.lzma`` files.
5718.5.10 by Jelmer Vernooij
Support creating .tar.xz files.
777
  (Jelmer Vernooij, #551714)
778
5726.2.1 by John Arbash Meinel
Fix bug #737234. Preload all entries for iter_entries_by_dir().
779
* Getting all entries from ``CHKInventory.iter_entries_by_dir()`` has been
780
  sped up dramatically for large trees. Iterating by dir is not the best
781
  way to load data from a CHK inventory, so it preloads all the items in
782
  the correct order. (With the gcc-tree, this changes it (re)reading 8GB
783
  of CHK data, down to just 150MB.) This has noticeable affects for things
784
  like building checkouts, etc.  (John Arbash Meinel, #737234)
785
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
786
Bug Fixes
787
*********
788
5677.2.11 by Martin
Add NEWS
789
* A MemoryError thrown on the server during a remote operation will now be
790
  usefully reported, and other unexpected errors will include the class name.
791
  (Martin [gz], #722416)
792
5638.2.5 by Vincent Ladeuil
Add news entry.
793
* ``bzr annotate -r-1 file`` will now properly annotate a deleted file.
794
  (Andrew King, #537442)
795
5664.2.1 by Jelmer Vernooij
Fix setting of mode on directories in zip files.
796
* ``bzr export`` to zip files will now set a mode on directories.
797
  (Jelmer Vernooij, #207253)
798
5718.5.15 by Jelmer Vernooij
Only write out basename of the tarfile to the gzip file.
799
* ``bzr export`` to tgz files will only write out the basename of the
800
  tarfile to the gzip file. (Jelmer Vernooij, #102234)
801
5611.2.1 by Jelmer Vernooij
Fix 'bzr push --overwrite -rOLD_MAINLINE_REV'.
802
* ``bzr push --overwrite`` with an older revision specified will now correctly
803
  roll back the target branch. (Jelmer Vernooij, #386576)
804
5616.1.1 by Jelmer Vernooij
Support 'bzr lp-propose' without an explicit target branch for packaging branches.
805
* ``bzr lp-propose`` can now propose merges against packaging branches on
5630.1.2 by Vincent Ladeuil
Fix typo.
806
  Launchpad without requiring the target branch to be specified.
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
807
  (Jelmer Vernooij, #704647)
5616.1.1 by Jelmer Vernooij
Support 'bzr lp-propose' without an explicit target branch for packaging branches.
808
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
809
* ``bzr lp-propose`` no longer requires a reviewer to be specified. It will
810
  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.
811
  (Jelmer Vernooij, #583772)
812
5616.6.2 by Jelmer Vernooij
Merge bzr.dev.
813
* ``bzr pull`` will now exit with exit code 1 if there were tag conflicts.
814
  (Jelmer Vernooij, #213185)
815
5609.8.6 by Martin
Add release notes for change
816
* ``bzr mv`` user errors no longer throw UnicodeEncodeError with non-ascii
817
  paths, however they may still print junk if not on a UTF-8 terminal.
818
  (Martin [gz], #707954)
819
5651.5.4 by Andrew Bennetts
Add release note.
820
* ``bzr reconfigure --unstacked`` now copies revisions (and their
821
  ancestors) named in tags into the unstacked repository, not just the
822
  ancestry of the branch's tip.  (Andrew Bennetts, #401646)
823
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
824
* ``bzr serve`` no longer crashes when a server_started hook is installed and
825
  IPv6 support is available on the system. (Jelmer Vernooij, #293697)
826
5802.3.1 by John Arbash Meinel
Fix bug #765881. Having a file added on disk was skipping
827
* ``bzr status`` will not rewrite the dirstate file if it only has
828
  'trivial' changes. (Currently limited to dir updates and newly-added
829
  files changing state.) This saves a bit of time for regular operations.
830
  eg. ``bzr status`` in a 100k tree takes 1.4s to compute the status, but 1s
831
  to re-save the dirstate file. (John Arbash Meinel, #765881)
832
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.
833
* ``bzr tags`` will no longer choke on branches with ghost revisions in
834
  their mainline and tags on revisions not in the branch ancestry. 
835
  (Jelmer Vernooij, #397556)
836
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
837
* ``bzr whoami`` will now display an error if both a new identity and
838
  ``--email`` were specified. (Jelmer Vernooij, #680449)
839
840
* ``launchpadlib`` doesn't provide the ``uris`` module in some old versions.
841
  (Vincent Ladeuil, #706835)
5616.3.1 by Jelmer Vernooij
Print error if both --email and a new identity were specified.
842
5639.2.1 by Martin Pool
Empty entries in the ``NO_PROXY`` variable are no longer treated as matching every host.
843
* Empty entries in the ``NO_PROXY`` variable are no longer treated as matching
844
  every host.
845
  (Martin Pool, #586341)
846
5616.7.9 by Martin Pool
Move release note into the 2.4 file
847
* Plugins incompatible with the current version of bzr no longer produce a
848
  warning on every command invocation.  Instead, a message is shown by
849
  ``bzr plugins`` and in crash reports.
850
  (#704195, Martin Pool)
5616.3.1 by Jelmer Vernooij
Print error if both --email and a new identity were specified.
851
5662.1.2 by Andrew Bennetts
Add release note.
852
* The "pretty" version of ``needs_read_lock`` and ``needs_write_lock`` now
853
  preserves the identity of default parameter values.
854
  (Andrew Bennetts, #718569)
855
5651.2.1 by Eric Siegerman
Fix traceback attempting to "bzr dump-btree --raw btree-with-0-rows".
856
* ``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.
857
  containing no rows. (Eric Siegerman, #715508)
5651.2.1 by Eric Siegerman
Fix traceback attempting to "bzr dump-btree --raw btree-with-0-rows".
858
5657.1.1 by Max Bowsher
Fix bzr lp-mirror to work on command line branch URLs and branches
859
* Fix ``bzr lp-mirror`` to work on command line branch URLs and branches
860
  without an explicit public location. (Max Bowsher)
861
5677.1.1 by Jelmer Vernooij
On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the number of available processors.
862
* On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the
5677.1.4 by Jelmer Vernooij
Add bug #
863
  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.
864
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
865
API Changes
866
***********
867
5742.1.1 by Vincent Ladeuil
Some post-release tweaks.
868
* Added ``Branch.heads_to_fetch`` method.  Implementations of the Branch API
5672.1.2 by Andrew Bennetts
Add API change to release notes.
869
  must now inherit or implement this method.  (Andrew Bennetts, #721328)
870
  
5321.1.117 by Gordon Tyler
Moved mergetools-related NEWS from bzr-2.3.txt to bzr-2.4.txt.
871
* Added ``bzrlib.mergetools`` module with helper functions for working with
872
  the list of external merge tools. (Gordon Tyler, #489915)
873
5670.1.1 by Jelmer Vernooij
Remove all methods and arguments that were deprecated before bzr 2.0.0.
874
* All methods and arguments that were deprecated before 2.0
875
  have been removed. (Jelmer Vernooij)
876
5662.2.5 by Jelmer Vernooij
Update release notes.
877
* Branch formats should now be registered on the format registry
878
  (``bzrlib.branch.format_registry``) rather than using the class
879
  methods on ``BranchFormat``. (Jelmer Vernooij, #714729)
880
5718.7.3 by Jelmer Vernooij
Update NEWS.
881
* ``Branch.set_revision_history`` is now deprecated.
882
  (Jelmer Vernooij)
883
5674.1.2 by Jelmer Vernooij
Update NEWS.
884
* ``BranchFormat.supports_leaving_lock()`` and
885
  ``RepositoryFormat.supports_leaving_lock`` flags have been added.
886
  (Jelmer Vernooij)
887
5535.3.48 by Andrew Bennetts
Add some release notes and what's new entries.
888
* ``Branch.fetch`` implementations must now accept an optional
5741.1.5 by Jelmer Vernooij
Have Branch.fetch() take a fetch_tags argument rather than a fetch_spec argument.
889
  ``fetch_tags`` keyword argument. (Andrew Bennetts)
5535.3.48 by Andrew Bennetts
Add some release notes and what's new entries.
890
891
* ``Branch.import_last_revision_info`` is deprecated.  Use the
892
  ``import_last_revision_info_and_tags`` method instead.
893
  (Andrew Bennetts)
894
5735.1.2 by Jelmer Vernooij
Update release notes.
895
* Because it was too specific to BzrDir implementations,
896
  ``ControlDir.sprout`` no longer has a default implementation; it now
897
  raises ``NotImplementedError``. (Jelmer Vernooij, #717937)
898
5718.9.2 by Jelmer Vernooij
Merge bzr.dev.
899
* ``bzrlib.deprecated_graph`` has been removed. ``bzrlib.graph``
900
  scales better tree and should be used instead.
901
  (Jelmer Vernooij, #733612)
902
5712.3.20 by Jelmer Vernooij
Update release notes.
903
* ``ControlDirFormat.register_format`` has been removed. Instead,
904
  ``Prober`` implementations should now implement a ``known_formats``
905
  method. (Jelmer Vernooij)
5712.3.11 by Jelmer Vernooij
Update release notes.
906
5717.1.3 by Jelmer Vernooij
Rename check_supported to check_status.
907
* ControlDirFormats can now provide a ``check_status`` method and
908
  raise a custom exception or warning when an unsupported or deprecated
909
  format is being opened.  (Jelmer Vernooij, #731311)
5718.9.1 by Jelmer Vernooij
Remove bzrlib.deprecated_graph.
910
5671.5.1 by Jelmer Vernooij
Allow lazily registering possible DWIM revspecs.
911
* ``bzrlib.revionspec.dwim_revspecs`` is deprecated.
912
  Use ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_revspec`` and
913
  ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_lazy_revspec``
914
  instead.  (Jelmer Vernooij, #721971)
915
5673.1.3 by Jelmer Vernooij
Change flexible_components to fixed_components.
916
* ``BzrDirFormat`` has a new attribute ``fixed_components`` that
917
  indicates whether the components of the bzrdir can be upgraded
918
  independent of the ``BzrDir``. (Jelmer Vernooij)
919
5712.3.2 by Jelmer Vernooij
Deprecate BzrProber.{un,}register_format in favour of format registry.
920
* ``BzrProber.register_format`` and ``BzrProber.unregister_format`` are
921
  now deprecated in favour of the ``BzrProber.formats`` format registry.
922
  (Jelmer Vernooij)
923
5726.1.1 by Vincent Ladeuil
Release 2.4b1
924
* ``ControlDir`` implementations no longer have to provide the
925
  ``get_branch_transport``, ``get_workingtree_transport`` and
926
  ``get_repository_transport`` methods.  (Jelmer Vernooij, #730325)
5699.4.4 by Jelmer Vernooij
Update NEWS.
927
5692.1.2 by Jelmer Vernooij
Update release notes.
928
* ``Converter`` has been moved from ``bzrlib.bzrdir`` to
929
  ``bzrlib.controldir``. (Jelmer Vernooij)
930
5676.1.5 by Jelmer Vernooij
Merge control component format registry
931
* Repository formats can now provide
932
  ``_get_extra_interrepo_test_combinations`` in the same module 
933
  to provide extra test combinations for ``bzrlib.tests.per_repository``.
934
  (Jelmer Vernooij)
935
5651.3.8 by Jelmer Vernooij
update NEWS.
936
* Repository formats should now be registered on the format registry
937
  (``bzrlib.repository.format_registry``) rather than using the class
938
  methods on ``RepositoryFormat``. (Jelmer Vernooij)
939
5684.2.1 by Jelmer Vernooij
Add bzrlib.tests.per_repository_vf.
940
* Repository formats can now indicate they do not support the full
941
  VersionedFiles API by setting the ``supports_full_versioned_files``
942
  attribute to False. A subset of the VersionedFiles API
943
  (signatures and text graphs) still needs to be supported.
944
  (Jelmer Vernooij)
945
5675.2.4 by Jelmer Vernooij
Update NEWS.
946
* Repository formats have a new method ``is_deprecated`` that
947
  implementations can override to return True to trigger a deprecation
948
  warning. (Jelmer Vernooij)
949
5536.3.3 by Andrew Bennetts
Merge lp:bzr.
950
* The ``revision_id`` parameter of
951
  ``Repository.search_missing_revision_ids`` and
952
  ``InterRepository.search_missing_revision_ids`` is deprecated.  It is
953
  replaced by the ``revision_ids`` parameter.  (Andrew Bennetts)
954
5662.3.2 by Jelmer Vernooij
Update release notes.
955
* Working tree formats should now be registered on the format registry
956
  (``bzrlib.working_tree.format_registry``) rather than using the class
957
  methods on ``WorkingTreeFormat``. (Jelmer Vernooij, #714730)
958
5957.3.1 by Vincent Ladeuil
Exporting may now be done with a generator
959
* Exporting may now be done with a generator
960
  (``bzrlib.export.get_export_generator``) (Geoff/xaav, #791005)
5952.1.25 by geoffreyfishing at gmail
Updated release notes & What's new.
961
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
962
Internals
963
*********
964
5652.1.3 by Vincent Ladeuil
Add news entry.
965
* ``CatchingExceptionThread`` (formerly ThreadWithException) has been moved
966
  out of the ``bzrlib.tests`` hierarchy to make it clearer that it can be used
967
  outside of tests. This class makes it easier to track exceptions in threads
5742.1.1 by Vincent Ladeuil
Some post-release tweaks.
968
  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.
969
  available in the ``bzrlib.cethread`` module.  (Vincent Ladeuil)
5652.1.3 by Vincent Ladeuil
Add news entry.
970
5698.2.9 by Martin
Add release notes
971
* Correctly propogate malloc failures from diff-delta.c code as MemoryError
972
  so OOM conditions during groupcompress are clearly reported. This entailed a
973
  change to several function signatures. (Martin [gz], #633336)
974
5622.1.1 by Jelmer Vernooij
Allow lazily loading hook callbacks.
975
* ``HookPoint.lazy_hook`` and ``Hooks.install_named_lazy_hook`` can install 
976
  hooks for which the callable is loaded lazily.  (Jelmer Vernooij)
977
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
978
Testing
979
*******
980
5705.1.1 by Vincent Ladeuil
Correctly parse partial range specifiers in the HTTP test server
981
* The Range parsing for HTTP requests will correctly parse incomplete ranges.
982
  (Vincent Ladeuil, #731240)
983
5630.2.1 by John Arbash Meinel
Rough outline of what I'm trying to accomplish, docs, etc.
984
..
985
   vim: tw=74 ft=rst ff=unix