~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Vincent Ladeuil
  • Date: 2010-10-07 06:08:01 UTC
  • mto: This revision was merged to the branch mainline in revision 5491.
  • Revision ID: v.ladeuil+lp@free.fr-20101007060801-wfdhizfhfmctl8qa
Fix some typos and propose a release planning.

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.3b2
 
9
#########
 
10
 
 
11
:2.3.b2: NOT RELEASED YET
 
12
 
 
13
Compatibility Breaks
 
14
********************
 
15
 
 
16
New Features
 
17
************
 
18
 
 
19
* Add ``mainline`` revision specifier, which selects the revision that
 
20
  merged a specified revision into the mainline.  (Aaron Bentley)
 
21
 
 
22
* Add ``annotate`` revision specifier, which selects the revision that
 
23
  introduced a specified line of a file.  (Aaron Bentley)
 
24
 
 
25
* ``bzr status`` now displays a summary of existing shelves after
 
26
  the other status information. This is done using a ``post_status``
 
27
  hook.
 
28
  (Parth Malwankar, #403687)
 
29
 
 
30
Bug Fixes
 
31
*********
 
32
 
 
33
Improvements
 
34
************
 
35
 
 
36
Documentation
 
37
*************
 
38
 
 
39
API Changes
 
40
***********
 
41
 
 
42
Internals
 
43
*********
 
44
 
 
45
* When running ``bzr selftest --subunit`` the subunit stream will no
 
46
  longer include the "log" information for tests which are considered to
 
47
  be 'successes' (success, xfail, skip, etc) (John Arbash Meinel)
 
48
 
 
49
Testing
 
50
*******
 
51
 
 
52
 
 
53
 
8
54
bzr 2.3b1
9
55
#########
10
56
 
11
 
:Codename: ???
12
 
:2.3b1: NOT RELEASED YET
 
57
:2.3b1: 2010-09-20
 
58
 
 
59
This is the first beta of the 2.3 series, leading up to a 2.3.0
 
60
release in January or February.  Beta releases are suitable for everyday use
 
61
but may cause some incompatibilities with plugins.  Some plugins may need
 
62
small updates to work with 2.3b1.
 
63
 
 
64
2.3b1 includes some performance improvements in both speed and memory
 
65
consumption, some preliminary support for generating a texinfo version of
 
66
the doc and better support for launchpad.  Many changes were made to make
 
67
our test suite more robust as well as numerous documentation fixes.  It
 
68
improves the common infrastructure for dealing with colocated named
 
69
branches and foreign branches.  We plan to continue with these themes
 
70
through the 2.3 series.
 
71
 
 
72
It also includes bug fixes for 2.0.6, 2.1.3 and 2.2.1 and over 40 fixes of
 
73
its own.
 
74
 
13
75
 
14
76
Compatibility Breaks
15
77
********************
20
82
  is now named "msg" instead of earlier "message".
21
83
  (Parth Malwankar, #603461)
22
84
 
23
 
* `decode` parameter to get() method in FtpTransport and GioTransport classes
24
 
  is deprecated. (Alexander Belchenko)
25
 
 
26
 
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
27
 
  longer raised.
28
 
  (Martin Pool)
29
 
 
30
 
* `tree_files` and `internal_tree_files` are now deprecated in favor of
31
 
  `WorkingTree.open_containing_paths`.
32
 
  (Martin Pool)
 
85
* Additional merges after an unrelated branch has been merged with its
 
86
  history no longer crash when deleted files are involved.
 
87
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
88
 
 
89
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
90
  previously-unversioned directory within the tree: the directory is
 
91
  marked versioned too.
 
92
  (Martin Pool, #192859)
 
93
 
 
94
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
95
  target of the symlink.
 
96
  (Martin Pool, John Arbash Meinel, #128562)
 
97
 
 
98
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
99
  permissions as ``.bzr`` directory on a POSIX OS.
 
100
  (Parth Malwankar, #262450)
 
101
 
 
102
* ``bzrlib.transform.TreeTransformBase.final_kind``,
 
103
  ``bzrlib.transform.TreeTransform.tree_kind`` and
 
104
  ``bzrlib.transform.TransformPreview.tree_kind`` now return None instead
 
105
  of raising NoSuchFile.  (Vincent Ladeuil)
 
106
 
 
107
* CommitBuilder now uses the committer instead of _config.username to generate
 
108
  the revision-id.  (Aaron Bentley, #614404)
 
109
 
 
110
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
111
  way which should help avoid problems with concurrent writers.
 
112
  (Vincent Ladeuil, #525571)
33
113
 
34
114
* `ControlDirFormat` and  `ControlDir` have been split out of `BzrDirFormat`
35
115
  and `BzrDir`, respectively. `ControlDirFormat`
47
127
  `bzrlib.controldir.ControlDirFormat.register_server_prober`.
48
128
  `BzrDirFormat.probe_transport` has been moved onto `Prober`.
49
129
 
50
 
  `BzrDirFormat.register_format` has been renamed to 
 
130
  `BzrDirFormat.register_format` has been renamed to
51
131
  `BzrProber.register_bzrdir_format`.
 
132
 
 
133
  `bzrlib.bzrdir.network_format_registry` has been moved to
 
134
  `bzrlib.controldir`.
 
135
 
52
136
  (Jelmer Vernooij)
53
137
 
 
138
* Cope with Microsoft FTP server that returns reply '250 Directory
 
139
  created' when mkdir succeeds.  (Martin Pool, #224373)
 
140
 
 
141
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
142
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
143
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
144
  
 
145
* `decode` parameter to get() method in FtpTransport and GioTransport classes
 
146
  is deprecated. (Alexander Belchenko)
 
147
 
 
148
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
 
149
  longer raised.
 
150
  (Martin Pool)
 
151
 
 
152
* Fix ``AttributeError on parent.children`` when adding a file under a
 
153
  directory that was a symlink in the previous commit.
 
154
  (Martin Pool, #192859)
 
155
 
 
156
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
 
157
  ``_close_ssh_proc`` when using ``bzr+ssh://``.  This was causing
 
158
  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
 
159
  stderr in some other circumstances.  (Andrew Bennetts, #633745)
 
160
 
 
161
* Only call ``setlocale`` in the bzr startup script on posix systems. This
 
162
  avoids an issue with the newer windows C runtimes used by Python 2.6 and
 
163
  later which can mangle bytestrings printed to the console.
 
164
  (Martin [gz], #631350)
 
165
 
 
166
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
167
  which can result in "missing referenced chk root keys" errors when
 
168
  fetching from repositories with affected revisions.
 
169
  (Andrew Bennetts, #522637)
 
170
 
 
171
* Raise ValueError instead of a string exception.
 
172
  (John Arbash Meinel, #586926)
 
173
 
 
174
* Reduce peak memory by one copy of compressed text.
 
175
  (John Arbash Meinel, #566940)
 
176
 
 
177
* Repositories accessed via a smart server now reject being stacked on a
 
178
  repository in an incompatible format, as is the case when accessing them
 
179
  via other methods.  This was causing fetches from those repositories via
 
180
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
181
  (Andrew Bennetts, #562380)
 
182
 
 
183
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
184
  error. This error was caused by 2.0 not being updated when upstream
 
185
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
186
  ``done``. (Robert Collins, #571437)
 
187
 
 
188
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
 
189
  being thrown from ``xml_serializer`` on certain cElementTree setups.
 
190
  (Martin [gz], #254278)
 
191
 
54
192
* The old ``bzr selftest --benchmark`` option has been removed.
55
193
  <https://launchpad.net/bzr-usertest> is an actively-maintained
56
194
  macrobenchmark suite.
57
195
  (Martin Pool)
58
196
 
 
197
* `tree_files` and `internal_tree_files` are now deprecated in favor of
 
198
  `WorkingTree.open_containing_paths`.
 
199
  (Martin Pool)
 
200
 
 
201
* Upgrading or fetching from a non-rich-root repository to a rich-root
 
202
  repository (e.g. from pack-0.92 to 2a) no longer fails with
 
203
  ``'Inter1and2Helper' object has no attribute 'source_repo'``.  This was
 
204
  a regression from Bazaar 2.1.  (Andrew Bennetts, #636930)
 
205
  
 
206
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
207
  directory file handle after the chdir fails. Otherwise when passing many
 
208
  filenames into a command line ``bzr status`` we would leak descriptors.
 
209
  (John Arbash Meinel, #583486)
 
210
 
59
211
New Features
60
212
************
61
213
 
 
214
* Added ``pre_status`` and ``post_status`` hooks. This allows plugins
 
215
  to register custom handlers which will be invoked before/after the
 
216
  standard status output is displayed. (Parth Malwankar)
 
217
 
62
218
* ``bzr break-lock --config [location]`` can now break config files
63
219
  locks. (Vincent Ladeuil, #525571)
64
220
 
73
229
  ``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
74
230
  push to ``lp:~user/project/branch``.  (John Arbash Meinel)
75
231
 
 
232
* New development format ``development8-subtree`` which is similar to the 
 
233
  ``2a`` format and adds subtree support. (Jelmer Vernooij)
 
234
 
76
235
Bug Fixes
77
236
*********
78
237
 
 
238
* Fix traceback with python-2.7's xmlrpclib
 
239
  (Toshio Kuratomi, #612096)
 
240
 
79
241
* Allow using both --using and --diff-options. 
80
242
  (Matthäus G. Chajdas, #234708)
81
243
 
 
244
* Allow using non-integer bug ID with generic bug trackers.
 
245
  (Alexandre Garnier, #440472)
 
246
 
82
247
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
83
248
  previously-unversioned directory within the tree: the directory is
84
249
  marked versioned too.  
111
276
* Don't print internal object name when print an invalid revision spec
112
277
  error.  (Neil Martinsen-Burrell, #598701)
113
278
 
 
279
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
280
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
281
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
282
  
114
283
* ``EPIPE`` can be raised during test server shutdown. This happened on
115
284
  gentoo only so far. (Vincent Ladeuil, #627277)
116
285
 
121
290
  directory that was a symlink in the previous commit.
122
291
  (Martin Pool, #192859)
123
292
 
 
293
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
 
294
  ``_close_ssh_proc`` when using ``bzr+ssh://``.  This was causing
 
295
  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
 
296
  stderr in some other circumstances.  (Andrew Bennetts, #633745)
 
297
 
124
298
* Fix spurious paramiko warning on hardy by ensuring that ``selftest``
125
299
  properly remove its warning filter. (Vincent Ladeuil, #625686)
126
300
 
131
305
  full test suite to pass on gentoo.
132
306
  (Vincent Ladeuil, #392127)
133
307
 
 
308
* Only call ``setlocale`` in the bzr startup script on posix systems. This
 
309
  avoids an issue with the newer windows C runtimes used by Python 2.6 and
 
310
  later which can mangle bytestrings printed to the console.
 
311
  (Martin [gz], #631350)
 
312
 
134
313
* `PathNotChild` should not give a traceback.
135
314
  (Martin Pool, #98735)
136
315
 
142
321
  fetching from repositories with affected revisions.
143
322
  (Andrew Bennetts, #522637)
144
323
 
 
324
* strace test-helper tests cope with the new Ubuntu policy of not allowing
 
325
  users to attach to their own processes by default.
 
326
  (Martin Pool, #626679)
 
327
 
 
328
* Test classes like ``TestCase``, ``TestLoader``, and ``TestSuite`` should
 
329
  be available from ``bzrlib.tests.*``. They used to be, but were
 
330
  accidentally removed. (John Arbash Meinel, #627438)
 
331
 
 
332
* Treat all IO, OS, and socket errors consistently when establishing
 
333
  SSH/SFTP connections via a subprocess.  (Andrew Bennetts)
 
334
 
145
335
* ``Transport.stat`` on a symlink, including a transport pointing directly
146
336
  to a symlink, now returns information about the symlink.
147
337
  (Martin Pool)
148
338
 
 
339
* Upgrading or fetching from a non-rich-root repository to a rich-root
 
340
  repository (e.g. from pack-0.92 to 2a) no longer fails with
 
341
  ``'Inter1and2Helper' object has no attribute 'source_repo'``.
 
342
  (Andrew Bennetts, #636930)
 
343
  
 
344
* Wait for the SSH server to actually finish, rather than just waiting for
 
345
  it to negotiate the key exchange. (John Arbash Meinel, #626876)
 
346
 
149
347
Improvements
150
348
************
151
349
 
181
379
  content faster than seeking and reading content from another tree,
182
380
  especially in cold-cache situations. (John Arbash Meinel, #607298)
183
381
 
 
382
* Add ``__pycache__`` to the default ``ignores`` file. Future releases of
 
383
  Python will use this directory to store bytecodes.
 
384
  (Andrea Corbellini, #626687)
 
385
 
184
386
Documentation
185
387
*************
186
388
 
196
398
  the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
197
399
  (John Arbash Meinel, #617503)
198
400
 
 
401
* Suggest ``bzr revert`` for restoring locally deleted files in help text
 
402
  for ``bzr update``.  (John C Barstow, #191466)
 
403
 
199
404
API Changes
200
405
***********
201
406
 
205
410
  have the configuration file immediately written to disk. 
206
411
  (Vincent Ladeuil)
207
412
 
 
413
* Deprecate treating a `PushResult` and `PullResult` as an integer for the
 
414
  relative change in revno.
 
415
  (Martin Pool)
 
416
  `
208
417
* ``IniBaseConfig`` objects should now use the ``from_string`` constructor
209
418
  the rather than the ``file`` parameter of the ``_get_parser`` method. The
210
419
  later has been deprecated. (Vincent Ladeuil)
234
443
Testing
235
444
*******
236
445
 
 
446
* ``build_tree_contents`` can create symlinks.
 
447
  (Martin Pool, John Arbash Meinel)
 
448
 
 
449
* Catch socket errors to avoid
 
450
  bt.test_sftp_transport.SSHVendorBadConnection.test_bad_connection_ssh
 
451
  random failures. (Vincent Ladeuil, #601804)
 
452
 
237
453
* HTTP test servers will leak less threads (and sockets) and will not hang on
238
454
  AIX anymore. (Vincent Ladeuil, #405745)
239
455
 
 
456
* On platforms that don't support forking give a nice error message saying so
 
457
  when ``bzr selftest --parallel=fork`` is used. (Martin [gz], #528730)
 
458
 
 
459
* Rearrange thread leak detection code to eliminate global state and make it
 
460
  possible to extend the reporting. (Marting [gz], #633462)
 
461
 
 
462
* Suppress the "maximum recursion depth exceeded in __subclasscheck__"
 
463
  warning on stderr emitted during ``test_dict_deepnested`` in
 
464
  ``bzrlib/tests/test__bencode.py``.  (Andrew Bennetts)
 
465
 
 
466
* The test suite now simply holds log files in memory, rather than writing them
 
467
  out to disk and then reading them back in and deleting them.
 
468
  (Andrew Bennetts)
 
469
 
240
470
* The way ``bzr selftest --parallel`` generates N partitions of tests to
241
471
  run in parallel has changed.  Instead of splitting the list of tests at
242
472
  N-1 points, it distributes the tests one-by-one into the partitions in a
245
475
  distributed evenly among the parallel test suites, rather than slowing
246
476
  down just one suite.  (Andrew Bennetts)
247
477
 
 
478
* Tracebacks from a parameterized test are no longer reported against every
 
479
  parameterization of that test.  This was done by adding a hack to
 
480
  ``bzrlib.tests.clone_test`` so that it no longer causes
 
481
  testtools.TestCase instances to share a details dict.
 
482
  (Andrew Bennetts, #625574)
 
483
 
 
484
 
 
485
bzr 2.2.2
 
486
#########
 
487
 
 
488
:2.2.2: NOT RELEASED YET
 
489
 
 
490
Compatibility Breaks
 
491
********************
 
492
 
 
493
New Features
 
494
************
 
495
 
 
496
Bug Fixes
 
497
*********
 
498
 
 
499
Improvements
 
500
************
 
501
 
 
502
Documentation
 
503
*************
 
504
 
 
505
API Changes
 
506
***********
 
507
 
 
508
Internals
 
509
*********
 
510
 
 
511
Testing
 
512
*******
 
513
 
 
514
* Fix tests that failed when run under ``LANG=C``.
 
515
  (Andrew Bennetts, #632387)
 
516
 
248
517
 
249
518
bzr 2.2.1
250
519
#########
251
520
 
252
 
:Codename: ??
253
 
:2.2.1: NOT RELEASED YET
 
521
:2.2.1: 2010-09-17
 
522
 
 
523
This is a bugfix release which also includes bugfixes from 2.0.6 and
 
524
2.1.3. None are critical, but upgrading is recommended for all users on
 
525
earlier 2.2 releases.
254
526
 
255
527
Bug Fixes
256
528
*********
257
529
 
 
530
* Additional merges after an unrelated branch has been merged with its
 
531
  history no longer crash when deleted files are involved.
 
532
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
533
 
258
534
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
259
535
  previously-unversioned directory within the tree: the directory is
260
 
  marked versioned too.  
 
536
  marked versioned too.
261
537
  (Martin Pool, #192859)
262
538
 
 
539
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
540
  target of the symlink.
 
541
  (Martin Pool, John Arbash Meinel, #128562)
 
542
 
 
543
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
544
  permissions as ``.bzr`` directory on a POSIX OS.
 
545
  (Parth Malwankar, #262450)
 
546
 
263
547
* CommitBuilder now uses the committer instead of _config.username to generate
264
548
  the revision-id.  (Aaron Bentley, #614404)
265
549
 
 
550
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
551
  way which should help avoid problems with concurrent writers.
 
552
  (Vincent Ladeuil, #525571)
 
553
 
266
554
* Cope with Microsoft FTP server that returns reply '250 Directory
267
555
  created' when mkdir succeeds.  (Martin Pool, #224373)
268
556
 
269
 
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
557
* Don't traceback trying to unversion children files of an already
 
558
  unversioned directory.  (Vincent Ladeuil, #494221)
 
559
 
 
560
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
561
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
562
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
563
  
 
564
* Fix ``AttributeError on parent.children`` when adding a file under a
270
565
  directory that was a symlink in the previous commit.
271
566
  (Martin Pool, #192859)
272
567
 
 
568
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
 
569
  ``_close_ssh_proc`` when using ``bzr+ssh://``.  This was causing
 
570
  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
 
571
  stderr in some other circumstances.  (Andrew Bennetts, #633745)
 
572
 
 
573
* Only call ``setlocale`` in the bzr startup script on posix systems. This
 
574
  avoids an issue with the newer windows C runtimes used by Python 2.6 and
 
575
  later which can mangle bytestrings printed to the console.
 
576
  (Martin [gz], #631350)
 
577
 
 
578
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
579
  which can result in "missing referenced chk root keys" errors when
 
580
  fetching from repositories with affected revisions.
 
581
  (Andrew Bennetts, #522637)
 
582
 
 
583
* Raise ValueError instead of a string exception.
 
584
  (John Arbash Meinel, #586926)
 
585
 
 
586
* Reduce peak memory by one copy of compressed text.
 
587
  (John Arbash Meinel, #566940)
 
588
 
 
589
* Repositories accessed via a smart server now reject being stacked on a
 
590
  repository in an incompatible format, as is the case when accessing them
 
591
  via other methods.  This was causing fetches from those repositories via
 
592
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
593
  (Andrew Bennetts, #562380)
 
594
 
 
595
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
596
  error. This error was caused by 2.0 not being updated when upstream
 
597
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
598
  ``done``. (Robert Collins, #571437)
 
599
 
 
600
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
 
601
  being thrown from ``xml_serializer`` on certain cElementTree setups.
 
602
  (Martin [gz], #254278)
 
603
 
 
604
* Upgrading or fetching from a non-rich-root repository to a rich-root
 
605
  repository (e.g. from pack-0.92 to 2a) no longer fails with
 
606
  ``'Inter1and2Helper' object has no attribute 'source_repo'``.  This was
 
607
  a regression from Bazaar 2.1.  (Andrew Bennetts, #636930)
 
608
  
 
609
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
610
  directory file handle after the chdir fails. Otherwise when passing many
 
611
  filenames into a command line ``bzr status`` we would leak descriptors.
 
612
  (John Arbash Meinel, #583486)
 
613
 
273
614
Documentation
274
615
*************
275
616
 
283
624
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
284
625
  (Andrew Bennetts)
285
626
 
 
627
Testing
 
628
*******
 
629
 
 
630
* ``build_tree_contents`` can create symlinks.
 
631
  (Martin Pool, John Arbash Meinel)
 
632
 
 
633
* Tracebacks from a parameterized test are no longer reported against every
 
634
  parameterization of that test.  This was done by adding a hack to
 
635
  ``bzrlib.tests.clone_test`` so that it no longer causes
 
636
  testtools.TestCase instances to share a details dict.
 
637
  (Andrew Bennetts, #625574)
 
638
 
286
639
 
287
640
bzr 2.2
288
641
#######
1075
1428
  without specific permission from the user.  (Martin Pool, #515052)
1076
1429
 
1077
1430
* Parsing of command lines, for example in ``diff --using``, no longer
1078
 
  treats backslash as an escape character on Windows.   (Gordon Tyler,
1079
 
  #392428)
 
1431
  treats backslash as an escape character on Windows.
 
1432
  (Gordon Tyler, #392428)
1080
1433
 
1081
1434
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
1082
1435
  a list of plugin names separated by ':' (';' on windows).
1315
1668
#########
1316
1669
 
1317
1670
:Codename: Do run run
1318
 
:2.1.3: NOT RELEASED YET
1319
 
 
1320
 
Compatibility Breaks
1321
 
********************
1322
 
 
1323
 
New Features
1324
 
************
 
1671
:2.1.3: 2010-09-17
 
1672
 
 
1673
The third release in our 2.1 series addresses several user-inconvenience bugs
 
1674
(and includes the fixes done in 2.0.6).  None are critical, but upgrading is
 
1675
recommended for all users on earlier 2.1 releases.
1325
1676
 
1326
1677
Bug Fixes
1327
1678
*********
1328
1679
 
 
1680
* Additional merges after an unrelated branch has been merged with its
 
1681
  history no longer crash when deleted files are involved.
 
1682
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
1683
 
1329
1684
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
1330
1685
  previously-unversioned directory within the tree: the directory is
1331
1686
  marked versioned too.  
1332
1687
  (Martin Pool, #192859)
1333
1688
 
 
1689
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
1690
  target of the symlink.
 
1691
  (Martin Pool, John Arbash Meinel, #128562)
 
1692
 
 
1693
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
1694
  permissions as ``.bzr`` directory on a POSIX OS.
 
1695
  (Parth Malwankar, #262450)
 
1696
 
1334
1697
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
1335
1698
  way which should help avoid problems with concurrent writers.
1336
1699
  (Vincent Ladeuil, #525571)
1338
1701
* Don't traceback trying to unversion children files of an already
1339
1702
  unversioned directory.  (Vincent Ladeuil, #494221)
1340
1703
 
 
1704
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
1705
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
1706
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
1707
  
1341
1708
* Fix ``AttributeError on parent.children`` when adding a file under a 
1342
1709
  directory that was a symlink in the previous commit.
1343
1710
  (Martin Pool, #192859)
1354
1721
* Raise ValueError instead of a string exception.
1355
1722
  (John Arbash Meinel, #586926)
1356
1723
 
1357
 
* Recursive binding for checkouts is now detected by bzr. A clear error
1358
 
  message is shown to the user. (Parth Malwankar, #405192)
1359
 
 
1360
 
Improvements
1361
 
************
1362
 
 
1363
 
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
1364
 
  tree, and works with unrelated branches.  (Andrew Bennetts)
1365
 
 
1366
 
Documentation
1367
 
*************
1368
 
 
1369
 
* ``bzr help patterns`` now explains case insensitive patterns and
1370
 
  points to Python regular expression documentation.
1371
 
  (Parth Malwankar, #594386)
1372
 
 
1373
 
API Changes
1374
 
***********
1375
 
 
1376
 
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
1377
 
 
1378
 
Internals
1379
 
*********
 
1724
* Reduce peak memory by one copy of compressed text.
 
1725
  (John Arbash Meinel, #566940)
 
1726
 
 
1727
* Repositories accessed via a smart server now reject being stacked on a
 
1728
  repository in an incompatible format, as is the case when accessing them
 
1729
  via other methods.  This was causing fetches from those repositories via
 
1730
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
1731
  (Andrew Bennetts, #562380)
 
1732
 
 
1733
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1734
  error. This error was caused by 2.0 not being updated when upstream
 
1735
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1736
  ``done``. (Robert Collins, #571437)
 
1737
 
 
1738
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
 
1739
  being thrown from ``xml_serializer`` on certain cElementTree setups.
 
1740
  (Martin [gz], #254278)
 
1741
 
 
1742
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1743
  directory file handle after the chdir fails. Otherwise when passing many
 
1744
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1745
  (John Arbash Meinel, #583486)
1380
1746
 
1381
1747
Testing
1382
1748
*******
1383
1749
 
1384
 
* Unit test added to ensure that "message" is not uses as a format variable
1385
 
  name in BzrError subclasses as this conflicts with some Python versions.
1386
 
  (Parth Malwankar, #603461)
 
1750
* ``build_tree_contents`` can create symlinks.
 
1751
  (Martin Pool, John Arbash Meinel)
1387
1752
 
1388
1753
bzr 2.1.2
1389
1754
#########
1863
2228
bzr 2.0.6
1864
2229
#########
1865
2230
 
1866
 
:2.0.6: NOT RELEASED YET
 
2231
:2.0.6: 2010-09-17
 
2232
 
 
2233
The sixth release in our 2.0 series addresses several user-inconvenience
 
2234
bugs.  None are critical, but upgrading is recommended for all users on
 
2235
earlier 2.0 releases.
1867
2236
 
1868
2237
Bug Fixes
1869
2238
*********
1892
2261
* Don't traceback trying to unversion children files of an already
1893
2262
  unversioned directory.  (Vincent Ladeuil, #494221)
1894
2263
 
 
2264
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
2265
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
2266
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
2267
  
1895
2268
* Fix ``AttributeError on parent.children`` when adding a file under a 
1896
2269
  directory that was a symlink in the previous commit.
1897
2270
  (Martin Pool, #192859)
6227
6600
  when the path to the root of the tree has been given. Users of
6228
6601
  the internal ``show_tree_status`` function should be aware that
6229
6602
  the show_pending flag is now authoritative for showing pending
6230
 
  merges, as it was originally. (Robert Collins, #225204)
 
6603
  merges, as it was originally. (Robert Collins, #255204)
6231
6604
 
6232
6605
* Set valid default _param_name for Option so that ListOption can embed
6233
6606
  '-' in names. (Vincent Ladeuil, #263249)
10143
10516
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
10144
10517
  iterator was using direct comparison and ``'abc/a'`` sorts after
10145
10518
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
10146
 
  (John Arbash Meinel, #111227)
 
10519
  (John Arbash Meinel, #111127)
10147
10520
 
10148
10521
* Handle when someone renames a file on disk without telling bzr.
10149
10522
  Previously we would report the first file as missing, but not show
11427
11800
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
11428
11801
  other branch, and will not push or pull between the two branches.
11429
11802
  API users will need to perform a push or pull or update operation if they
11430
 
  require branch synchronisation to take place. (Robert Collins, #47344)
 
11803
  require branch synchronisation to take place. (Robert Collins, #43744)
11431
11804
 
11432
11805
* When creating a tarball or zipfile export, export unicode names as utf-8
11433
11806
  paths. This may not work perfectly on all platforms, but has the best
11434
 
  chance of working in the common case. (John Arbash Meinel, #56816)
 
11807
  chance of working in the common case. (John Arbash Meinel, #56815)
11435
11808
 
11436
11809
* When committing, only files that exist in working tree or basis tree
11437
11810
  may be specified (Aaron Bentley, #50793)