/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-07 14:34:39 UTC
  • mto: This revision was merged to the branch mainline in revision 5469.
  • Revision ID: v.ladeuil+lp@free.fr-20101007143439-1mncq23hk2h9xxl3
Bump API version to 2.3.0.

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