/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: Martin Pool
  • Date: 2010-09-15 05:10:04 UTC
  • mto: (5452.4.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 5476.
  • Revision ID: mbp@sourcefrog.net-20100915051004-jfncw2tw716gfudb
Go back to using assertEqualDiff when a script fails

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.3b1
 
9
#########
 
10
 
 
11
:Codename: ???
 
12
:2.3b1: NOT RELEASED YET
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
* BzrError subclasses no longer support the name "message" to be used
 
18
  as an argument for __init__ or in _fmt format specification as this
 
19
  breaks in some Python versions. errors.LockError.__init__ argument
 
20
  is now named "msg" instead of earlier "message".
 
21
  (Parth Malwankar, #603461)
 
22
 
 
23
* ``bzrlib.transform.TreeTransformBase.final_kind``,
 
24
  ``bzrlib.transform.TreeTransform.tree_kind`` and
 
25
  ``bzrlib.transform.TransformPreview.tree_kind`` now return None instead
 
26
  of raising NoSuchFile.  (Vincent Ladeuil)
 
27
 
 
28
* `decode` parameter to get() method in FtpTransport and GioTransport classes
 
29
  is deprecated. (Alexander Belchenko)
 
30
 
 
31
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
 
32
  longer raised.
 
33
  (Martin Pool)
 
34
 
 
35
* `tree_files` and `internal_tree_files` are now deprecated in favor of
 
36
  `WorkingTree.open_containing_paths`.
 
37
  (Martin Pool)
 
38
 
 
39
* `ControlDirFormat` and  `ControlDir` have been split out of `BzrDirFormat`
 
40
  and `BzrDir`, respectively. `ControlDirFormat`
 
41
  and `ControlDir` should be used as the base classes for new non-.bzr
 
42
  implementations.
 
43
 
 
44
  `BzrDirFormat.register_control_format` has been renamed to
 
45
  `ControlDirFormat.register_format`.
 
46
 
 
47
  `BzrDirFormat.register_server_control_format` has been removed.
 
48
 
 
49
  Probing for control directories is now done by separate objects derived
 
50
  from `bzrlib.controldir.Prober` and registered using
 
51
  `bzrlib.controldir.ControlDirFormat.register_prober` or
 
52
  `bzrlib.controldir.ControlDirFormat.register_server_prober`.
 
53
  `BzrDirFormat.probe_transport` has been moved onto `Prober`.
 
54
 
 
55
  `BzrDirFormat.register_format` has been renamed to
 
56
  `BzrProber.register_bzrdir_format`.
 
57
 
 
58
  `bzrlib.bzrdir.network_format_registry` has been moved to
 
59
  `bzrlib.controldir`.
 
60
 
 
61
  (Jelmer Vernooij)
 
62
 
 
63
* The old ``bzr selftest --benchmark`` option has been removed.
 
64
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
65
  macrobenchmark suite.
 
66
  (Martin Pool)
 
67
 
 
68
New Features
 
69
************
 
70
 
 
71
* Added ``pre_status`` and ``post_status`` hooks. This allows plugins
 
72
  to register custom handlers which will be invoked before/after the
 
73
  standard status output is displayed. (Parth Malwankar)
 
74
 
 
75
* ``bzr break-lock --config [location]`` can now break config files
 
76
  locks. (Vincent Ladeuil, #525571)
 
77
 
 
78
* ``bzrlib.config.LockableConfig`` is a base class for config files that
 
79
  needs to be protected against multiple writers. All methods that
 
80
  change a configuration variable value must be decorated with
 
81
  @needs_write_lock (set_option() for example).
 
82
  (Vincent Ladeuil,  #525571)
 
83
 
 
84
* The ``lp:`` prefix will now use your known username (from
 
85
  ``bzr launchpad-login``) to expand ``~`` to your username.  For example:
 
86
  ``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
 
87
  push to ``lp:~user/project/branch``.  (John Arbash Meinel)
 
88
 
 
89
* New development format ``development8-subtree`` which is similar to the 
 
90
  ``2a`` format and adds subtree support. (Jelmer Vernooij)
 
91
 
 
92
Bug Fixes
 
93
*********
 
94
 
 
95
* Allow using both --using and --diff-options. 
 
96
  (Matthäus G. Chajdas, #234708)
 
97
 
 
98
* Allow using non-integer bug ID with generic bug trackers.
 
99
  (Alexandre Garnier, #440472)
 
100
 
 
101
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
102
  previously-unversioned directory within the tree: the directory is
 
103
  marked versioned too.  
 
104
  (Martin Pool, #192859)
 
105
 
 
106
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
107
  ``InvalidPattern`` exception error message now shows faulting
 
108
  regular expression.
 
109
  (Parth Malwankar #300062)
 
110
 
 
111
* ``clean-tree`` issues a warning if it is unable to delete a file
 
112
  due to ``errno.EACCES`` instead of exiting with an error on Windows.
 
113
  (Parth Malwankar, #430785)
 
114
 
 
115
* CommitBuilder now uses the committer instead of _config.username to generate
 
116
  the revision-id.  (Aaron Bentley, #614404)
 
117
 
 
118
* Configuration files in ``${BZR_HOME}`` are now protected against
 
119
  concurrent writers by using a lock. (Vincent Ladeuil, #525571)
 
120
 
 
121
* Cope with Microsoft FTP Server and VSFTPd that return reply '250
 
122
  Directory created' when mkdir succeeds.  (Martin Pool, #224373)
 
123
 
 
124
* Decrease peak memory during ``bzr send``. The old code was caching all
 
125
  text content and all inventory strings for all revisions before
 
126
  computing the diffs. Now we only cache as long as there is a child that
 
127
  will need them. Sending 2000 bzr revisions drops from 1.2GB peak to
 
128
  256MB peak. (John Arbash Meinel, #614576)
 
129
 
 
130
* Don't print internal object name when print an invalid revision spec
 
131
  error.  (Neil Martinsen-Burrell, #598701)
 
132
 
 
133
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
134
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
135
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
136
  
 
137
* ``EPIPE`` can be raised during test server shutdown. This happened on
 
138
  gentoo only so far. (Vincent Ladeuil, #627277)
 
139
 
 
140
* Errors occurring during http(s) test server starts should now be
 
141
  handled cleanly. (Vincent Ladeuil, #392402)
 
142
 
 
143
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
144
  directory that was a symlink in the previous commit.
 
145
  (Martin Pool, #192859)
 
146
 
 
147
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
 
148
  ``_close_ssh_proc`` when using ``bzr+ssh://``.  This was causing
 
149
  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
 
150
  stderr in some other circumstances.  (Andrew Bennetts, #633745)
 
151
 
 
152
* Fix spurious paramiko warning on hardy by ensuring that ``selftest``
 
153
  properly remove its warning filter. (Vincent Ladeuil, #625686)
 
154
 
 
155
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
 
156
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
157
 
 
158
* Most of the leaked threads during selftest are now fixed, allowing the
 
159
  full test suite to pass on gentoo.
 
160
  (Vincent Ladeuil, #392127)
 
161
 
 
162
* Only call ``setlocale`` in the bzr startup script on posix systems. This
 
163
  avoids an issue with the newer windows C runtimes used by Python 2.6 and
 
164
  later which can mangle bytestrings printed to the console.
 
165
  (Martin [gz], #631350)
 
166
 
 
167
* `PathNotChild` should not give a traceback.
 
168
  (Martin Pool, #98735)
 
169
 
 
170
* ``PQM`` will no longer ignore syntax errors in submissions.
 
171
  (Vincent Ladeuil, #626667)
 
172
 
 
173
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
174
  which can result in "missing referenced chk root keys" errors when
 
175
  fetching from repositories with affected revisions.
 
176
  (Andrew Bennetts, #522637)
 
177
 
 
178
* strace test-helper tests cope with the new Ubuntu policy of not allowing
 
179
  users to attach to their own processes by default.
 
180
  (Martin Pool, #626679)
 
181
 
 
182
* Test classes like ``TestCase``, ``TestLoader``, and ``TestSuite`` should
 
183
  be available from ``bzrlib.tests.*``. They used to be, but were
 
184
  accidentally removed. (John Arbash Meinel, #627438)
 
185
 
 
186
* ``Transport.stat`` on a symlink, including a transport pointing directly
 
187
  to a symlink, now returns information about the symlink.
 
188
  (Martin Pool)
 
189
 
 
190
* Wait for the SSH server to actually finish, rather than just waiting for
 
191
  it to negotiate the key exchange. (John Arbash Meinel, #626876)
 
192
 
 
193
Improvements
 
194
************
 
195
 
 
196
* ``bzr remove`` now just backs up changed files instead of exiting,
 
197
  forcing you to choose to either keep or delete them. Bazaar will now delete
 
198
  the files if they can easily be recovered using revert, otherwise they
 
199
  will be backed up (adding an extention of the form .~#~).
 
200
  (Marius Kruger, #400554)
 
201
 
 
202
* ``bzr revert`` and ``bzr status`` are up to 15% faster on large trees
 
203
  with many changes by not repeatedly building a list of all file-ids.
 
204
  (Andrew Bennetts)
 
205
 
 
206
* Decrease memory consumption when many chk index pages are loaded. (Such
 
207
  as during ``bzr co`` or ``bzr ls -R`` of a large tree.) Often we need to
 
208
  read many chk pages because the individual chk map nodes will be spread
 
209
  randomly. Peak memory for 'bzr ls -R' on a large tree dropped from 396MB
 
210
  down to 247MB, expect even more significant savings on 64-bit platforms.
 
211
  (John Arbash Meinel)
 
212
 
 
213
* ``DirState`` internals use a little bit less memory. For bzr.dev it
 
214
  drops the memory from 1MB down to about 800kB. And replaces a few
 
215
  thousand tuples and sets with StaticTuple.  (John Arbash Meinel)
 
216
 
 
217
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
 
218
  have dropped from 68 bytes to 40, and directory entries from 120 bytes
 
219
  to 48).  (Andrew Bennetts)
 
220
 
 
221
* When building new working trees, default to reading from the repository
 
222
  rather than the source tree unless explicitly requested. (via
 
223
  ``--files-from`` and ``--hardlink`` for ``bzr branch`` and
 
224
  ``bzr checkout``. Generally, 2a format repositories extract
 
225
  content faster than seeking and reading content from another tree,
 
226
  especially in cold-cache situations. (John Arbash Meinel, #607298)
 
227
 
 
228
* Add ``__pycache__`` to the default ``ignores`` file. Future releases of
 
229
  Python will use this directory to store bytecodes.
 
230
  (Andrea Corbellini, #626687)
 
231
 
 
232
Documentation
 
233
*************
 
234
 
 
235
* Added a builder/writer sphinx extension that can generate texinfo files. The
 
236
  generated files are syntactically correct but the info navigation nodes
 
237
  needs more work. (Vincent Ladeuil, #219334)
 
238
 
 
239
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
 
240
  to make the tests conditional.
 
241
  (Vincent Ladeuil)
 
242
 
 
243
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
 
244
  the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
 
245
  (John Arbash Meinel, #617503)
 
246
 
 
247
API Changes
 
248
***********
 
249
 
 
250
* Configuration files should now use the ``from_string`` constructor rather
 
251
  than the ``file`` parameter of the ``_get_parser`` method. The later has
 
252
  been deprecated. ``from_string`` also accept a ``save=True`` parameter to
 
253
  have the configuration file immediately written to disk. 
 
254
  (Vincent Ladeuil)
 
255
 
 
256
* Deprecate treating a `PushResult` and `PullResult` as an integer for the
 
257
  relative change in revno.
 
258
  (Martin Pool)
 
259
  `
 
260
* ``IniBaseConfig`` objects should now use the ``from_string`` constructor
 
261
  the rather than the ``file`` parameter of the ``_get_parser`` method. The
 
262
  later has been deprecated. (Vincent Ladeuil)
 
263
 
 
264
* InventoryEntry instances now raise AttributeError if you try to assign
 
265
  to attributes that are irrelevant to that kind of entry.  e.g. setting
 
266
  ``symlink_target`` on an InventoryFile will fail.  It is still okay to
 
267
  read those attributes on any kind of InventoryEntry.  The complete list
 
268
  of affected attributes is: ``executable``, ``text_id``, ``text_sha1``,
 
269
  ``text_size`` (only valid for kind == file); ``symlink_target`` (only
 
270
  valid for kind == link); and ``reference_revision`` (only valid for kind
 
271
  == tree-reference).  (Andrew Bennetts)
 
272
 
 
273
* InventoryEntry objects no longer have ``_put_in_tar`` or
 
274
  ``_put_on_disk`` methods.  (Andrew Bennetts)
 
275
 
 
276
* The ``get_filename`` parameter in the ``config.IniBaseConfig``
 
277
  constructor has been deprecated, use the ``file_name`` parameter instead.
 
278
  (Vincent Ladeuil)
 
279
 
 
280
Internals
 
281
*********
 
282
 
 
283
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
 
284
  (Andrew Bennetts)
 
285
 
 
286
Testing
 
287
*******
 
288
 
 
289
* Blank output section in scriptrunner tests no longer match any output.
 
290
  Instead, use '...' as a wildcard if you don't care about the output.
 
291
  (Martin Pool, #637830)
 
292
 
 
293
* HTTP test servers will leak less threads (and sockets) and will not hang on
 
294
  AIX anymore. (Vincent Ladeuil, #405745)
 
295
 
 
296
* Rearrange thread leak detection code to eliminate global state and make it
 
297
  possible to extend the reporting. (Marting [gz], #633462)
 
298
 
 
299
* The test suite now simply holds log files in memory, rather than writing them
 
300
  out to disk and then reading them back in and deleting them.
 
301
  (Andrew Bennetts)
 
302
 
 
303
* The way ``bzr selftest --parallel`` generates N partitions of tests to
 
304
  run in parallel has changed.  Instead of splitting the list of tests at
 
305
  N-1 points, it distributes the tests one-by-one into the partitions in a
 
306
  round robin fashion.  This reduces the total time to run the tests in
 
307
  parallel because a series of slow tests in the test suite will be
 
308
  distributed evenly among the parallel test suites, rather than slowing
 
309
  down just one suite.  (Andrew Bennetts)
 
310
 
 
311
 
 
312
bzr 2.2.1
 
313
#########
 
314
 
 
315
:Codename: ??
 
316
:2.2.1: NOT RELEASED YET
 
317
 
 
318
Bug Fixes
 
319
*********
 
320
 
 
321
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
322
  previously-unversioned directory within the tree: the directory is
 
323
  marked versioned too.
 
324
  (Martin Pool, #192859)
 
325
 
 
326
* CommitBuilder now uses the committer instead of _config.username to generate
 
327
  the revision-id.  (Aaron Bentley, #614404)
 
328
 
 
329
* Cope with Microsoft FTP server that returns reply '250 Directory
 
330
  created' when mkdir succeeds.  (Martin Pool, #224373)
 
331
 
 
332
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
333
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
334
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
335
  
 
336
* Fix ``AttributeError on parent.children`` when adding a file under a
 
337
  directory that was a symlink in the previous commit.
 
338
  (Martin Pool, #192859)
 
339
 
 
340
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
 
341
  ``_close_ssh_proc`` when using ``bzr+ssh://``.  This was causing
 
342
  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
 
343
  stderr in some other circumstances.  (Andrew Bennetts, #633745)
 
344
 
 
345
* Only call ``setlocale`` in the bzr startup script on posix systems. This
 
346
  avoids an issue with the newer windows C runtimes used by Python 2.6 and
 
347
  later which can mangle bytestrings printed to the console.
 
348
  (Martin [gz], #631350)
 
349
 
 
350
Improvements
 
351
************
 
352
 
 
353
Documentation
 
354
*************
 
355
 
 
356
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
 
357
  the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
 
358
  (John Arbash Meinel, #617503)
 
359
 
 
360
Internals
 
361
*********
 
362
 
 
363
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
 
364
  (Andrew Bennetts)
 
365
 
 
366
 
 
367
bzr 2.2
 
368
#######
 
369
 
 
370
:Codename: La Hulpe
 
371
:2.2: 2010-08-06
 
372
 
 
373
This release marks the start of another long-term-stable series. From
 
374
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
 
375
while 2.3 will become our new development series. The 2.0 and 2.1 series
 
376
will also continue to get bugfixes. (Currently 2.0 is planned to be
 
377
supported for another 6 months.)
 
378
 
 
379
This is primarily a bugfix and polish release over the 2.1 series, with
 
380
a large number of bugs fixed (>120), and some performance improvements.
 
381
 
 
382
There are some compatibility changes in this release.  For users of bzrlib
 
383
as a library, we now request that they call ``bzrlib.initialize`` and use
 
384
the returned context manager appropriately. For commandline users we no
 
385
longer guess user identity for ``bzr commit``, users must specify their
 
386
identity using ``bzr whoami`` (you don't need to specify your identity for
 
387
readonly operations).
 
388
 
 
389
Users are encouraged to upgrade from the other stable series.
 
390
 
 
391
Compatibility Breaks
 
392
********************
 
393
 
 
394
* BzrError subclasses no longer support the name "message" to be used
 
395
  as an argument for __init__ or in _fmt format specification as this
 
396
  breaks in some Python versions. errors.LockError.__init__ argument
 
397
  is now named "msg" instead of earlier "message".
 
398
  (Parth Malwankar, #603461)
 
399
 
 
400
* The old ``bzr selftest --benchmark`` option has been removed.
 
401
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
402
  macrobenchmark suite.
 
403
  (Martin Pool)
 
404
 
 
405
Bug Fixes
 
406
*********
 
407
 
 
408
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
409
  ``InvalidPattern`` exception error message now shows faulting
 
410
  regular expression.
 
411
  (Parth Malwankar #300062)
 
412
 
 
413
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
414
  way which should help avoid problems with concurrent writers.
 
415
  (Vincent Ladeuil, #525571)
 
416
 
 
417
* Don't traceback trying to unversion children files of an already
 
418
  unversioned directory.  (Vincent Ladeuil, #494221)
 
419
 
 
420
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
 
421
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
422
 
 
423
* Progress bars prefer to truncate the text message rather than the
 
424
  counters.  The spinner is shown between the network transfer indicator
 
425
  and the progress message.  Progress bars are correctly cleared off when 
 
426
  they finish.  (Martin Pool, #611127)
 
427
 
 
428
* Recursive binding for checkouts is now detected by bzr. A clear error
 
429
  message is shown to the user. (Parth Malwankar, #405192)
 
430
 
 
431
Improvements
 
432
************
 
433
 
 
434
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
435
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
436
 
 
437
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
 
438
  GUI with out have a console open in the background.
 
439
  (Gary van der Merwe, #433781)
 
440
 
 
441
Documentation
 
442
*************
 
443
 
 
444
* ``bzr help patterns`` now explains case insensitive patterns and
 
445
  points to Python regular expression documentation.
 
446
  (Parth Malwankar, #594386)
 
447
 
 
448
API Changes
 
449
***********
 
450
 
 
451
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
452
 
 
453
Testing
 
454
*******
 
455
 
 
456
* Unit test added to ensure that "message" is not uses as a format variable
 
457
  name in BzrError subclasses as this conflicts with some Python versions.
 
458
  (Parth Malwankar, #603461)
 
459
 
 
460
bzr 2.2b4
 
461
#########
 
462
 
 
463
:Codename: Monkey Magic
 
464
:2.2b4: 2004-07-09
 
465
 
 
466
 
 
467
This fourth and final beta in the 2.2 series now stabilizes the internal
 
468
APIs. Plugin authors are recommended to ensure their releases are
 
469
compatible, so that 2.2rc1 can be a true release candidate, containing
 
470
stable and compatible plugin versions. 
 
471
 
 
472
For users of bzrlib as a library, one of the primary changes is to request
 
473
that they call ``bzrlib.initialize`` and use the returned context manager
 
474
appropriately.
 
475
 
 
476
Better interaction with ``bzr-loom`` to make sure branching from a loom
 
477
even over a smart server still yields a local loom. Not to mention lots of
 
478
bugfixes over 2.2b3.
 
479
 
 
480
Compatibility Breaks
 
481
********************
 
482
 
 
483
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
484
  the result of ``bzrlib.initialize``. This change was made when fixing
 
485
  the bad habit recent bzr versions have had of leaving progress bars 
 
486
  behind on the screen. That required calling another function before
 
487
  exiting the program, and it made sense to provide a full context
 
488
  manager at the same time. (Robert Collins)
 
489
 
 
490
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
491
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
492
  is such a manager, but third party UI factories which do not derive from
 
493
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
494
  end.
 
495
 
 
496
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
497
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
498
  scheme.  Previously these URLs would be treated as local paths.
 
499
  (Gordon Tyler)
 
500
 
 
501
 
 
502
New Features
 
503
************
 
504
 
 
505
* Support ``--directory`` option for a number of additional commands:
 
506
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
507
  unshelve, whoami. (Martin von Gagern, #527878)
 
508
 
 
509
Bug Fixes
 
510
*********
 
511
 
 
512
* ``bzr branch`` to a new repository with a default stacking policy no
 
513
  longer transfers the full history unnecessarily.
 
514
  (Andrew Bennetts, #597942)
 
515
 
 
516
* ``bzr init`` does not recursively scan directory contents anymore
 
517
  leading to faster init for directories with existing content.
 
518
  (Martin [gz], Parth Malwankar, #501307)
 
519
 
 
520
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
521
  linear ancetries. (Vincent Ladeuil, #575631)
 
522
 
 
523
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
524
  rather than trying to fetch the data locally and failing because of a
 
525
  readonly error. (Martin von Gagern, #149270)
 
526
 
 
527
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
528
  or pull location in locations.conf or branch.conf.
 
529
  (Gordon Tyler, #534787)
 
530
 
 
531
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
532
  smart server. (Andrew Bennetts, #551525)
 
533
 
 
534
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
535
  (Marius Kruger, Robert Collins)
 
536
 
 
537
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
538
  (Marius Kruger, Robert Collins)
 
539
 
 
540
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
541
  proper error messages. (Vincent Ladeuil, #591215)
 
542
 
 
543
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
544
  arguments on Windows, because bzr script does the same.
 
545
  (Alexander Belchenko, #588277)
 
546
 
 
547
* Fetching was slightly confused about the best code to use and was
 
548
  using a new code path for all branches, resulting in more lookups than
 
549
  necessary on old branches. (Robert Collins, #593515)
 
550
 
 
551
* Final fix for 'no help for command' issue. We now show a clean message
 
552
  when a command has no help, document how to set help more clearly, and
 
553
  test that all commands available to the test suite have help.
 
554
  (Robert Collins, #177500)
 
555
 
 
556
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
 
557
  ``InvalidPattern`` exception showing clear error message to the user.
 
558
  (Parth Malwankar #300062)
 
559
 
 
560
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
561
 
 
562
* Raise ValueError instead of a string exception.
 
563
  (John Arbash Meinel, #586926)
 
564
 
 
565
* Relative imports in plugins are now handled correctly when using
 
566
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
567
 
 
568
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
569
  which previously caused "SyntaxError: No command for line".
 
570
  (Martin Pool)
 
571
 
 
572
* Show unicode filenames in diff headers using terminal encoding. 
 
573
  (Alexander Belchenko, Bug #382699)
 
574
  NOTE for Windows users: If user need to save diff to file then user need to
 
575
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
576
  (e.g. ``chcp 1251`` for Russian Windows).
 
577
 
 
578
* URL displayed for use with ``break-lock`` when smart server sees lock
 
579
  contention are now valid. Default timeout for lock contention retry is
 
580
  now 30 seconds instead of 300 seconds.
 
581
  (Parth Malwankar, #250451)
 
582
 
 
583
* ``walkdirs`` now raises a useful message when the filenames are not using
 
584
  the filesystem encoding. (Eric Moritz, #488519)
 
585
 
 
586
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
587
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
588
  command line we get to be the same length as sys.argv.
 
589
  (Jason Spashett, Alexander Belchenko, #587868)
 
590
 
 
591
Improvements
 
592
************
 
593
 
 
594
* Bazaar now reads data from SSH connections more efficiently on platforms
 
595
  that provide the ``socketpair`` function, and when using paramiko.
 
596
  (Andrew Bennetts, #590637)
 
597
 
 
598
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
599
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
600
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
601
  (Robert Collins, #201613)
 
602
 
 
603
* ``Branch`` formats can now be loaded lazily by registering a
 
604
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
605
  cause the named format class to be loaded only when an enumeration of
 
606
  formats is needed or when the format string for the object is
 
607
  encountered. (Robert Collins, Jelmer Vernooij)
 
608
 
 
609
* The encoding that bzr uses to output things other than file content can
 
610
  now be overridden via the output_encoding configuration option.
 
611
  (Martin Pool, #340394)
 
612
 
 
613
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
614
  do not cause modules to be loaded unnecessarily just because the plugin
 
615
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
616
  in a default installation (with just the core plugins).
 
617
  (Andrew Bennetts)
 
618
 
 
619
Documentation
 
620
*************
 
621
 
 
622
* Added ``regression`` tag to our tags list. (Robert Collins)
 
623
 
 
624
* Improved our release checklist to have a bit less churn and leave things
 
625
  ready-to-go for the next action (including other people doing
 
626
  development). (Robert Collins)
 
627
 
 
628
* Remove obsolete discussion of PQM in documentation about how to
 
629
  contribute to Bazaar.  (Martin Pool, #588444)
 
630
 
 
631
API Changes
 
632
***********
 
633
 
 
634
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
635
  an iterable of format pairs, rather than just a single pair, permitting
 
636
  InterBranch objects that work with multiple permutations to be
 
637
  comprehensively tested. (Robert Collins)
 
638
 
 
639
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
640
  profiles when concurrent profile requests are made. Instead the profile
 
641
  requests will be serialised. Reentrant requests will now deadlock.
 
642
  (Robert Collins)
 
643
 
 
644
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
645
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
646
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
647
 
 
648
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
 
649
  ``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
 
650
  case the default error message not suitable for the use case.
 
651
  (Parth Malwankar)
 
652
 
 
653
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
654
  one method ``check_output``, and we now recommend checking command
 
655
  output using ``run_script``. (Martin Pool)
 
656
 
 
657
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
658
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
659
  Third-party implementations of ``SSHVendor`` may need to be updated
 
660
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
661
  need to be updated.  (Andrew Bennetts)
 
662
 
 
663
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
664
  changed to take an ``SSHParams`` instance (replacing many individual
 
665
  values).  (Andrew Bennetts)
 
666
 
 
667
Internals
 
668
*********
 
669
 
 
670
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
671
  selection when explicitly requested; this avoids many duplicate calls
 
672
  being logged when helpers, wrappers and older code that manually calls
 
673
  it are executed it is now logged deliberately by the ui setup code.
 
674
  (Robert Collins)
 
675
 
 
676
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
677
 
 
678
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
679
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
680
  accurate results. (Andrew Bennetts)
 
681
 
 
682
* The symbol_versioning module can now cleanup after itself -
 
683
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
684
  (Robert Collins)
 
685
 
 
686
Testing
 
687
*******
 
688
 
 
689
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
690
  to test.  (Martin Pool)
 
691
 
 
692
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
693
  (Vincent Ladeuil, #595587)
 
694
 
8
695
bzr 2.2b3
9
696
#########
10
697
 
11
 
:2.2b3: NOT RELEASED YET
 
698
:2.2b3: 2010-05-28
 
699
 
 
700
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
701
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
702
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
703
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
704
bash completion script and bzr will no longer guess at identity details -
 
705
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
706
For developers we have some API changes which may impact plugins as well
 
707
as a bunch of our regular improvements to internal clarity and test
 
708
support.
12
709
 
13
710
Compatibility Breaks
14
711
********************
15
712
 
 
713
* An API break has been made to the lock_write method of ``Branch`` and
 
714
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
715
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
716
  changing the API in future easier and permits some cleaner calling code.
 
717
  The lock_read method has also changed from having no defined return
 
718
  value to returning ``LogicalLockResult`` objects.
 
719
  (Robert Collins)
 
720
 
 
721
* ``bzr`` does not try to guess the username as ``username@hostname``
 
722
  and requires it to be explictly set. This can be set using ``bzr
 
723
  whoami``. (Parth Malwankar, #549310)
 
724
 
 
725
* ``bzrlib.commands.Command`` will now raise ValueError during
 
726
  construction if there is no __doc__ set. (Note, this will be reverted in
 
727
  2.2b4) (Robert Collins)
 
728
 
 
729
* The source tree no longer contains a contrib/zsh/_bzr completion
 
730
  script. The new file contrib/zsh/README suggests alternatives.
 
731
  (Martin von Gagern, #560030)
 
732
 
16
733
New Features
17
734
************
18
735
 
30
747
  pack operation.
31
748
  (Parth Malwankar, #304320)
32
749
 
 
750
* New command line option ``--authors`` to ``bzr log`` allows users to
 
751
  select which of the apparent authors and committer should be
 
752
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
753
 
 
754
* Support ``--directory`` option for a number of additional commands:
 
755
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
756
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
757
  re-sign, unbind, unknowns.
 
758
  (Martin von Gagern, #527878)
 
759
 
 
760
* The bash_completion plugin from the bzr-bash-completion project has
 
761
  been merged into the tree. It provides a bash-completion command and
 
762
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
763
  using the plugin. (Martin von Gagern, #560030)
 
764
 
 
765
* A new transport based on GIO (the gnome i/o library) provides access to
 
766
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
767
  use gio for some already existing transport methods as gio+file,
 
768
  gio+sftp, gio+ftp. 
 
769
  (Mattias Eriksson)
 
770
 
33
771
Bug Fixes
34
772
*********
35
773
 
 
774
* Alias information shown by ``bzr help`` is now accurate. This
 
775
  was showing an internal object name for some plugin aliases.
 
776
  (Parth Malwankar, #584650)
 
777
 
36
778
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
779
  group ownership from the containing directory. This allow bzr to work
38
780
  better with sudo.
39
781
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
782
 
 
783
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
784
  support of bzr-externals and scmproj plugins.
 
785
  (Alexander Belchenko, bug #572098)
 
786
 
 
787
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
788
  (Gordon Tyler, #572092)
 
789
 
41
790
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
791
  are part of Y ancestry but not part of X ancestry (aka the graph
43
792
  difference).
44
793
  (Vincent Ladeuil, #320119)
45
794
 
 
795
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
796
  servers a few commits ago has been reverted to use edge: there is a
 
797
  problem with using production which isn't trivially obvious, so we've
 
798
  filed a bug to track it, and until thats fixed will be using edge.
 
799
  (Robert Collins, #583667)
 
800
 
 
801
* ``bzr rm`` should not refuse to delete directories which contained a file
 
802
  which has been moved elsewhere in the tree after the previous commit.
 
803
  (Marius Kruger, Daniel Watkins, #129880)
 
804
 
46
805
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
806
  (Vincent Ladeuil, #566670)
48
807
 
49
808
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
809
  (Vincent Ladeuil, #563997)
51
810
 
 
811
* CommitBuilder refuses to create revisions whose trees have no root.
 
812
  (Aaron Bentley)
 
813
 
 
814
* Do not register a SIGWINCH signal handler, instead just poll for the
 
815
  terminal width as needed.  This avoids the "Interrupted System Call"
 
816
  problems that occur on POSIX with all currently released versions of
 
817
  Python.
 
818
  (Andrew Bennetts, #583941)
 
819
 
52
820
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
821
  (Vincent Ladeuil, #401599)
54
822
 
56
824
  versions before 1.6.
57
825
  (Andrew Bennetts, #528041)
58
826
 
 
827
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
828
  estimate of the number of records to be fetched vs actually fetched.
 
829
  (Parth Malwankar, #374740, #538868)
 
830
 
59
831
* Reduce peak memory by one copy of compressed text.
60
832
  (John Arbash Meinel, #566940)
61
833
 
 
834
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
835
  read lock, rather than causing an ``AttributeError``.
 
836
  (Andrew Bennetts, Данило Шеган, #582781)
 
837
 
 
838
* Selftest was failing with testtools 0.9.3, which caused an
 
839
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
840
  Error, breaking on of our test hygiene tests.
 
841
  (Robert Collins, Vincent Ladeuil).
 
842
 
 
843
* ``set_user_option`` with a dict on remote branches no longer fails with
 
844
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
845
  to support this efficiently.
 
846
  (Andrew Bennetts, #430382)
 
847
  
62
848
* Show the filenames when a file rename fails so that the error will be
63
849
  more comprehensible.
64
850
  (Martin Pool, #491763)
65
851
 
 
852
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
853
  (John Arbash Meinel, #582656)
 
854
 
 
855
* Unicode characters in aliases are now handled correctly and do not cause
 
856
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
857
 
 
858
* Unicode commit messages that are the same as a file name no longer cause
 
859
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
860
  messages.
 
861
  (Parth Malwankar, #563646)
 
862
 
 
863
* Using bzr with `lp:` urls behind an http proxy should work.
 
864
  (Robert Collins, #558343)
 
865
 
 
866
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
867
  directory file handle after the chdir fails. Otherwise when passing many
 
868
  filenames into a command line ``bzr status`` we would leak descriptors.
 
869
  (John Arbash Meinel, #583486)
 
870
 
66
871
Improvements
67
872
************
68
873
 
74
879
  (case-sensitive) as false.
75
880
  (Brian de Alwis, Vincent Ladeuil)
76
881
 
 
882
* ``bzr ls`` now supports short options for existing long options.
 
883
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
884
  (Parth Malwankar, #181124)
 
885
 
77
886
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
887
  be interpreted as a boolean.
79
888
  (Vincent Ladeuil)
80
889
 
81
 
Documentation
82
 
*************
 
890
* The all-in-one Windows installer will now be built with docstrings stripped
 
891
  from the library zip, reducing the size and slightly improving cold startup
 
892
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
893
  plugins to an all-in-one installation, ensure they are compiled and
 
894
  installed with -O1 or help may not work. (Martin [gz])
83
895
 
84
896
API Changes
85
897
***********
96
908
  implementations.
97
909
  (Martin Pool)
98
910
 
 
911
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
912
  expected to return an object which can be used to unlock them. This reduces
 
913
  duplicate code when using cleanups. The previous 'tokens's returned by
 
914
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
915
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
916
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
917
 
 
918
* ``Repository.refresh_data`` may now be called in a write group on
 
919
  pack-based repositories.  Older repositories will still raise an error
 
920
  in this case.  Subclasses of ``Repository`` can still override
 
921
  ``Repository._refresh_data``, but are now responsible for raising
 
922
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
923
  ``refresh_data`` during a write group.
 
924
  (Andrew Bennetts, #574236)
 
925
 
99
926
Internals
100
927
*********
101
928
 
 
929
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
930
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
931
  potentially shave 5-10% time off during a large fetch. Related to bug
 
932
  #562666. (John Arbash Meinel)
 
933
 
 
934
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
935
  (Robert Collins)
 
936
 
102
937
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
938
  suboptimal network behaviour is noticed; instead it just mutters to the
104
939
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
946
  stripped, the prefix ``__doc__ =`` should now be used.
112
947
  (Martin <gzlist@googlemail.com>)
113
948
 
 
949
* No longer require zlib headers to build extensions, and remove the need
 
950
  for seperate copy of zlib library on windows.
 
951
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #566923)
 
952
 
114
953
Testing
115
954
*******
116
955
 
125
964
  failures on Lucid, FreeBSD and gentoo.  
126
965
  (Vincent Ladeuil, #528436)
127
966
 
 
967
* New class ``ExecutableFeature`` for checking the availability of
 
968
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
969
  (Martin von Gagern)
 
970
 
128
971
bzr 2.2b2
129
972
#########
130
973
 
184
1027
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
1028
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
1029
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
1030
  errors compared to registering ``signal.signal`` directly.
188
1031
  (Andrew Bennetts)
189
1032
 
190
1033
* When invoked with a range revision, ``bzr log`` doesn't show revisions
193
1036
  (Vincent Ladeuil, #474807)
194
1037
 
195
1038
* Properly handle ``param_name`` attribute for ``ListOption``.
196
 
  (Martin von Gagern, 387117)
 
1039
  (Martin von Gagern, #387117)
197
1040
 
198
1041
Improvements
199
1042
************
232
1075
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
1076
  ``get_trees_and_branches_to_diff_locked`` instead.
234
1077
  (Andrew Bennetts)
 
1078
 
 
1079
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
1080
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
1081
  
236
1082
Internals
237
1083
*********
242
1088
  Command is now transient and only exists for the duration of ``run()``.
243
1089
  (Robert Collins)
244
1090
 
245
 
bzr 2.2.0b1
246
 
###########
247
 
 
248
 
:2.2.0b1: 2010-04-01
 
1091
bzr 2.2b1
 
1092
#########
 
1093
 
 
1094
:2.2b1: 2010-04-01
 
1095
 
 
1096
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
1097
release in July or August.  Beta releases are suitable for everyday use
 
1098
but may cause some incompatibilities with plugins.  Some plugins may need
 
1099
small updates to work with 2.2b1.
 
1100
 
 
1101
2.2b1 includes some changes to make merge conflicts easier to understand
 
1102
and resolve.  It also removes some old unnecessary code, and loads
 
1103
somewhat less code at startup.  It starts adding a common infrastructure
 
1104
for dealing with colocated named branches, which can be implemented in
 
1105
various ways in either bzr native or foreign formats.   On Ubuntu and
 
1106
other platforms with the apport bug-reporting library, there's an easier
 
1107
path to report problems with bzr.  We plan to continue with these themes
 
1108
through the 2.2 series.
 
1109
 
 
1110
Over thirty bugs have been fixed, including in the log command, exporting
 
1111
to tarballs, restarting interrupted system calls, portability of compiled
 
1112
extensions, making backups during upgrade, and locking on ftp.
249
1113
 
250
1114
Compatibility Breaks
251
1115
********************
292
1156
 
293
1157
* Parsing of command lines, for example in ``diff --using``, no longer
294
1158
  treats backslash as an escape character on Windows.   (Gordon Tyler,
295
 
  #392248)
 
1159
  #392428)
296
1160
 
297
1161
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
298
1162
  a list of plugin names separated by ':' (';' on windows).
527
1391
  happens, and another warning will be written if the log file could not
528
1392
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
529
1393
 
 
1394
bzr 2.1.3
 
1395
#########
 
1396
 
 
1397
:Codename: Do run run
 
1398
:2.1.3: NOT RELEASED YET
 
1399
 
 
1400
Compatibility Breaks
 
1401
********************
 
1402
 
 
1403
New Features
 
1404
************
 
1405
 
 
1406
Bug Fixes
 
1407
*********
 
1408
 
 
1409
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
1410
  previously-unversioned directory within the tree: the directory is
 
1411
  marked versioned too.  
 
1412
  (Martin Pool, #192859)
 
1413
 
 
1414
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
1415
  way which should help avoid problems with concurrent writers.
 
1416
  (Vincent Ladeuil, #525571)
 
1417
 
 
1418
* Don't traceback trying to unversion children files of an already
 
1419
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1420
 
 
1421
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
1422
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
1423
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
1424
  
 
1425
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
1426
  directory that was a symlink in the previous commit.
 
1427
  (Martin Pool, #192859)
 
1428
 
 
1429
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1430
  which can result in "missing referenced chk root keys" errors when
 
1431
  fetching from repositories with affected revisions.
 
1432
  (Andrew Bennetts, #522637)
 
1433
 
 
1434
* Progress bars prefer to truncate the text message rather than the
 
1435
  counters.  The spinner is shown between the network transfer indicator
 
1436
  and the progress message.  (Martin Pool)
 
1437
 
 
1438
* Raise ValueError instead of a string exception.
 
1439
  (John Arbash Meinel, #586926)
 
1440
 
 
1441
* Recursive binding for checkouts is now detected by bzr. A clear error
 
1442
  message is shown to the user. (Parth Malwankar, #405192)
 
1443
 
 
1444
Improvements
 
1445
************
 
1446
 
 
1447
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
1448
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
1449
 
 
1450
Documentation
 
1451
*************
 
1452
 
 
1453
* ``bzr help patterns`` now explains case insensitive patterns and
 
1454
  points to Python regular expression documentation.
 
1455
  (Parth Malwankar, #594386)
 
1456
 
 
1457
API Changes
 
1458
***********
 
1459
 
 
1460
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
1461
 
 
1462
Internals
 
1463
*********
 
1464
 
 
1465
Testing
 
1466
*******
 
1467
 
 
1468
* Unit test added to ensure that "message" is not uses as a format variable
 
1469
  name in BzrError subclasses as this conflicts with some Python versions.
 
1470
  (Parth Malwankar, #603461)
 
1471
 
530
1472
bzr 2.1.2
531
1473
#########
532
1474
 
533
 
:2.1.2: NOT RELEASED YET
 
1475
:2.1.2: 2010-05-28
 
1476
 
 
1477
This release fixes two critical networking issues with older servers and
 
1478
with interrupted system call errors when pushing or pulling.  We recommend
 
1479
upgrading to anyone running a 2.1.x version of bzr.
534
1480
 
535
1481
Bug Fixes
536
1482
*********
537
1483
 
 
1484
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1485
  support of bzr-externals and scmproj plugins.
 
1486
  (Alexander Belchenko, bug #572098)
 
1487
 
538
1488
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
1489
  (Aaron Bentley, #559436)
540
1490
 
 
1491
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1492
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1493
  problems that occur on POSIX with all currently released versions of
 
1494
  Python.
 
1495
  (Andrew Bennetts, #583941)
 
1496
 
541
1497
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
1498
  versions before 1.6.
543
1499
  (Andrew Bennetts, #528041)
545
1501
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
1502
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
1503
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
 
1504
  errors compared to registering ``signal.signal`` directly.
549
1505
  (Andrew Bennetts)
550
1506
 
 
1507
* Reduce peak memory by one copy of compressed text.
 
1508
  (John Arbash Meinel, #566940)
 
1509
 
 
1510
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1511
  (John Arbash Meinel, #582656)
 
1512
 
 
1513
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1514
  directory file handle after the chdir fails. Otherwise when passing many
 
1515
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1516
  (John Arbash Meinel, #583486)
 
1517
 
551
1518
Internals
552
1519
*********
553
1520
 
989
1956
  history no longer crash when deleted files are involved.
990
1957
  (Vincent Ladeuil, John Arbash Meinel, #375898)
991
1958
 
 
1959
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
1960
  previously-unversioned directory within the tree: the directory is
 
1961
  marked versioned too.  
 
1962
  (Martin Pool, #192859)
 
1963
 
 
1964
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
1965
  target of the symlink.
 
1966
  (Martin Pool, John Arbash Meinel, #128562)
 
1967
 
992
1968
* ``bzr revert`` now only takes write lock on working tree, instead of on 
993
1969
  both working tree and branch.
994
1970
  (Danny van Heumen, #498409)
997
1973
  permissions as ``.bzr`` directory on a POSIX OS.
998
1974
  (Parth Malwankar, #262450)
999
1975
 
 
1976
* Don't traceback trying to unversion children files of an already
 
1977
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1978
 
 
1979
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
1980
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
1981
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
1982
  
 
1983
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
1984
  directory that was a symlink in the previous commit.
 
1985
  (Martin Pool, #192859)
 
1986
 
 
1987
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1988
  which can result in "missing referenced chk root keys" errors when
 
1989
  fetching from repositories with affected revisions.
 
1990
  (Andrew Bennetts, #522637)
 
1991
 
 
1992
* Raise ValueError instead of a string exception.
 
1993
  (John Arbash Meinel, #586926)
 
1994
 
 
1995
* Reduce peak memory by one copy of compressed text.
 
1996
  (John Arbash Meinel, #566940)
 
1997
 
1000
1998
* Repositories accessed via a smart server now reject being stacked on a
1001
1999
  repository in an incompatible format, as is the case when accessing them
1002
2000
  via other methods.  This was causing fetches from those repositories via
1003
2001
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
2002
  (Andrew Bennetts, #562380)
1005
2003
 
 
2004
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
2005
  error. This error was caused by 2.0 not being updated when upstream
 
2006
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
2007
  ``done``. (Robert Collins, #571437)
 
2008
 
 
2009
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
2010
  directory file handle after the chdir fails. Otherwise when passing many
 
2011
  filenames into a command line ``bzr status`` we would leak descriptors.
 
2012
  (John Arbash Meinel, #583486)
 
2013
 
 
2014
 
 
2015
Testing
 
2016
*******
 
2017
 
 
2018
* ``build_tree_contents`` can create symlinks.
 
2019
  (Martin Pool, John Arbash Meinel)
 
2020
 
 
2021
 
1006
2022
bzr 2.0.5
1007
2023
#########
1008
2024
 
3702
4718
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3703
4719
 
3704
4720
* 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,
 
4721
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4722
  machines work, other platforms need patches submitted. (Robert Collins,
3707
4723
  Vincent Ladeuil)
3708
4724
 
3709
4725
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
6457
7473
 
6458
7474
* bzr main script cannot be imported (Benjamin Peterson)
6459
7475
 
6460
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
7476
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6461
7477
  directory. (Toshio Kuratomi)
6462
7478
 
6463
7479
* The ``set_rh`` branch hook is now deprecated. Please migrate
6800
7816
 
6801
7817
* BZR_LOG environment variable controls location of .bzr.log trace file.
6802
7818
  User can suppress writing messages to .bzr.log by using '/dev/null'
6803
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7819
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6804
7820
  is not defined but BZR_HOME is defined then default location
6805
7821
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6806
7822
  (Alexander Belchenko, #106117)
12543
13559
 
12544
13560
 
12545
13561
..
12546
 
   vim: tw=74 ft=rst ff=unix encoding=utf-8
 
13562
   vim: tw=74 ft=rst ff=unix