/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

(gz) Enable use of 3-way conflict markers in pull and update by adding
 --show-base option (Rory Yorke)

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