/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-08 14:46:54 UTC
  • mto: This revision was merged to the branch mainline in revision 5475.
  • Revision ID: v.ladeuil+lp@free.fr-20101008144654-xjqprhsdbj24ybwq
Open trunk again as 2.3dev3

Show diffs side-by-side

added added

removed removed

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