/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: Jelmer Vernooij
  • Date: 2010-08-29 14:37:51 UTC
  • mto: This revision was merged to the branch mainline in revision 5418.
  • Revision ID: jelmer@samba.org-20100829143751-9ry91e6u887gswiz
Move some bzrdir-specific tests to bzrlib.tests.per_bzrdir.

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