/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-09-10 09:46:15 UTC
  • mfrom: (5417 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5418.
  • Revision ID: jelmer@samba.org-20100910094615-7soefxkmqroylqhj
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

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