/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: Canonical.com Patch Queue Manager
  • Date: 2010-09-03 02:53:10 UTC
  • mfrom: (5404.2.1 2.3-test-loader)
  • Revision ID: pqm@pqm.ubuntu.com-20100903025310-t8mj1bjq4fsyxk7p
(jameinel) Restore TestSuite and TestLoader as attributes of bzrlib.tests
 (John A Meinel)

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