/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Martin Pool
  • Date: 2010-09-13 08:14:44 UTC
  • mto: (5416.1.8 ui-factory)
  • mto: This revision was merged to the branch mainline in revision 5422.
  • Revision ID: mbp@sourcefrog.net-20100913081444-63v2l3wqb9e45ab3
Better handling of blank lines in test scripts

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