/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Matthäus G. Chajdas
  • Date: 2010-10-12 01:18:01 UTC
  • mto: (5484.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 5485.
  • Revision ID: dev@anteru.net-20101012011801-thahmhfxdzz0j6d4
Remove spaces.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.. contents:: List of Releases
6
6
   :depth: 1
7
7
 
 
8
bzr 2.3b3
 
9
#########
 
10
 
 
11
:2.3b3: NOT RELEASED YET
 
12
 
 
13
Compatibility Breaks
 
14
********************
 
15
 
 
16
New Features
 
17
************
 
18
 
 
19
Bug Fixes
 
20
*********
 
21
 
 
22
Improvements
 
23
************
 
24
 
 
25
Documentation
 
26
*************
 
27
 
 
28
API Changes
 
29
***********
 
30
 
 
31
Internals
 
32
*********
 
33
 
 
34
Testing
 
35
*******
 
36
 
 
37
 
 
38
 
 
39
bzr 2.3b2
 
40
#########
 
41
 
 
42
:2.3b2: 2010-10-08
 
43
 
 
44
Compatibility Breaks
 
45
********************
 
46
 
 
47
* The ``bzr tags`` command sorts tag names using a natural sort by
 
48
  default (so tag2 sorts before tag10).  The previous default was
 
49
  strictly "asciibetical".  That behavior is still available as ``bzr tags
 
50
  --sort=alpha``. (Neil Martinsen-Burrell, #640760)
 
51
 
 
52
New Features
 
53
************
 
54
 
 
55
* Add ``mainline`` revision specifier, which selects the revision that
 
56
  merged a specified revision into the mainline.  (Aaron Bentley)
 
57
 
 
58
* Add ``annotate`` revision specifier, which selects the revision that
 
59
  introduced a specified line of a file.  (Aaron Bentley)
 
60
 
 
61
* ``bzr status`` now displays a summary of existing shelves after
 
62
  the other status information. This is done using a ``post_status``
 
63
  hook.
 
64
  (Parth Malwankar, #403687)
 
65
 
 
66
* GNU lsh is now a supported lsh client; just set BZR_SSH to 'lsh'.
 
67
  Also, bzr will recognize if the 'ssh' comand is a symlink to lsh.
 
68
  (Matthew Gordon, #374700)
 
69
 
 
70
* The ``pull`` and ``update`` commands now take a ``-show-base``
 
71
  option that, in the case of conflicts, shows the base revision text.
 
72
  (Rory Yorke,  #202374)
 
73
 
 
74
Bug Fixes
 
75
*********
 
76
 
 
77
* Always set PATH in start_bzr.bat on Windows.
 
78
  (Matthäus G. Chajdas, #470264)
 
79
 
 
80
* ``bzr break-lock --force`` breaks the lock without prompting.  (Before
 
81
  using this, make sure the process holding the lock really is dead.)
 
82
  (Martin Pool, #397315)
 
83
 
 
84
* Don't force openssh to use protocol=2, since that is now the default.
 
85
  (Neil Martinsen-Burrell, #561061)
 
86
 
 
87
* Fix signature of RemoteBzrDir.create_workingtree to match that of its
 
88
  superclass.  (Neil Martinsen-Burrell, Martin Pool, #524627)
 
89
 
 
90
* Fix traceback with python-2.7's xmlrpclib
 
91
  (Toshio Kuratomi, #612096)
 
92
 
 
93
* Print junk rather than throwing a UnicodeDecodeError from ``bzr version-info``
 
94
  when using the rio format (with non-ascii information) on a non-utf-8 terminal.
 
95
  (Andrej A Antonov, #518609)
 
96
 
 
97
* Skip tests that needs a bzr source tree when there isn't one. This is
 
98
  needed to succesfully run the test suite for installed versions.
 
99
  (Vincent Ladeuil, #644855).
 
100
 
 
101
* Skip the tests that requires respecting the chmod bits when running as root.
 
102
  (Vincent Ladeuil, #646133)
 
103
 
 
104
* Treat all IO, OS, and socket errors consistently when establishing
 
105
  SSH/SFTP connections via a subprocess.  (Andrew Bennetts)
 
106
 
 
107
* ``unshelve --preview`` now can show diff in a non-ascii encoding.
 
108
  (Andrej A Antonov, #518916)
 
109
 
 
110
Improvements
 
111
************
 
112
 
 
113
* ``bzr remove`` now takes a ``--no-backup`` option for when you don't want it
 
114
  to backup anything, just delete it. This option used to be called ``--force``
 
115
  which is now deprecated.
 
116
  (Marius Kruger, #400554)
 
117
 
 
118
Documentation
 
119
*************
 
120
 
 
121
* Provide more detailed help on the Launchpad plugin at "bzr help
 
122
  plugins/launchpad".  (Neil Martinsen-Burrell, #589379)
 
123
 
 
124
* Suggest ``bzr revert`` for restoring locally deleted files in help text
 
125
  for ``bzr update``.  (John C Barstow, #191466)
 
126
 
 
127
API Changes
 
128
***********
 
129
 
 
130
* ``WorkingTree`` methods ``pull``, ``update``, and ``_update_tree``
 
131
  now have an optional argument, ``show_base``, which is by default
 
132
  False.  This is flag is ultimately passed to ``merge.merge_inner``
 
133
  in each case. (Rory Yorke, #202374)
 
134
 
 
135
Internals
 
136
*********
 
137
 
 
138
* Small change to GroupCompressBlock to work more in terms of 'chunks'
 
139
  rather than 'content' for its compressed storage. (John Arbash Meinel)
 
140
 
 
141
* When running ``bzr selftest --subunit`` the subunit stream will no
 
142
  longer include the "log" information for tests which are considered to
 
143
  be 'successes' (success, xfail, skip, etc) (John Arbash Meinel)
 
144
 
 
145
Testing
 
146
*******
 
147
 
 
148
* Add ``tests/ssl_certs/ca.crt`` to the required test files list. Test
 
149
  involving the pycurl https test server fail otherwise when running
 
150
  selftest from an installed version. (Vincent Ladeuil, #651706)
 
151
 
 
152
* Fix tests that failed when run under ``LANG=C``.
 
153
  (Andrew Bennetts, #632387)
 
154
 
 
155
* Suppress the "maximum recursion depth exceeded in __subclasscheck__"
 
156
  warning on stderr emitted during ``test_dict_deepnested`` in
 
157
  ``bzrlib/tests/test__bencode.py``.  (Andrew Bennetts)
 
158
 
 
159
* Use tests.TestCaseInTempDir for tests that requires disk resources.
 
160
  (Vincent Ladeuil, #650001)
 
161
 
 
162
bzr 2.3b1
 
163
#########
 
164
 
 
165
:2.3b1: 2010-09-20
 
166
 
 
167
This is the first beta of the 2.3 series, leading up to a 2.3.0
 
168
release in January or February.  Beta releases are suitable for everyday use
 
169
but may cause some incompatibilities with plugins.  Some plugins may need
 
170
small updates to work with 2.3b1.
 
171
 
 
172
2.3b1 includes some performance improvements in both speed and memory
 
173
consumption, some preliminary support for generating a texinfo version of
 
174
the doc and better support for launchpad.  Many changes were made to make
 
175
our test suite more robust as well as numerous documentation fixes.  It
 
176
improves the common infrastructure for dealing with colocated named
 
177
branches and foreign branches.  We plan to continue with these themes
 
178
through the 2.3 series.
 
179
 
 
180
It also includes bug fixes for 2.0.6, 2.1.3 and 2.2.1 and over 40 fixes of
 
181
its own.
 
182
 
 
183
 
 
184
Compatibility Breaks
 
185
********************
 
186
 
 
187
* BzrError subclasses no longer support the name "message" to be used
 
188
  as an argument for __init__ or in _fmt format specification as this
 
189
  breaks in some Python versions. errors.LockError.__init__ argument
 
190
  is now named "msg" instead of earlier "message".
 
191
  (Parth Malwankar, #603461)
 
192
 
 
193
* Additional merges after an unrelated branch has been merged with its
 
194
  history no longer crash when deleted files are involved.
 
195
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
196
 
 
197
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
198
  previously-unversioned directory within the tree: the directory is
 
199
  marked versioned too.
 
200
  (Martin Pool, #192859)
 
201
 
 
202
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
203
  target of the symlink.
 
204
  (Martin Pool, John Arbash Meinel, #128562)
 
205
 
 
206
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
207
  permissions as ``.bzr`` directory on a POSIX OS.
 
208
  (Parth Malwankar, #262450)
 
209
 
 
210
* ``bzrlib.transform.TreeTransformBase.final_kind``,
 
211
  ``bzrlib.transform.TreeTransform.tree_kind`` and
 
212
  ``bzrlib.transform.TransformPreview.tree_kind`` now return None instead
 
213
  of raising NoSuchFile.  (Vincent Ladeuil)
 
214
 
 
215
* CommitBuilder now uses the committer instead of _config.username to generate
 
216
  the revision-id.  (Aaron Bentley, #614404)
 
217
 
 
218
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
219
  way which should help avoid problems with concurrent writers.
 
220
  (Vincent Ladeuil, #525571)
 
221
 
 
222
* `ControlDirFormat` and  `ControlDir` have been split out of `BzrDirFormat`
 
223
  and `BzrDir`, respectively. `ControlDirFormat`
 
224
  and `ControlDir` should be used as the base classes for new non-.bzr
 
225
  implementations.
 
226
 
 
227
  `BzrDirFormat.register_control_format` has been renamed to
 
228
  `ControlDirFormat.register_format`.
 
229
 
 
230
  `BzrDirFormat.register_server_control_format` has been removed.
 
231
 
 
232
  Probing for control directories is now done by separate objects derived
 
233
  from `bzrlib.controldir.Prober` and registered using
 
234
  `bzrlib.controldir.ControlDirFormat.register_prober` or
 
235
  `bzrlib.controldir.ControlDirFormat.register_server_prober`.
 
236
  `BzrDirFormat.probe_transport` has been moved onto `Prober`.
 
237
 
 
238
  `BzrDirFormat.register_format` has been renamed to
 
239
  `BzrProber.register_bzrdir_format`.
 
240
 
 
241
  `bzrlib.bzrdir.network_format_registry` has been moved to
 
242
  `bzrlib.controldir`.
 
243
 
 
244
  (Jelmer Vernooij)
 
245
 
 
246
* Cope with Microsoft FTP server that returns reply '250 Directory
 
247
  created' when mkdir succeeds.  (Martin Pool, #224373)
 
248
 
 
249
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
250
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
251
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
252
  
 
253
* `decode` parameter to get() method in FtpTransport and GioTransport classes
 
254
  is deprecated. (Alexander Belchenko)
 
255
 
 
256
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
 
257
  longer raised.
 
258
  (Martin Pool)
 
259
 
 
260
* Fix ``AttributeError on parent.children`` when adding a file under a
 
261
  directory that was a symlink in the previous commit.
 
262
  (Martin Pool, #192859)
 
263
 
 
264
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
 
265
  ``_close_ssh_proc`` when using ``bzr+ssh://``.  This was causing
 
266
  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
 
267
  stderr in some other circumstances.  (Andrew Bennetts, #633745)
 
268
 
 
269
* Only call ``setlocale`` in the bzr startup script on posix systems. This
 
270
  avoids an issue with the newer windows C runtimes used by Python 2.6 and
 
271
  later which can mangle bytestrings printed to the console.
 
272
  (Martin [gz], #631350)
 
273
 
 
274
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
275
  which can result in "missing referenced chk root keys" errors when
 
276
  fetching from repositories with affected revisions.
 
277
  (Andrew Bennetts, #522637)
 
278
 
 
279
* Raise ValueError instead of a string exception.
 
280
  (John Arbash Meinel, #586926)
 
281
 
 
282
* Reduce peak memory by one copy of compressed text.
 
283
  (John Arbash Meinel, #566940)
 
284
 
 
285
* Repositories accessed via a smart server now reject being stacked on a
 
286
  repository in an incompatible format, as is the case when accessing them
 
287
  via other methods.  This was causing fetches from those repositories via
 
288
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
289
  (Andrew Bennetts, #562380)
 
290
 
 
291
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
292
  error. This error was caused by 2.0 not being updated when upstream
 
293
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
294
  ``done``. (Robert Collins, #571437)
 
295
 
 
296
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
 
297
  being thrown from ``xml_serializer`` on certain cElementTree setups.
 
298
  (Martin [gz], #254278)
 
299
 
 
300
* The old ``bzr selftest --benchmark`` option has been removed.
 
301
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
302
  macrobenchmark suite.
 
303
  (Martin Pool)
 
304
 
 
305
* `tree_files` and `internal_tree_files` are now deprecated in favor of
 
306
  `WorkingTree.open_containing_paths`.
 
307
  (Martin Pool)
 
308
 
 
309
* Upgrading or fetching from a non-rich-root repository to a rich-root
 
310
  repository (e.g. from pack-0.92 to 2a) no longer fails with
 
311
  ``'Inter1and2Helper' object has no attribute 'source_repo'``.  This was
 
312
  a regression from Bazaar 2.1.  (Andrew Bennetts, #636930)
 
313
  
 
314
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
315
  directory file handle after the chdir fails. Otherwise when passing many
 
316
  filenames into a command line ``bzr status`` we would leak descriptors.
 
317
  (John Arbash Meinel, #583486)
 
318
 
 
319
New Features
 
320
************
 
321
 
 
322
* Added ``pre_status`` and ``post_status`` hooks. This allows plugins
 
323
  to register custom handlers which will be invoked before/after the
 
324
  standard status output is displayed. (Parth Malwankar)
 
325
 
 
326
* ``bzr break-lock --config [location]`` can now break config files
 
327
  locks. (Vincent Ladeuil, #525571)
 
328
 
 
329
* ``bzrlib.config.LockableConfig`` is a base class for config files that
 
330
  needs to be protected against multiple writers. All methods that
 
331
  change a configuration variable value must be decorated with
 
332
  @needs_write_lock (set_option() for example).
 
333
  (Vincent Ladeuil,  #525571)
 
334
 
 
335
* The ``lp:`` prefix will now use your known username (from
 
336
  ``bzr launchpad-login``) to expand ``~`` to your username.  For example:
 
337
  ``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
 
338
  push to ``lp:~user/project/branch``.  (John Arbash Meinel)
 
339
 
 
340
* New development format ``development8-subtree`` which is similar to the 
 
341
  ``2a`` format and adds subtree support. (Jelmer Vernooij)
 
342
 
 
343
Bug Fixes
 
344
*********
 
345
 
 
346
* Allow using both --using and --diff-options. 
 
347
  (Matthäus G. Chajdas, #234708)
 
348
 
 
349
* Allow using non-integer bug ID with generic bug trackers.
 
350
  (Alexandre Garnier, #440472)
 
351
 
 
352
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
353
  previously-unversioned directory within the tree: the directory is
 
354
  marked versioned too.  
 
355
  (Martin Pool, #192859)
 
356
 
 
357
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
358
  ``InvalidPattern`` exception error message now shows faulting
 
359
  regular expression.
 
360
  (Parth Malwankar #300062)
 
361
 
 
362
* ``clean-tree`` issues a warning if it is unable to delete a file
 
363
  due to ``errno.EACCES`` instead of exiting with an error on Windows.
 
364
  (Parth Malwankar, #430785)
 
365
 
 
366
* CommitBuilder now uses the committer instead of _config.username to generate
 
367
  the revision-id.  (Aaron Bentley, #614404)
 
368
 
 
369
* Configuration files in ``${BZR_HOME}`` are now protected against
 
370
  concurrent writers by using a lock. (Vincent Ladeuil, #525571)
 
371
 
 
372
* Cope with Microsoft FTP Server and VSFTPd that return reply '250
 
373
  Directory created' when mkdir succeeds.  (Martin Pool, #224373)
 
374
 
 
375
* Decrease peak memory during ``bzr send``. The old code was caching all
 
376
  text content and all inventory strings for all revisions before
 
377
  computing the diffs. Now we only cache as long as there is a child that
 
378
  will need them. Sending 2000 bzr revisions drops from 1.2GB peak to
 
379
  256MB peak. (John Arbash Meinel, #614576)
 
380
 
 
381
* Don't print internal object name when print an invalid revision spec
 
382
  error.  (Neil Martinsen-Burrell, #598701)
 
383
 
 
384
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
385
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
386
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
387
  
 
388
* ``EPIPE`` can be raised during test server shutdown. This happened on
 
389
  gentoo only so far. (Vincent Ladeuil, #627277)
 
390
 
 
391
* Errors occurring during http(s) test server starts should now be
 
392
  handled cleanly. (Vincent Ladeuil, #392402)
 
393
 
 
394
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
395
  directory that was a symlink in the previous commit.
 
396
  (Martin Pool, #192859)
 
397
 
 
398
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
 
399
  ``_close_ssh_proc`` when using ``bzr+ssh://``.  This was causing
 
400
  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
 
401
  stderr in some other circumstances.  (Andrew Bennetts, #633745)
 
402
 
 
403
* Fix spurious paramiko warning on hardy by ensuring that ``selftest``
 
404
  properly remove its warning filter. (Vincent Ladeuil, #625686)
 
405
 
 
406
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
 
407
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
408
 
 
409
* Most of the leaked threads during selftest are now fixed, allowing the
 
410
  full test suite to pass on gentoo.
 
411
  (Vincent Ladeuil, #392127)
 
412
 
 
413
* Only call ``setlocale`` in the bzr startup script on posix systems. This
 
414
  avoids an issue with the newer windows C runtimes used by Python 2.6 and
 
415
  later which can mangle bytestrings printed to the console.
 
416
  (Martin [gz], #631350)
 
417
 
 
418
* `PathNotChild` should not give a traceback.
 
419
  (Martin Pool, #98735)
 
420
 
 
421
* ``PQM`` will no longer ignore syntax errors in submissions.
 
422
  (Vincent Ladeuil, #626667)
 
423
 
 
424
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
425
  which can result in "missing referenced chk root keys" errors when
 
426
  fetching from repositories with affected revisions.
 
427
  (Andrew Bennetts, #522637)
 
428
 
 
429
* strace test-helper tests cope with the new Ubuntu policy of not allowing
 
430
  users to attach to their own processes by default.
 
431
  (Martin Pool, #626679)
 
432
 
 
433
* Test classes like ``TestCase``, ``TestLoader``, and ``TestSuite`` should
 
434
  be available from ``bzrlib.tests.*``. They used to be, but were
 
435
  accidentally removed. (John Arbash Meinel, #627438)
 
436
 
 
437
* ``Transport.stat`` on a symlink, including a transport pointing directly
 
438
  to a symlink, now returns information about the symlink.
 
439
  (Martin Pool)
 
440
 
 
441
* Upgrading or fetching from a non-rich-root repository to a rich-root
 
442
  repository (e.g. from pack-0.92 to 2a) no longer fails with
 
443
  ``'Inter1and2Helper' object has no attribute 'source_repo'``.
 
444
  (Andrew Bennetts, #636930)
 
445
  
 
446
* Wait for the SSH server to actually finish, rather than just waiting for
 
447
  it to negotiate the key exchange. (John Arbash Meinel, #626876)
 
448
 
 
449
Improvements
 
450
************
 
451
 
 
452
* ``bzr remove`` now just backs up changed files instead of exiting,
 
453
  forcing you to choose to either keep or delete them. Bazaar will now delete
 
454
  the files if they can easily be recovered using revert, otherwise they
 
455
  will be backed up (adding an extention of the form .~#~).
 
456
  (Marius Kruger, #400554)
 
457
 
 
458
* ``bzr revert`` and ``bzr status`` are up to 15% faster on large trees
 
459
  with many changes by not repeatedly building a list of all file-ids.
 
460
  (Andrew Bennetts)
 
461
 
 
462
* Decrease memory consumption when many chk index pages are loaded. (Such
 
463
  as during ``bzr co`` or ``bzr ls -R`` of a large tree.) Often we need to
 
464
  read many chk pages because the individual chk map nodes will be spread
 
465
  randomly. Peak memory for 'bzr ls -R' on a large tree dropped from 396MB
 
466
  down to 247MB, expect even more significant savings on 64-bit platforms.
 
467
  (John Arbash Meinel)
 
468
 
 
469
* ``DirState`` internals use a little bit less memory. For bzr.dev it
 
470
  drops the memory from 1MB down to about 800kB. And replaces a few
 
471
  thousand tuples and sets with StaticTuple.  (John Arbash Meinel)
 
472
 
 
473
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
 
474
  have dropped from 68 bytes to 40, and directory entries from 120 bytes
 
475
  to 48).  (Andrew Bennetts)
 
476
 
 
477
* When building new working trees, default to reading from the repository
 
478
  rather than the source tree unless explicitly requested. (via
 
479
  ``--files-from`` and ``--hardlink`` for ``bzr branch`` and
 
480
  ``bzr checkout``. Generally, 2a format repositories extract
 
481
  content faster than seeking and reading content from another tree,
 
482
  especially in cold-cache situations. (John Arbash Meinel, #607298)
 
483
 
 
484
* Add ``__pycache__`` to the default ``ignores`` file. Future releases of
 
485
  Python will use this directory to store bytecodes.
 
486
  (Andrea Corbellini, #626687)
 
487
 
 
488
Documentation
 
489
*************
 
490
 
 
491
* Added a builder/writer sphinx extension that can generate texinfo files. The
 
492
  generated files are syntactically correct but the info navigation nodes
 
493
  needs more work. (Vincent Ladeuil, #219334)
 
494
 
 
495
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
 
496
  to make the tests conditional.
 
497
  (Vincent Ladeuil)
 
498
 
 
499
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
 
500
  the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
 
501
  (John Arbash Meinel, #617503)
 
502
 
 
503
API Changes
 
504
***********
 
505
 
 
506
* Configuration files should now use the ``from_string`` constructor rather
 
507
  than the ``file`` parameter of the ``_get_parser`` method. The later has
 
508
  been deprecated. ``from_string`` also accept a ``save=True`` parameter to
 
509
  have the configuration file immediately written to disk. 
 
510
  (Vincent Ladeuil)
 
511
 
 
512
* Deprecate treating a `PushResult` and `PullResult` as an integer for the
 
513
  relative change in revno.
 
514
  (Martin Pool)
 
515
  `
 
516
* ``IniBaseConfig`` objects should now use the ``from_string`` constructor
 
517
  the rather than the ``file`` parameter of the ``_get_parser`` method. The
 
518
  later has been deprecated. (Vincent Ladeuil)
 
519
 
 
520
* InventoryEntry instances now raise AttributeError if you try to assign
 
521
  to attributes that are irrelevant to that kind of entry.  e.g. setting
 
522
  ``symlink_target`` on an InventoryFile will fail.  It is still okay to
 
523
  read those attributes on any kind of InventoryEntry.  The complete list
 
524
  of affected attributes is: ``executable``, ``text_id``, ``text_sha1``,
 
525
  ``text_size`` (only valid for kind == file); ``symlink_target`` (only
 
526
  valid for kind == link); and ``reference_revision`` (only valid for kind
 
527
  == tree-reference).  (Andrew Bennetts)
 
528
 
 
529
* InventoryEntry objects no longer have ``_put_in_tar`` or
 
530
  ``_put_on_disk`` methods.  (Andrew Bennetts)
 
531
 
 
532
* The ``get_filename`` parameter in the ``config.IniBaseConfig``
 
533
  constructor has been deprecated, use the ``file_name`` parameter instead.
 
534
  (Vincent Ladeuil)
 
535
 
 
536
Internals
 
537
*********
 
538
 
 
539
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
 
540
  (Andrew Bennetts)
 
541
 
 
542
Testing
 
543
*******
 
544
 
 
545
* ``build_tree_contents`` can create symlinks.
 
546
  (Martin Pool, John Arbash Meinel)
 
547
 
 
548
* Catch socket errors to avoid
 
549
  bt.test_sftp_transport.SSHVendorBadConnection.test_bad_connection_ssh
 
550
  random failures. (Vincent Ladeuil, #601804)
 
551
 
 
552
* HTTP test servers will leak less threads (and sockets) and will not hang on
 
553
  AIX anymore. (Vincent Ladeuil, #405745)
 
554
 
 
555
* On platforms that don't support forking give a nice error message saying so
 
556
  when ``bzr selftest --parallel=fork`` is used. (Martin [gz], #528730)
 
557
 
 
558
* Rearrange thread leak detection code to eliminate global state and make it
 
559
  possible to extend the reporting. (Martin [gz], #633462)
 
560
 
 
561
* The test suite now simply holds log files in memory, rather than writing them
 
562
  out to disk and then reading them back in and deleting them.
 
563
  (Andrew Bennetts)
 
564
 
 
565
* The way ``bzr selftest --parallel`` generates N partitions of tests to
 
566
  run in parallel has changed.  Instead of splitting the list of tests at
 
567
  N-1 points, it distributes the tests one-by-one into the partitions in a
 
568
  round robin fashion.  This reduces the total time to run the tests in
 
569
  parallel because a series of slow tests in the test suite will be
 
570
  distributed evenly among the parallel test suites, rather than slowing
 
571
  down just one suite.  (Andrew Bennetts)
 
572
 
 
573
* Tracebacks from a parameterized test are no longer reported against every
 
574
  parameterization of that test.  This was done by adding a hack to
 
575
  ``bzrlib.tests.clone_test`` so that it no longer causes
 
576
  testtools.TestCase instances to share a details dict.
 
577
  (Andrew Bennetts, #625574)
 
578
 
 
579
 
 
580
bzr 2.2.2
 
581
#########
 
582
 
 
583
:2.2.2: NOT RELEASED YET
 
584
 
 
585
Compatibility Breaks
 
586
********************
 
587
 
 
588
New Features
 
589
************
 
590
 
 
591
Bug Fixes
 
592
*********
 
593
 
 
594
* Skip tests that needs a bzr source tree when there isn't one. This is
 
595
  needed to succesfully run the test suite for installed versions.
 
596
  (Vincent Ladeuil, #644855).
 
597
 
 
598
* Skip the tests that requires respecting the chmod bits when running as
 
599
  root. Including the one that wasn't present in 2.1.
 
600
  (Vincent Ladeuil, #646133)
 
601
 
 
602
* Using bzr with `lp:` urls behind an http proxy should work.
 
603
  (Robert Collins, #558343)
 
604
 
 
605
Improvements
 
606
************
 
607
 
 
608
Documentation
 
609
*************
 
610
 
 
611
API Changes
 
612
***********
 
613
 
 
614
Internals
 
615
*********
 
616
 
 
617
Testing
 
618
*******
 
619
 
 
620
* Add ``tests/ssl_certs/ca.crt`` to the required test files list. Test
 
621
  involving the pycurl https test server fail otherwise when running
 
622
  selftest from an installed version. (Vincent Ladeuil, #651706)
 
623
 
 
624
* Fix tests that failed when run under ``LANG=C``.
 
625
  (Andrew Bennetts, #632387)
 
626
 
 
627
 
 
628
bzr 2.2.1
 
629
#########
 
630
 
 
631
:2.2.1: 2010-09-17
 
632
 
 
633
This is a bugfix release which also includes bugfixes from 2.0.6 and
 
634
2.1.3. None are critical, but upgrading is recommended for all users on
 
635
earlier 2.2 releases.
 
636
 
 
637
Bug Fixes
 
638
*********
 
639
 
 
640
* Additional merges after an unrelated branch has been merged with its
 
641
  history no longer crash when deleted files are involved.
 
642
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
643
 
 
644
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
645
  previously-unversioned directory within the tree: the directory is
 
646
  marked versioned too.
 
647
  (Martin Pool, #192859)
 
648
 
 
649
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
650
  target of the symlink.
 
651
  (Martin Pool, John Arbash Meinel, #128562)
 
652
 
 
653
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
654
  permissions as ``.bzr`` directory on a POSIX OS.
 
655
  (Parth Malwankar, #262450)
 
656
 
 
657
* CommitBuilder now uses the committer instead of _config.username to generate
 
658
  the revision-id.  (Aaron Bentley, #614404)
 
659
 
 
660
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
661
  way which should help avoid problems with concurrent writers.
 
662
  (Vincent Ladeuil, #525571)
 
663
 
 
664
* Cope with Microsoft FTP server that returns reply '250 Directory
 
665
  created' when mkdir succeeds.  (Martin Pool, #224373)
 
666
 
 
667
* Don't traceback trying to unversion children files of an already
 
668
  unversioned directory.  (Vincent Ladeuil, #494221)
 
669
 
 
670
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
671
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
672
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
673
  
 
674
* Fix ``AttributeError on parent.children`` when adding a file under a
 
675
  directory that was a symlink in the previous commit.
 
676
  (Martin Pool, #192859)
 
677
 
 
678
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
 
679
  ``_close_ssh_proc`` when using ``bzr+ssh://``.  This was causing
 
680
  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
 
681
  stderr in some other circumstances.  (Andrew Bennetts, #633745)
 
682
 
 
683
* Only call ``setlocale`` in the bzr startup script on posix systems. This
 
684
  avoids an issue with the newer windows C runtimes used by Python 2.6 and
 
685
  later which can mangle bytestrings printed to the console.
 
686
  (Martin [gz], #631350)
 
687
 
 
688
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
689
  which can result in "missing referenced chk root keys" errors when
 
690
  fetching from repositories with affected revisions.
 
691
  (Andrew Bennetts, #522637)
 
692
 
 
693
* Raise ValueError instead of a string exception.
 
694
  (John Arbash Meinel, #586926)
 
695
 
 
696
* Reduce peak memory by one copy of compressed text.
 
697
  (John Arbash Meinel, #566940)
 
698
 
 
699
* Repositories accessed via a smart server now reject being stacked on a
 
700
  repository in an incompatible format, as is the case when accessing them
 
701
  via other methods.  This was causing fetches from those repositories via
 
702
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
703
  (Andrew Bennetts, #562380)
 
704
 
 
705
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
706
  error. This error was caused by 2.0 not being updated when upstream
 
707
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
708
  ``done``. (Robert Collins, #571437)
 
709
 
 
710
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
 
711
  being thrown from ``xml_serializer`` on certain cElementTree setups.
 
712
  (Martin [gz], #254278)
 
713
 
 
714
* Upgrading or fetching from a non-rich-root repository to a rich-root
 
715
  repository (e.g. from pack-0.92 to 2a) no longer fails with
 
716
  ``'Inter1and2Helper' object has no attribute 'source_repo'``.  This was
 
717
  a regression from Bazaar 2.1.  (Andrew Bennetts, #636930)
 
718
  
 
719
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
720
  directory file handle after the chdir fails. Otherwise when passing many
 
721
  filenames into a command line ``bzr status`` we would leak descriptors.
 
722
  (John Arbash Meinel, #583486)
 
723
 
 
724
Documentation
 
725
*************
 
726
 
 
727
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
 
728
  the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
 
729
  (John Arbash Meinel, #617503)
 
730
 
 
731
Internals
 
732
*********
 
733
 
 
734
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
 
735
  (Andrew Bennetts)
 
736
 
 
737
Testing
 
738
*******
 
739
 
 
740
* ``build_tree_contents`` can create symlinks.
 
741
  (Martin Pool, John Arbash Meinel)
 
742
 
 
743
* Tracebacks from a parameterized test are no longer reported against every
 
744
  parameterization of that test.  This was done by adding a hack to
 
745
  ``bzrlib.tests.clone_test`` so that it no longer causes
 
746
  testtools.TestCase instances to share a details dict.
 
747
  (Andrew Bennetts, #625574)
 
748
 
 
749
 
 
750
bzr 2.1.4
 
751
#########
 
752
 
 
753
:2.1.4: NOT RELEASED YET
 
754
 
 
755
Compatibility Breaks
 
756
********************
 
757
 
 
758
New Features
 
759
************
 
760
 
 
761
Bug Fixes
 
762
*********
 
763
 
 
764
* Skip tests that needs a bzr source tree when there isn't one. This is
 
765
  needed to succesfully run the test suite for installed versions.
 
766
  (Vincent Ladeuil, #644855).
 
767
 
 
768
* Skip the tests that requires respecting the chmod bits when running as root.
 
769
  (Vincent Ladeuil, #646133)
 
770
 
 
771
* Using bzr with `lp:` urls behind an http proxy should work.
 
772
  (Robert Collins, #558343)
 
773
 
 
774
Improvements
 
775
************
 
776
 
 
777
Documentation
 
778
*************
 
779
 
 
780
API Changes
 
781
***********
 
782
 
 
783
Internals
 
784
*********
 
785
 
 
786
Testing
 
787
*******
 
788
 
 
789
 
 
790
bzr 2.1.3
 
791
#########
 
792
 
 
793
:Codename: Do run run
 
794
:2.1.3: 2010-09-17
 
795
 
 
796
The third release in our 2.1 series addresses several user-inconvenience bugs
 
797
(and includes the fixes done in 2.0.6).  None are critical, but upgrading is
 
798
recommended for all users on earlier 2.1 releases.
 
799
 
 
800
Bug Fixes
 
801
*********
 
802
 
 
803
* Additional merges after an unrelated branch has been merged with its
 
804
  history no longer crash when deleted files are involved.
 
805
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
806
 
 
807
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
808
  previously-unversioned directory within the tree: the directory is
 
809
  marked versioned too.  
 
810
  (Martin Pool, #192859)
 
811
 
 
812
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
813
  target of the symlink.
 
814
  (Martin Pool, John Arbash Meinel, #128562)
 
815
 
 
816
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
817
  permissions as ``.bzr`` directory on a POSIX OS.
 
818
  (Parth Malwankar, #262450)
 
819
 
 
820
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
821
  way which should help avoid problems with concurrent writers.
 
822
  (Vincent Ladeuil, #525571)
 
823
 
 
824
* Don't traceback trying to unversion children files of an already
 
825
  unversioned directory.  (Vincent Ladeuil, #494221)
 
826
 
 
827
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
828
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
829
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
830
  
 
831
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
832
  directory that was a symlink in the previous commit.
 
833
  (Martin Pool, #192859)
 
834
 
 
835
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
836
  which can result in "missing referenced chk root keys" errors when
 
837
  fetching from repositories with affected revisions.
 
838
  (Andrew Bennetts, #522637)
 
839
 
 
840
* Raise ValueError instead of a string exception.
 
841
  (John Arbash Meinel, #586926)
 
842
 
 
843
* Reduce peak memory by one copy of compressed text.
 
844
  (John Arbash Meinel, #566940)
 
845
 
 
846
* Repositories accessed via a smart server now reject being stacked on a
 
847
  repository in an incompatible format, as is the case when accessing them
 
848
  via other methods.  This was causing fetches from those repositories via
 
849
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
850
  (Andrew Bennetts, #562380)
 
851
 
 
852
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
853
  error. This error was caused by 2.0 not being updated when upstream
 
854
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
855
  ``done``. (Robert Collins, #571437)
 
856
 
 
857
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
 
858
  being thrown from ``xml_serializer`` on certain cElementTree setups.
 
859
  (Martin [gz], #254278)
 
860
 
 
861
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
862
  directory file handle after the chdir fails. Otherwise when passing many
 
863
  filenames into a command line ``bzr status`` we would leak descriptors.
 
864
  (John Arbash Meinel, #583486)
 
865
 
 
866
Testing
 
867
*******
 
868
 
 
869
* ``build_tree_contents`` can create symlinks.
 
870
  (Martin Pool, John Arbash Meinel)
 
871
 
 
872
 
 
873
bzr 2.0.6
 
874
#########
 
875
 
 
876
:2.0.6: 2010-09-17
 
877
 
 
878
The sixth release in our 2.0 series addresses several user-inconvenience
 
879
bugs.  None are critical, but upgrading is recommended for all users on
 
880
earlier 2.0 releases.
 
881
 
 
882
Bug Fixes
 
883
*********
 
884
 
 
885
* Additional merges after an unrelated branch has been merged with its
 
886
  history no longer crash when deleted files are involved.
 
887
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
888
 
 
889
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
890
  previously-unversioned directory within the tree: the directory is
 
891
  marked versioned too.  
 
892
  (Martin Pool, #192859)
 
893
 
 
894
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
895
  target of the symlink.
 
896
  (Martin Pool, John Arbash Meinel, #128562)
 
897
 
 
898
* ``bzr revert`` now only takes write lock on working tree, instead of on 
 
899
  both working tree and branch.
 
900
  (Danny van Heumen, #498409)
 
901
 
 
902
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
903
  permissions as ``.bzr`` directory on a POSIX OS.
 
904
  (Parth Malwankar, #262450)
 
905
 
 
906
* Don't traceback trying to unversion children files of an already
 
907
  unversioned directory.  (Vincent Ladeuil, #494221)
 
908
 
 
909
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
910
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
911
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
912
  
 
913
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
914
  directory that was a symlink in the previous commit.
 
915
  (Martin Pool, #192859)
 
916
 
 
917
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
918
  which can result in "missing referenced chk root keys" errors when
 
919
  fetching from repositories with affected revisions.
 
920
  (Andrew Bennetts, #522637)
 
921
 
 
922
* Raise ValueError instead of a string exception.
 
923
  (John Arbash Meinel, #586926)
 
924
 
 
925
* Reduce peak memory by one copy of compressed text.
 
926
  (John Arbash Meinel, #566940)
 
927
 
 
928
* Repositories accessed via a smart server now reject being stacked on a
 
929
  repository in an incompatible format, as is the case when accessing them
 
930
  via other methods.  This was causing fetches from those repositories via
 
931
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
932
  (Andrew Bennetts, #562380)
 
933
 
 
934
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
935
  error. This error was caused by 2.0 not being updated when upstream
 
936
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
937
  ``done``. (Robert Collins, #571437)
 
938
 
 
939
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
940
  directory file handle after the chdir fails. Otherwise when passing many
 
941
  filenames into a command line ``bzr status`` we would leak descriptors.
 
942
  (John Arbash Meinel, #583486)
 
943
 
 
944
 
 
945
Testing
 
946
*******
 
947
 
 
948
* ``build_tree_contents`` can create symlinks.
 
949
  (Martin Pool, John Arbash Meinel)
 
950
 
 
951
 
 
952
bzr 2.2
 
953
#######
 
954
 
 
955
:Codename: La Hulpe
 
956
:2.2: 2010-08-06
 
957
 
 
958
This release marks the start of another long-term-stable series. From
 
959
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
 
960
while 2.3 will become our new development series. The 2.0 and 2.1 series
 
961
will also continue to get bugfixes. (Currently 2.0 is planned to be
 
962
supported for another 6 months.)
 
963
 
 
964
This is primarily a bugfix and polish release over the 2.1 series, with
 
965
a large number of bugs fixed (>120), and some performance improvements.
 
966
 
 
967
There are some compatibility changes in this release.  For users of bzrlib
 
968
as a library, we now request that they call ``bzrlib.initialize`` and use
 
969
the returned context manager appropriately. For commandline users we no
 
970
longer guess user identity for ``bzr commit``, users must specify their
 
971
identity using ``bzr whoami`` (you don't need to specify your identity for
 
972
readonly operations).
 
973
 
 
974
Users are encouraged to upgrade from the other stable series.
 
975
 
 
976
Compatibility Breaks
 
977
********************
 
978
 
 
979
* BzrError subclasses no longer support the name "message" to be used
 
980
  as an argument for __init__ or in _fmt format specification as this
 
981
  breaks in some Python versions. errors.LockError.__init__ argument
 
982
  is now named "msg" instead of earlier "message".
 
983
  (Parth Malwankar, #603461)
 
984
 
 
985
* The old ``bzr selftest --benchmark`` option has been removed.
 
986
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
987
  macrobenchmark suite.
 
988
  (Martin Pool)
 
989
 
 
990
Bug Fixes
 
991
*********
 
992
 
 
993
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
994
  ``InvalidPattern`` exception error message now shows faulting
 
995
  regular expression.
 
996
  (Parth Malwankar #300062)
 
997
 
 
998
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
999
  way which should help avoid problems with concurrent writers.
 
1000
  (Vincent Ladeuil, #525571)
 
1001
 
 
1002
* Don't traceback trying to unversion children files of an already
 
1003
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1004
 
 
1005
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
 
1006
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
1007
 
 
1008
* Progress bars prefer to truncate the text message rather than the
 
1009
  counters.  The spinner is shown between the network transfer indicator
 
1010
  and the progress message.  Progress bars are correctly cleared off when 
 
1011
  they finish.  (Martin Pool, #611127)
 
1012
 
 
1013
* Recursive binding for checkouts is now detected by bzr. A clear error
 
1014
  message is shown to the user. (Parth Malwankar, #405192)
 
1015
 
 
1016
Improvements
 
1017
************
 
1018
 
 
1019
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
1020
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
1021
 
 
1022
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
 
1023
  GUI with out have a console open in the background.
 
1024
  (Gary van der Merwe, #433781)
 
1025
 
 
1026
Documentation
 
1027
*************
 
1028
 
 
1029
* ``bzr help patterns`` now explains case insensitive patterns and
 
1030
  points to Python regular expression documentation.
 
1031
  (Parth Malwankar, #594386)
 
1032
 
 
1033
API Changes
 
1034
***********
 
1035
 
 
1036
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
1037
 
 
1038
Testing
 
1039
*******
 
1040
 
 
1041
* Unit test added to ensure that "message" is not uses as a format variable
 
1042
  name in BzrError subclasses as this conflicts with some Python versions.
 
1043
  (Parth Malwankar, #603461)
 
1044
 
 
1045
bzr 2.2b4
 
1046
#########
 
1047
 
 
1048
:Codename: Monkey Magic
 
1049
:2.2b4: 2010-07-10
 
1050
 
 
1051
 
 
1052
This fourth and final beta in the 2.2 series now stabilizes the internal
 
1053
APIs. Plugin authors are recommended to ensure their releases are
 
1054
compatible, so that 2.2rc1 can be a true release candidate, containing
 
1055
stable and compatible plugin versions. 
 
1056
 
 
1057
For users of bzrlib as a library, one of the primary changes is to request
 
1058
that they call ``bzrlib.initialize`` and use the returned context manager
 
1059
appropriately.
 
1060
 
 
1061
Better interaction with ``bzr-loom`` to make sure branching from a loom
 
1062
even over a smart server still yields a local loom. Not to mention lots of
 
1063
bugfixes over 2.2b3.
 
1064
 
 
1065
Compatibility Breaks
 
1066
********************
 
1067
 
 
1068
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
1069
  the result of ``bzrlib.initialize``. This change was made when fixing
 
1070
  the bad habit recent bzr versions have had of leaving progress bars 
 
1071
  behind on the screen. That required calling another function before
 
1072
  exiting the program, and it made sense to provide a full context
 
1073
  manager at the same time. (Robert Collins)
 
1074
 
 
1075
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
1076
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
1077
  is such a manager, but third party UI factories which do not derive from
 
1078
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
1079
  end.
 
1080
 
 
1081
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
1082
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
1083
  scheme.  Previously these URLs would be treated as local paths.
 
1084
  (Gordon Tyler)
 
1085
 
 
1086
 
 
1087
New Features
 
1088
************
 
1089
 
 
1090
* Support ``--directory`` option for a number of additional commands:
 
1091
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
1092
  unshelve, whoami. (Martin von Gagern, #527878)
 
1093
 
 
1094
Bug Fixes
 
1095
*********
 
1096
 
 
1097
* ``bzr branch`` to a new repository with a default stacking policy no
 
1098
  longer transfers the full history unnecessarily.
 
1099
  (Andrew Bennetts, #597942)
 
1100
 
 
1101
* ``bzr init`` does not recursively scan directory contents anymore
 
1102
  leading to faster init for directories with existing content.
 
1103
  (Martin [gz], Parth Malwankar, #501307)
 
1104
 
 
1105
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
1106
  linear ancetries. (Vincent Ladeuil, #575631)
 
1107
 
 
1108
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
1109
  rather than trying to fetch the data locally and failing because of a
 
1110
  readonly error. (Martin von Gagern, #149270)
 
1111
 
 
1112
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
1113
  or pull location in locations.conf or branch.conf.
 
1114
  (Gordon Tyler, #534787)
 
1115
 
 
1116
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
1117
  smart server. (Andrew Bennetts, #551525)
 
1118
 
 
1119
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
1120
  (Marius Kruger, Robert Collins)
 
1121
 
 
1122
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
1123
  (Marius Kruger, Robert Collins)
 
1124
 
 
1125
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
1126
  proper error messages. (Vincent Ladeuil, #591215)
 
1127
 
 
1128
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
1129
  arguments on Windows, because bzr script does the same.
 
1130
  (Alexander Belchenko, #588277)
 
1131
 
 
1132
* Fetching was slightly confused about the best code to use and was
 
1133
  using a new code path for all branches, resulting in more lookups than
 
1134
  necessary on old branches. (Robert Collins, #593515)
 
1135
 
 
1136
* Final fix for 'no help for command' issue. We now show a clean message
 
1137
  when a command has no help, document how to set help more clearly, and
 
1138
  test that all commands available to the test suite have help.
 
1139
  (Robert Collins, #177500)
 
1140
 
 
1141
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
 
1142
  ``InvalidPattern`` exception showing clear error message to the user.
 
1143
  (Parth Malwankar #300062)
 
1144
 
 
1145
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
1146
 
 
1147
* Raise ValueError instead of a string exception.
 
1148
  (John Arbash Meinel, #586926)
 
1149
 
 
1150
* Relative imports in plugins are now handled correctly when using
 
1151
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
1152
 
 
1153
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
1154
  which previously caused "SyntaxError: No command for line".
 
1155
  (Martin Pool)
 
1156
 
 
1157
* Show unicode filenames in diff headers using terminal encoding. 
 
1158
  (Alexander Belchenko, Bug #382699)
 
1159
  NOTE for Windows users: If user need to save diff to file then user need to
 
1160
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
1161
  (e.g. ``chcp 1251`` for Russian Windows).
 
1162
 
 
1163
* URL displayed for use with ``break-lock`` when smart server sees lock
 
1164
  contention are now valid. Default timeout for lock contention retry is
 
1165
  now 30 seconds instead of 300 seconds.
 
1166
  (Parth Malwankar, #250451)
 
1167
 
 
1168
* ``walkdirs`` now raises a useful message when the filenames are not using
 
1169
  the filesystem encoding. (Eric Moritz, #488519)
 
1170
 
 
1171
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
1172
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
1173
  command line we get to be the same length as sys.argv.
 
1174
  (Jason Spashett, Alexander Belchenko, #587868)
 
1175
 
 
1176
Improvements
 
1177
************
 
1178
 
 
1179
* Bazaar now reads data from SSH connections more efficiently on platforms
 
1180
  that provide the ``socketpair`` function, and when using paramiko.
 
1181
  (Andrew Bennetts, #590637)
 
1182
 
 
1183
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
1184
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
1185
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
1186
  (Robert Collins, #201613)
 
1187
 
 
1188
* ``Branch`` formats can now be loaded lazily by registering a
 
1189
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
1190
  cause the named format class to be loaded only when an enumeration of
 
1191
  formats is needed or when the format string for the object is
 
1192
  encountered. (Robert Collins, Jelmer Vernooij)
 
1193
 
 
1194
* The encoding that bzr uses to output things other than file content can
 
1195
  now be overridden via the output_encoding configuration option.
 
1196
  (Martin Pool, #340394)
 
1197
 
 
1198
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
1199
  do not cause modules to be loaded unnecessarily just because the plugin
 
1200
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
1201
  in a default installation (with just the core plugins).
 
1202
  (Andrew Bennetts)
 
1203
 
 
1204
Documentation
 
1205
*************
 
1206
 
 
1207
* Added ``regression`` tag to our tags list. (Robert Collins)
 
1208
 
 
1209
* Improved our release checklist to have a bit less churn and leave things
 
1210
  ready-to-go for the next action (including other people doing
 
1211
  development). (Robert Collins)
 
1212
 
 
1213
* Remove obsolete discussion of PQM in documentation about how to
 
1214
  contribute to Bazaar.  (Martin Pool, #588444)
 
1215
 
 
1216
API Changes
 
1217
***********
 
1218
 
 
1219
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
1220
  an iterable of format pairs, rather than just a single pair, permitting
 
1221
  InterBranch objects that work with multiple permutations to be
 
1222
  comprehensively tested. (Robert Collins)
 
1223
 
 
1224
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
1225
  profiles when concurrent profile requests are made. Instead the profile
 
1226
  requests will be serialised. Reentrant requests will now deadlock.
 
1227
  (Robert Collins)
 
1228
 
 
1229
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
1230
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
1231
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
1232
 
 
1233
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
 
1234
  ``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
 
1235
  case the default error message not suitable for the use case.
 
1236
  (Parth Malwankar)
 
1237
 
 
1238
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
1239
  one method ``check_output``, and we now recommend checking command
 
1240
  output using ``run_script``. (Martin Pool)
 
1241
 
 
1242
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
1243
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
1244
  Third-party implementations of ``SSHVendor`` may need to be updated
 
1245
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
1246
  need to be updated.  (Andrew Bennetts)
 
1247
 
 
1248
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
1249
  changed to take an ``SSHParams`` instance (replacing many individual
 
1250
  values).  (Andrew Bennetts)
 
1251
 
 
1252
Internals
 
1253
*********
 
1254
 
 
1255
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
1256
  selection when explicitly requested; this avoids many duplicate calls
 
1257
  being logged when helpers, wrappers and older code that manually calls
 
1258
  it are executed it is now logged deliberately by the ui setup code.
 
1259
  (Robert Collins)
 
1260
 
 
1261
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
1262
 
 
1263
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
1264
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
1265
  accurate results. (Andrew Bennetts)
 
1266
 
 
1267
* The symbol_versioning module can now cleanup after itself -
 
1268
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
1269
  (Robert Collins)
 
1270
 
 
1271
Testing
 
1272
*******
 
1273
 
 
1274
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
1275
  to test.  (Martin Pool)
 
1276
 
 
1277
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
1278
  (Vincent Ladeuil, #595587)
 
1279
 
8
1280
bzr 2.2b3
9
1281
#########
10
1282
 
11
 
:2.2b3: NOT RELEASED YET
 
1283
:2.2b3: 2010-05-28
 
1284
 
 
1285
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
1286
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
1287
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
1288
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
1289
bash completion script and bzr will no longer guess at identity details -
 
1290
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
1291
For developers we have some API changes which may impact plugins as well
 
1292
as a bunch of our regular improvements to internal clarity and test
 
1293
support.
12
1294
 
13
1295
Compatibility Breaks
14
1296
********************
15
1297
 
 
1298
* An API break has been made to the lock_write method of ``Branch`` and
 
1299
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
1300
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
1301
  changing the API in future easier and permits some cleaner calling code.
 
1302
  The lock_read method has also changed from having no defined return
 
1303
  value to returning ``LogicalLockResult`` objects.
 
1304
  (Robert Collins)
 
1305
 
 
1306
* ``bzr`` does not try to guess the username as ``username@hostname``
 
1307
  and requires it to be explictly set. This can be set using ``bzr
 
1308
  whoami``. (Parth Malwankar, #549310)
 
1309
 
 
1310
* ``bzrlib.commands.Command`` will now raise ValueError during
 
1311
  construction if there is no __doc__ set. (Note, this will be reverted in
 
1312
  2.2b4) (Robert Collins)
 
1313
 
 
1314
* The source tree no longer contains a contrib/zsh/_bzr completion
 
1315
  script. The new file contrib/zsh/README suggests alternatives.
 
1316
  (Martin von Gagern, #560030)
 
1317
 
16
1318
New Features
17
1319
************
18
1320
 
30
1332
  pack operation.
31
1333
  (Parth Malwankar, #304320)
32
1334
 
 
1335
* New command line option ``--authors`` to ``bzr log`` allows users to
 
1336
  select which of the apparent authors and committer should be
 
1337
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
1338
 
 
1339
* Support ``--directory`` option for a number of additional commands:
 
1340
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
1341
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
1342
  re-sign, unbind, unknowns.
 
1343
  (Martin von Gagern, #527878)
 
1344
 
 
1345
* The bash_completion plugin from the bzr-bash-completion project has
 
1346
  been merged into the tree. It provides a bash-completion command and
 
1347
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
1348
  using the plugin. (Martin von Gagern, #560030)
 
1349
 
 
1350
* A new transport based on GIO (the gnome i/o library) provides access to
 
1351
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
1352
  use gio for some already existing transport methods as gio+file,
 
1353
  gio+sftp, gio+ftp. 
 
1354
  (Mattias Eriksson)
 
1355
 
33
1356
Bug Fixes
34
1357
*********
35
1358
 
 
1359
* Alias information shown by ``bzr help`` is now accurate. This
 
1360
  was showing an internal object name for some plugin aliases.
 
1361
  (Parth Malwankar, #584650)
 
1362
 
36
1363
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
1364
  group ownership from the containing directory. This allow bzr to work
38
1365
  better with sudo.
39
1366
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
1367
 
 
1368
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1369
  support of bzr-externals and scmproj plugins.
 
1370
  (Alexander Belchenko, bug #572098)
 
1371
 
 
1372
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
1373
  (Gordon Tyler, #572092)
 
1374
 
41
1375
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
1376
  are part of Y ancestry but not part of X ancestry (aka the graph
43
1377
  difference).
44
1378
  (Vincent Ladeuil, #320119)
45
1379
 
 
1380
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
1381
  servers a few commits ago has been reverted to use edge: there is a
 
1382
  problem with using production which isn't trivially obvious, so we've
 
1383
  filed a bug to track it, and until thats fixed will be using edge.
 
1384
  (Robert Collins, #583667)
 
1385
 
 
1386
* ``bzr rm`` should not refuse to delete directories which contained a file
 
1387
  which has been moved elsewhere in the tree after the previous commit.
 
1388
  (Marius Kruger, Daniel Watkins, #129880)
 
1389
 
46
1390
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
1391
  (Vincent Ladeuil, #566670)
48
1392
 
49
1393
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
1394
  (Vincent Ladeuil, #563997)
51
1395
 
 
1396
* CommitBuilder refuses to create revisions whose trees have no root.
 
1397
  (Aaron Bentley)
 
1398
 
 
1399
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1400
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1401
  problems that occur on POSIX with all currently released versions of
 
1402
  Python.
 
1403
  (Andrew Bennetts, #583941)
 
1404
 
52
1405
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
1406
  (Vincent Ladeuil, #401599)
54
1407
 
56
1409
  versions before 1.6.
57
1410
  (Andrew Bennetts, #528041)
58
1411
 
 
1412
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
1413
  estimate of the number of records to be fetched vs actually fetched.
 
1414
  (Parth Malwankar, #374740, #538868)
 
1415
 
59
1416
* Reduce peak memory by one copy of compressed text.
60
1417
  (John Arbash Meinel, #566940)
61
1418
 
 
1419
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
1420
  read lock, rather than causing an ``AttributeError``.
 
1421
  (Andrew Bennetts, Данило Шеган, #582781)
 
1422
 
 
1423
* Selftest was failing with testtools 0.9.3, which caused an
 
1424
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
1425
  Error, breaking on of our test hygiene tests.
 
1426
  (Robert Collins, Vincent Ladeuil).
 
1427
 
 
1428
* ``set_user_option`` with a dict on remote branches no longer fails with
 
1429
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
1430
  to support this efficiently.
 
1431
  (Andrew Bennetts, #430382)
 
1432
  
62
1433
* Show the filenames when a file rename fails so that the error will be
63
1434
  more comprehensible.
64
1435
  (Martin Pool, #491763)
65
1436
 
 
1437
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1438
  (John Arbash Meinel, #582656)
 
1439
 
 
1440
* Unicode characters in aliases are now handled correctly and do not cause
 
1441
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
1442
 
 
1443
* Unicode commit messages that are the same as a file name no longer cause
 
1444
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
1445
  messages.
 
1446
  (Parth Malwankar, #563646)
 
1447
 
 
1448
* Using bzr with `lp:` urls behind an http proxy should work.
 
1449
  (Robert Collins, #558343)
 
1450
 
 
1451
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1452
  directory file handle after the chdir fails. Otherwise when passing many
 
1453
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1454
  (John Arbash Meinel, #583486)
 
1455
 
66
1456
Improvements
67
1457
************
68
1458
 
74
1464
  (case-sensitive) as false.
75
1465
  (Brian de Alwis, Vincent Ladeuil)
76
1466
 
 
1467
* ``bzr ls`` now supports short options for existing long options.
 
1468
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
1469
  (Parth Malwankar, #181124)
 
1470
 
77
1471
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
1472
  be interpreted as a boolean.
79
1473
  (Vincent Ladeuil)
80
1474
 
81
 
Documentation
82
 
*************
 
1475
* The all-in-one Windows installer will now be built with docstrings stripped
 
1476
  from the library zip, reducing the size and slightly improving cold startup
 
1477
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
1478
  plugins to an all-in-one installation, ensure they are compiled and
 
1479
  installed with -O1 or help may not work. (Martin [gz])
83
1480
 
84
1481
API Changes
85
1482
***********
96
1493
  implementations.
97
1494
  (Martin Pool)
98
1495
 
 
1496
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
1497
  expected to return an object which can be used to unlock them. This reduces
 
1498
  duplicate code when using cleanups. The previous 'tokens's returned by
 
1499
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
1500
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
1501
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
1502
 
 
1503
* ``Repository.refresh_data`` may now be called in a write group on
 
1504
  pack-based repositories.  Older repositories will still raise an error
 
1505
  in this case.  Subclasses of ``Repository`` can still override
 
1506
  ``Repository._refresh_data``, but are now responsible for raising
 
1507
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
1508
  ``refresh_data`` during a write group.
 
1509
  (Andrew Bennetts, #574236)
 
1510
 
99
1511
Internals
100
1512
*********
101
1513
 
 
1514
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
1515
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
1516
  potentially shave 5-10% time off during a large fetch. Related to bug
 
1517
  #562666. (John Arbash Meinel)
 
1518
 
 
1519
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
1520
  (Robert Collins)
 
1521
 
102
1522
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
1523
  suboptimal network behaviour is noticed; instead it just mutters to the
104
1524
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
1531
  stripped, the prefix ``__doc__ =`` should now be used.
112
1532
  (Martin <gzlist@googlemail.com>)
113
1533
 
 
1534
* No longer require zlib headers to build extensions, and remove the need
 
1535
  for seperate copy of zlib library on windows.
 
1536
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #566923)
 
1537
 
114
1538
Testing
115
1539
*******
116
1540
 
125
1549
  failures on Lucid, FreeBSD and gentoo.  
126
1550
  (Vincent Ladeuil, #528436)
127
1551
 
 
1552
* New class ``ExecutableFeature`` for checking the availability of
 
1553
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
1554
  (Martin von Gagern)
 
1555
 
 
1556
bzr 2.1.2
 
1557
#########
 
1558
 
 
1559
:2.1.2: 2010-05-28
 
1560
 
 
1561
This release fixes two critical networking issues with older servers and
 
1562
with interrupted system call errors when pushing or pulling.  We recommend
 
1563
upgrading to anyone running a 2.1.x version of bzr.
 
1564
 
 
1565
Bug Fixes
 
1566
*********
 
1567
 
 
1568
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1569
  support of bzr-externals and scmproj plugins.
 
1570
  (Alexander Belchenko, bug #572098)
 
1571
 
 
1572
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
1573
  (Aaron Bentley, #559436)
 
1574
 
 
1575
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1576
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1577
  problems that occur on POSIX with all currently released versions of
 
1578
  Python.
 
1579
  (Andrew Bennetts, #583941)
 
1580
 
 
1581
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
1582
  versions before 1.6.
 
1583
  (Andrew Bennetts, #528041)
 
1584
 
 
1585
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
1586
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
1587
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
1588
  errors compared to registering ``signal.signal`` directly.
 
1589
  (Andrew Bennetts)
 
1590
 
 
1591
* Reduce peak memory by one copy of compressed text.
 
1592
  (John Arbash Meinel, #566940)
 
1593
 
 
1594
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1595
  (John Arbash Meinel, #582656)
 
1596
 
 
1597
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1598
  directory file handle after the chdir fails. Otherwise when passing many
 
1599
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1600
  (John Arbash Meinel, #583486)
 
1601
 
 
1602
Internals
 
1603
*********
 
1604
 
 
1605
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
1606
  suboptimal network behaviour is noticed; instead it just mutters to the
 
1607
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
1608
  This was causing unnecessary aborts for performance bugs that are minor
 
1609
  at worst.
 
1610
  (Andrew Bennetts, #528041)
 
1611
 
 
1612
 
128
1613
bzr 2.2b2
129
1614
#########
130
1615
 
184
1669
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
1670
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
1671
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
1672
  errors compared to registering ``signal.signal`` directly.
188
1673
  (Andrew Bennetts)
189
1674
 
190
1675
* When invoked with a range revision, ``bzr log`` doesn't show revisions
193
1678
  (Vincent Ladeuil, #474807)
194
1679
 
195
1680
* Properly handle ``param_name`` attribute for ``ListOption``.
196
 
  (Martin von Gagern, 387117)
 
1681
  (Martin von Gagern, #387117)
197
1682
 
198
1683
Improvements
199
1684
************
232
1717
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
1718
  ``get_trees_and_branches_to_diff_locked`` instead.
234
1719
  (Andrew Bennetts)
 
1720
 
 
1721
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
1722
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
1723
  
236
1724
Internals
237
1725
*********
242
1730
  Command is now transient and only exists for the duration of ``run()``.
243
1731
  (Robert Collins)
244
1732
 
245
 
bzr 2.2.0b1
246
 
###########
247
 
 
248
 
:2.2.0b1: 2010-04-01
 
1733
bzr 2.2b1
 
1734
#########
 
1735
 
 
1736
:2.2b1: 2010-04-01
 
1737
 
 
1738
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
1739
release in July or August.  Beta releases are suitable for everyday use
 
1740
but may cause some incompatibilities with plugins.  Some plugins may need
 
1741
small updates to work with 2.2b1.
 
1742
 
 
1743
2.2b1 includes some changes to make merge conflicts easier to understand
 
1744
and resolve.  It also removes some old unnecessary code, and loads
 
1745
somewhat less code at startup.  It starts adding a common infrastructure
 
1746
for dealing with colocated named branches, which can be implemented in
 
1747
various ways in either bzr native or foreign formats.   On Ubuntu and
 
1748
other platforms with the apport bug-reporting library, there's an easier
 
1749
path to report problems with bzr.  We plan to continue with these themes
 
1750
through the 2.2 series.
 
1751
 
 
1752
Over thirty bugs have been fixed, including in the log command, exporting
 
1753
to tarballs, restarting interrupted system calls, portability of compiled
 
1754
extensions, making backups during upgrade, and locking on ftp.
249
1755
 
250
1756
Compatibility Breaks
251
1757
********************
291
1797
  without specific permission from the user.  (Martin Pool, #515052)
292
1798
 
293
1799
* Parsing of command lines, for example in ``diff --using``, no longer
294
 
  treats backslash as an escape character on Windows.   (Gordon Tyler,
295
 
  #392248)
 
1800
  treats backslash as an escape character on Windows.
 
1801
  (Gordon Tyler, #392428)
296
1802
 
297
1803
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
298
1804
  a list of plugin names separated by ':' (';' on windows).
527
2033
  happens, and another warning will be written if the log file could not
528
2034
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
529
2035
 
530
 
bzr 2.1.2
531
 
#########
532
 
 
533
 
:2.1.2: NOT RELEASED YET
534
 
 
535
 
Bug Fixes
536
 
*********
537
 
 
538
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
 
  (Aaron Bentley, #559436)
540
 
 
541
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
 
  versions before 1.6.
543
 
  (Andrew Bennetts, #528041)
544
 
 
545
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
549
 
  (Andrew Bennetts)
550
 
 
551
 
Internals
552
 
*********
553
 
 
554
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
555
 
  suboptimal network behaviour is noticed; instead it just mutters to the
556
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
557
 
  This was causing unnecessary aborts for performance bugs that are minor
558
 
  at worst.
559
 
  (Andrew Bennetts, #528041)
560
 
 
561
 
 
562
2036
bzr 2.1.1
563
2037
#########
564
2038
 
624
2098
  (Andrew Bennetts, #496813)
625
2099
 
626
2100
 
 
2101
bzr 2.0.5
 
2102
#########
 
2103
 
 
2104
:2.0.5: 2010-03-23
 
2105
 
 
2106
This fifth release in our 2.0 series addresses several user-inconvenience
 
2107
bugs.  None are critical, but upgrading is recommended for all users on
 
2108
earlier 2.0 releases.
 
2109
 
 
2110
Bug Fixes
 
2111
*********
 
2112
 
 
2113
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
2114
  (Martin Pool, #331095)
 
2115
 
 
2116
* Concurrent autopacking is more resilient to already-renamed pack files.
 
2117
  If we find that a file we are about to obsolete is already obsoleted, we
 
2118
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
2119
  The code is also fault tolerant if a file goes missing, assuming that
 
2120
  another process already removed the file.
 
2121
  (John Arbash Meinel, Gareth White, #507557)
 
2122
 
 
2123
* Cope with the lockdir ``held/info`` file being empty, which seems to
 
2124
  happen fairly often if the process is suddenly interrupted while taking
 
2125
  a lock.
 
2126
  (Martin Pool, #185103)
 
2127
 
 
2128
* Give the warning about potentially slow cross-format fetches much
 
2129
  earlier on in the fetch operation.  Don't show this message during
 
2130
  upgrades, and show the correct format indication for remote
 
2131
  repositories.
 
2132
  (Martin Pool, #456077, #515356, #513157)
 
2133
 
 
2134
* Handle renames correctly when there are files or directories that 
 
2135
  differ only in case.  (Chris Jones, Martin Pool, #368931)
 
2136
 
 
2137
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
 
2138
  error, report that error rather than failing with an unhelpful
 
2139
  ``UnboundLocalError``.
 
2140
  (Andrew Bennetts, #423563)
 
2141
 
 
2142
* Running ``bzr`` command without any arguments now shows bzr
 
2143
  version number along with rest of the help text.
 
2144
  (Parth Malwankar, #369501)
 
2145
 
 
2146
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
 
2147
  errors.
 
2148
  (Inada Naoki, #524560)
 
2149
 
 
2150
Documentation
 
2151
*************
 
2152
 
 
2153
* Added ``location-alias`` help topic.
 
2154
  (Andrew Bennetts, #337834)
 
2155
 
 
2156
* Fixed CHM generation by moving the NEWS section template into
 
2157
  a separate file. (Ian Clatworthy, #524184)
 
2158
 
 
2159
 
627
2160
bzr 2.1.0
628
2161
#########
629
2162
 
977
2510
  tests that 'failed' - they're all just failures.
978
2511
  (Martin Pool)
979
2512
 
980
 
bzr 2.0.6
981
 
#########
982
 
 
983
 
:2.0.6: NOT RELEASED YET
984
 
 
985
 
Bug Fixes
986
 
*********
987
 
 
988
 
* Additional merges after an unrelated branch has been merged with its
989
 
  history no longer crash when deleted files are involved.
990
 
  (Vincent Ladeuil, John Arbash Meinel, #375898)
991
 
 
992
 
* ``bzr revert`` now only takes write lock on working tree, instead of on 
993
 
  both working tree and branch.
994
 
  (Danny van Heumen, #498409)
995
 
 
996
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
997
 
  permissions as ``.bzr`` directory on a POSIX OS.
998
 
  (Parth Malwankar, #262450)
999
 
 
1000
 
* Repositories accessed via a smart server now reject being stacked on a
1001
 
  repository in an incompatible format, as is the case when accessing them
1002
 
  via other methods.  This was causing fetches from those repositories via
1003
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
 
  (Andrew Bennetts, #562380)
1005
 
 
1006
 
bzr 2.0.5
1007
 
#########
1008
 
 
1009
 
:2.0.5: 2010-03-23
1010
 
 
1011
 
This fifth release in our 2.0 series addresses several user-inconvenience
1012
 
bugs.  None are critical, but upgrading is recommended for all users on
1013
 
earlier 2.0 releases.
1014
 
 
1015
 
Bug Fixes
1016
 
*********
1017
 
 
1018
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1019
 
  (Martin Pool, #331095)
1020
 
 
1021
 
* Concurrent autopacking is more resilient to already-renamed pack files.
1022
 
  If we find that a file we are about to obsolete is already obsoleted, we
1023
 
  do not try to rename it, and we leave the file in ``obsolete_packs``.
1024
 
  The code is also fault tolerant if a file goes missing, assuming that
1025
 
  another process already removed the file.
1026
 
  (John Arbash Meinel, Gareth White, #507557)
1027
 
 
1028
 
* Cope with the lockdir ``held/info`` file being empty, which seems to
1029
 
  happen fairly often if the process is suddenly interrupted while taking
1030
 
  a lock.
1031
 
  (Martin Pool, #185103)
1032
 
 
1033
 
* Give the warning about potentially slow cross-format fetches much
1034
 
  earlier on in the fetch operation.  Don't show this message during
1035
 
  upgrades, and show the correct format indication for remote
1036
 
  repositories.
1037
 
  (Martin Pool, #456077, #515356, #513157)
1038
 
 
1039
 
* Handle renames correctly when there are files or directories that 
1040
 
  differ only in case.  (Chris Jones, Martin Pool, #368931)
1041
 
 
1042
 
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1043
 
  error, report that error rather than failing with an unhelpful
1044
 
  ``UnboundLocalError``.
1045
 
  (Andrew Bennetts, #423563)
1046
 
 
1047
 
* Running ``bzr`` command without any arguments now shows bzr
1048
 
  version number along with rest of the help text.
1049
 
  (Parth Malwankar, #369501)
1050
 
 
1051
 
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1052
 
  errors.
1053
 
  (Inada Naoki, #524560)
1054
 
 
1055
 
Documentation
1056
 
*************
1057
 
 
1058
 
* Added ``location-alias`` help topic.
1059
 
  (Andrew Bennetts, #337834)
1060
 
 
1061
 
* Fixed CHM generation by moving the NEWS section template into
1062
 
  a separate file. (Ian Clatworthy, #524184)
1063
 
 
1064
 
 
1065
2513
bzr 2.0.4
1066
2514
#########
1067
2515
 
3702
5150
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3703
5151
 
3704
5152
* selftest now supports a --parallel option, with values of 'fork' or
3705
 
  'subprocess' to run the test suite in parallel. Currently only linux
3706
 
  machine work, other platforms need patches submitted. (Robert Collins,
 
5153
  'subprocess' to run the test suite in parallel. Currently only Linux
 
5154
  machines work, other platforms need patches submitted. (Robert Collins,
3707
5155
  Vincent Ladeuil)
3708
5156
 
3709
5157
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
5299
6747
  when the path to the root of the tree has been given. Users of
5300
6748
  the internal ``show_tree_status`` function should be aware that
5301
6749
  the show_pending flag is now authoritative for showing pending
5302
 
  merges, as it was originally. (Robert Collins, #225204)
 
6750
  merges, as it was originally. (Robert Collins, #255204)
5303
6751
 
5304
6752
* Set valid default _param_name for Option so that ListOption can embed
5305
6753
  '-' in names. (Vincent Ladeuil, #263249)
6457
7905
 
6458
7906
* bzr main script cannot be imported (Benjamin Peterson)
6459
7907
 
6460
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
7908
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6461
7909
  directory. (Toshio Kuratomi)
6462
7910
 
6463
7911
* The ``set_rh`` branch hook is now deprecated. Please migrate
6800
8248
 
6801
8249
* BZR_LOG environment variable controls location of .bzr.log trace file.
6802
8250
  User can suppress writing messages to .bzr.log by using '/dev/null'
6803
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
8251
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6804
8252
  is not defined but BZR_HOME is defined then default location
6805
8253
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6806
8254
  (Alexander Belchenko, #106117)
9215
10663
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
9216
10664
  iterator was using direct comparison and ``'abc/a'`` sorts after
9217
10665
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
9218
 
  (John Arbash Meinel, #111227)
 
10666
  (John Arbash Meinel, #111127)
9219
10667
 
9220
10668
* Handle when someone renames a file on disk without telling bzr.
9221
10669
  Previously we would report the first file as missing, but not show
10499
11947
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
10500
11948
  other branch, and will not push or pull between the two branches.
10501
11949
  API users will need to perform a push or pull or update operation if they
10502
 
  require branch synchronisation to take place. (Robert Collins, #47344)
 
11950
  require branch synchronisation to take place. (Robert Collins, #43744)
10503
11951
 
10504
11952
* When creating a tarball or zipfile export, export unicode names as utf-8
10505
11953
  paths. This may not work perfectly on all platforms, but has the best
10506
 
  chance of working in the common case. (John Arbash Meinel, #56816)
 
11954
  chance of working in the common case. (John Arbash Meinel, #56815)
10507
11955
 
10508
11956
* When committing, only files that exist in working tree or basis tree
10509
11957
  may be specified (Aaron Bentley, #50793)
12543
13991
 
12544
13992
 
12545
13993
..
12546
 
   vim: tw=74 ft=rst ff=unix encoding=utf-8
 
13994
   vim: tw=74 ft=rst ff=unix