/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: Vincent Ladeuil
  • Date: 2010-10-11 09:53:16 UTC
  • mto: (5483.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5484.
  • Revision ID: v.ladeuil+lp@free.fr-20101011095316-grl1yn3o5j7uo419
Make the test depends on a feature so it's skipped if meliae is not installed

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