/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: John Arbash Meinel
  • Date: 2010-09-29 20:18:37 UTC
  • mfrom: (5450 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5452.
  • Revision ID: john@arbash-meinel.com-20100929201837-6d9jhvjokfe3ubvk
Merge bzr.dev 5450 to resolve NEWS and criss-cross merge.

Show diffs side-by-side

added added

removed removed

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