/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

(vila) Use testtools timing mechanisms. (Martin [gz])

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