~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-09-20 14:57:31 UTC
  • mfrom: (5434.1.2 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20100920145731-g0nb7fth1nrppoxf
(vila) Re-open bzr.dev for dev as 2.3.0dev2 (Vincent Ladeuil)

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
Bug Fixes
 
20
*********
 
21
 
 
22
Improvements
 
23
************
 
24
 
 
25
Documentation
 
26
*************
 
27
 
 
28
API Changes
 
29
***********
 
30
 
 
31
Internals
 
32
*********
 
33
 
 
34
Testing
 
35
*******
 
36
 
 
37
 
 
38
 
8
39
bzr 2.3b1
9
40
#########
10
41
 
11
 
:Codename: ???
12
 
:2.3b1: NOT RELEASED YET
 
42
:2.3b1: 2010-09-20
 
43
 
 
44
This is the first beta of the 2.3 series, leading up to a 2.3.0
 
45
release in January or February.  Beta releases are suitable for everyday use
 
46
but may cause some incompatibilities with plugins.  Some plugins may need
 
47
small updates to work with 2.3b1.
 
48
 
 
49
2.3b1 includes some performance improvements in both speed and memory
 
50
consumption, some preliminary support for generating a texinfo version of
 
51
the doc and better support for launchpad.  Many changes were made to make
 
52
our test suite more robust as well as numerous documentation fixes.  It
 
53
improves the common infrastructure for dealing with colocated named
 
54
branches and foreign branches.  We plan to continue with these themes
 
55
through the 2.3 series.
 
56
 
 
57
It also includes bug fixes for 2.0.6, 2.1.3 and 2.2.1 and over 40 fixes of
 
58
its own.
 
59
 
13
60
 
14
61
Compatibility Breaks
15
62
********************
20
67
  is now named "msg" instead of earlier "message".
21
68
  (Parth Malwankar, #603461)
22
69
 
 
70
* Additional merges after an unrelated branch has been merged with its
 
71
  history no longer crash when deleted files are involved.
 
72
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
73
 
 
74
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
75
  previously-unversioned directory within the tree: the directory is
 
76
  marked versioned too.
 
77
  (Martin Pool, #192859)
 
78
 
 
79
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
80
  target of the symlink.
 
81
  (Martin Pool, John Arbash Meinel, #128562)
 
82
 
 
83
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
84
  permissions as ``.bzr`` directory on a POSIX OS.
 
85
  (Parth Malwankar, #262450)
 
86
 
23
87
* ``bzrlib.transform.TreeTransformBase.final_kind``,
24
88
  ``bzrlib.transform.TreeTransform.tree_kind`` and
25
89
  ``bzrlib.transform.TransformPreview.tree_kind`` now return None instead
26
90
  of raising NoSuchFile.  (Vincent Ladeuil)
27
91
 
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)
 
92
* CommitBuilder now uses the committer instead of _config.username to generate
 
93
  the revision-id.  (Aaron Bentley, #614404)
 
94
 
 
95
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
96
  way which should help avoid problems with concurrent writers.
 
97
  (Vincent Ladeuil, #525571)
38
98
 
39
99
* `ControlDirFormat` and  `ControlDir` have been split out of `BzrDirFormat`
40
100
  and `BzrDir`, respectively. `ControlDirFormat`
60
120
 
61
121
  (Jelmer Vernooij)
62
122
 
 
123
* Cope with Microsoft FTP server that returns reply '250 Directory
 
124
  created' when mkdir succeeds.  (Martin Pool, #224373)
 
125
 
 
126
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
127
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
128
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
129
  
 
130
* `decode` parameter to get() method in FtpTransport and GioTransport classes
 
131
  is deprecated. (Alexander Belchenko)
 
132
 
 
133
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
 
134
  longer raised.
 
135
  (Martin Pool)
 
136
 
 
137
* Fix ``AttributeError on parent.children`` when adding a file under a
 
138
  directory that was a symlink in the previous commit.
 
139
  (Martin Pool, #192859)
 
140
 
 
141
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
 
142
  ``_close_ssh_proc`` when using ``bzr+ssh://``.  This was causing
 
143
  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
 
144
  stderr in some other circumstances.  (Andrew Bennetts, #633745)
 
145
 
 
146
* Only call ``setlocale`` in the bzr startup script on posix systems. This
 
147
  avoids an issue with the newer windows C runtimes used by Python 2.6 and
 
148
  later which can mangle bytestrings printed to the console.
 
149
  (Martin [gz], #631350)
 
150
 
 
151
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
152
  which can result in "missing referenced chk root keys" errors when
 
153
  fetching from repositories with affected revisions.
 
154
  (Andrew Bennetts, #522637)
 
155
 
 
156
* Raise ValueError instead of a string exception.
 
157
  (John Arbash Meinel, #586926)
 
158
 
 
159
* Reduce peak memory by one copy of compressed text.
 
160
  (John Arbash Meinel, #566940)
 
161
 
 
162
* Repositories accessed via a smart server now reject being stacked on a
 
163
  repository in an incompatible format, as is the case when accessing them
 
164
  via other methods.  This was causing fetches from those repositories via
 
165
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
166
  (Andrew Bennetts, #562380)
 
167
 
 
168
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
169
  error. This error was caused by 2.0 not being updated when upstream
 
170
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
171
  ``done``. (Robert Collins, #571437)
 
172
 
 
173
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
 
174
  being thrown from ``xml_serializer`` on certain cElementTree setups.
 
175
  (Martin [gz], #254278)
 
176
 
63
177
* The old ``bzr selftest --benchmark`` option has been removed.
64
178
  <https://launchpad.net/bzr-usertest> is an actively-maintained
65
179
  macrobenchmark suite.
66
180
  (Martin Pool)
67
181
 
 
182
* `tree_files` and `internal_tree_files` are now deprecated in favor of
 
183
  `WorkingTree.open_containing_paths`.
 
184
  (Martin Pool)
 
185
 
 
186
* Upgrading or fetching from a non-rich-root repository to a rich-root
 
187
  repository (e.g. from pack-0.92 to 2a) no longer fails with
 
188
  ``'Inter1and2Helper' object has no attribute 'source_repo'``.  This was
 
189
  a regression from Bazaar 2.1.  (Andrew Bennetts, #636930)
 
190
  
 
191
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
192
  directory file handle after the chdir fails. Otherwise when passing many
 
193
  filenames into a command line ``bzr status`` we would leak descriptors.
 
194
  (John Arbash Meinel, #583486)
 
195
 
68
196
New Features
69
197
************
70
198
 
294
422
Testing
295
423
*******
296
424
 
 
425
* ``build_tree_contents`` can create symlinks.
 
426
  (Martin Pool, John Arbash Meinel)
 
427
 
297
428
* Catch socket errors to avoid
298
429
  bt.test_sftp_transport.SSHVendorBadConnection.test_bad_connection_ssh
299
430
  random failures. (Vincent Ladeuil, #601804)
333
464
bzr 2.2.1
334
465
#########
335
466
 
336
 
:Codename: ??
337
 
:2.2.1: NOT RELEASED YET
 
467
:2.2.1: 2010-09-17
 
468
 
 
469
This is a bugfix release which also includes bugfixes from 2.0.6 and
 
470
2.1.3. None are critical, but upgrading is recommended for all users on
 
471
earlier 2.2 releases.
338
472
 
339
473
Bug Fixes
340
474
*********
341
475
 
 
476
* Additional merges after an unrelated branch has been merged with its
 
477
  history no longer crash when deleted files are involved.
 
478
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
479
 
342
480
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
343
481
  previously-unversioned directory within the tree: the directory is
344
482
  marked versioned too.
345
483
  (Martin Pool, #192859)
346
484
 
 
485
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
486
  target of the symlink.
 
487
  (Martin Pool, John Arbash Meinel, #128562)
 
488
 
 
489
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
490
  permissions as ``.bzr`` directory on a POSIX OS.
 
491
  (Parth Malwankar, #262450)
 
492
 
347
493
* CommitBuilder now uses the committer instead of _config.username to generate
348
494
  the revision-id.  (Aaron Bentley, #614404)
349
495
 
 
496
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
497
  way which should help avoid problems with concurrent writers.
 
498
  (Vincent Ladeuil, #525571)
 
499
 
350
500
* Cope with Microsoft FTP server that returns reply '250 Directory
351
501
  created' when mkdir succeeds.  (Martin Pool, #224373)
352
502
 
 
503
* Don't traceback trying to unversion children files of an already
 
504
  unversioned directory.  (Vincent Ladeuil, #494221)
 
505
 
353
506
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
354
507
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
355
508
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
368
521
  later which can mangle bytestrings printed to the console.
369
522
  (Martin [gz], #631350)
370
523
 
 
524
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
525
  which can result in "missing referenced chk root keys" errors when
 
526
  fetching from repositories with affected revisions.
 
527
  (Andrew Bennetts, #522637)
 
528
 
 
529
* Raise ValueError instead of a string exception.
 
530
  (John Arbash Meinel, #586926)
 
531
 
 
532
* Reduce peak memory by one copy of compressed text.
 
533
  (John Arbash Meinel, #566940)
 
534
 
 
535
* Repositories accessed via a smart server now reject being stacked on a
 
536
  repository in an incompatible format, as is the case when accessing them
 
537
  via other methods.  This was causing fetches from those repositories via
 
538
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
539
  (Andrew Bennetts, #562380)
 
540
 
 
541
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
542
  error. This error was caused by 2.0 not being updated when upstream
 
543
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
544
  ``done``. (Robert Collins, #571437)
 
545
 
 
546
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
 
547
  being thrown from ``xml_serializer`` on certain cElementTree setups.
 
548
  (Martin [gz], #254278)
 
549
 
371
550
* Upgrading or fetching from a non-rich-root repository to a rich-root
372
551
  repository (e.g. from pack-0.92 to 2a) no longer fails with
373
552
  ``'Inter1and2Helper' object has no attribute 'source_repo'``.  This was
374
553
  a regression from Bazaar 2.1.  (Andrew Bennetts, #636930)
375
554
  
376
 
 
377
 
Improvements
378
 
************
 
555
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
556
  directory file handle after the chdir fails. Otherwise when passing many
 
557
  filenames into a command line ``bzr status`` we would leak descriptors.
 
558
  (John Arbash Meinel, #583486)
379
559
 
380
560
Documentation
381
561
*************
393
573
Testing
394
574
*******
395
575
 
 
576
* ``build_tree_contents`` can create symlinks.
 
577
  (Martin Pool, John Arbash Meinel)
 
578
 
396
579
* Tracebacks from a parameterized test are no longer reported against every
397
580
  parameterization of that test.  This was done by adding a hack to
398
581
  ``bzrlib.tests.clone_test`` so that it no longer causes
1191
1374
  without specific permission from the user.  (Martin Pool, #515052)
1192
1375
 
1193
1376
* Parsing of command lines, for example in ``diff --using``, no longer
1194
 
  treats backslash as an escape character on Windows.   (Gordon Tyler,
1195
 
  #392428)
 
1377
  treats backslash as an escape character on Windows.
 
1378
  (Gordon Tyler, #392428)
1196
1379
 
1197
1380
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
1198
1381
  a list of plugin names separated by ':' (';' on windows).
1431
1614
#########
1432
1615
 
1433
1616
:Codename: Do run run
1434
 
:2.1.3: NOT RELEASED YET
1435
 
 
1436
 
Compatibility Breaks
1437
 
********************
1438
 
 
1439
 
New Features
1440
 
************
 
1617
:2.1.3: 2010-09-17
 
1618
 
 
1619
The third release in our 2.1 series addresses several user-inconvenience bugs
 
1620
(and includes the fixes done in 2.0.6).  None are critical, but upgrading is
 
1621
recommended for all users on earlier 2.1 releases.
1441
1622
 
1442
1623
Bug Fixes
1443
1624
*********
1444
1625
 
 
1626
* Additional merges after an unrelated branch has been merged with its
 
1627
  history no longer crash when deleted files are involved.
 
1628
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
1629
 
1445
1630
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
1446
1631
  previously-unversioned directory within the tree: the directory is
1447
1632
  marked versioned too.  
1448
1633
  (Martin Pool, #192859)
1449
1634
 
 
1635
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
1636
  target of the symlink.
 
1637
  (Martin Pool, John Arbash Meinel, #128562)
 
1638
 
 
1639
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
1640
  permissions as ``.bzr`` directory on a POSIX OS.
 
1641
  (Parth Malwankar, #262450)
 
1642
 
1450
1643
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
1451
1644
  way which should help avoid problems with concurrent writers.
1452
1645
  (Vincent Ladeuil, #525571)
1474
1667
* Raise ValueError instead of a string exception.
1475
1668
  (John Arbash Meinel, #586926)
1476
1669
 
1477
 
* Recursive binding for checkouts is now detected by bzr. A clear error
1478
 
  message is shown to the user. (Parth Malwankar, #405192)
 
1670
* Reduce peak memory by one copy of compressed text.
 
1671
  (John Arbash Meinel, #566940)
 
1672
 
 
1673
* Repositories accessed via a smart server now reject being stacked on a
 
1674
  repository in an incompatible format, as is the case when accessing them
 
1675
  via other methods.  This was causing fetches from those repositories via
 
1676
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
1677
  (Andrew Bennetts, #562380)
 
1678
 
 
1679
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1680
  error. This error was caused by 2.0 not being updated when upstream
 
1681
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1682
  ``done``. (Robert Collins, #571437)
1479
1683
 
1480
1684
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
1481
1685
  being thrown from ``xml_serializer`` on certain cElementTree setups.
1482
1686
  (Martin [gz], #254278)
1483
1687
 
1484
 
Improvements
1485
 
************
1486
 
 
1487
 
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
1488
 
  tree, and works with unrelated branches.  (Andrew Bennetts)
1489
 
 
1490
 
Documentation
1491
 
*************
1492
 
 
1493
 
* ``bzr help patterns`` now explains case insensitive patterns and
1494
 
  points to Python regular expression documentation.
1495
 
  (Parth Malwankar, #594386)
1496
 
 
1497
 
API Changes
1498
 
***********
1499
 
 
1500
 
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
1501
 
 
1502
 
Internals
1503
 
*********
 
1688
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1689
  directory file handle after the chdir fails. Otherwise when passing many
 
1690
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1691
  (John Arbash Meinel, #583486)
1504
1692
 
1505
1693
Testing
1506
1694
*******
1507
1695
 
1508
 
* Unit test added to ensure that "message" is not uses as a format variable
1509
 
  name in BzrError subclasses as this conflicts with some Python versions.
1510
 
  (Parth Malwankar, #603461)
 
1696
* ``build_tree_contents`` can create symlinks.
 
1697
  (Martin Pool, John Arbash Meinel)
1511
1698
 
1512
1699
bzr 2.1.2
1513
1700
#########
1987
2174
bzr 2.0.6
1988
2175
#########
1989
2176
 
1990
 
:2.0.6: NOT RELEASED YET
 
2177
:2.0.6: 2010-09-17
 
2178
 
 
2179
The sixth release in our 2.0 series addresses several user-inconvenience
 
2180
bugs.  None are critical, but upgrading is recommended for all users on
 
2181
earlier 2.0 releases.
1991
2182
 
1992
2183
Bug Fixes
1993
2184
*********
6355
6546
  when the path to the root of the tree has been given. Users of
6356
6547
  the internal ``show_tree_status`` function should be aware that
6357
6548
  the show_pending flag is now authoritative for showing pending
6358
 
  merges, as it was originally. (Robert Collins, #225204)
 
6549
  merges, as it was originally. (Robert Collins, #255204)
6359
6550
 
6360
6551
* Set valid default _param_name for Option so that ListOption can embed
6361
6552
  '-' in names. (Vincent Ladeuil, #263249)
10271
10462
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
10272
10463
  iterator was using direct comparison and ``'abc/a'`` sorts after
10273
10464
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
10274
 
  (John Arbash Meinel, #111227)
 
10465
  (John Arbash Meinel, #111127)
10275
10466
 
10276
10467
* Handle when someone renames a file on disk without telling bzr.
10277
10468
  Previously we would report the first file as missing, but not show
11555
11746
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
11556
11747
  other branch, and will not push or pull between the two branches.
11557
11748
  API users will need to perform a push or pull or update operation if they
11558
 
  require branch synchronisation to take place. (Robert Collins, #47344)
 
11749
  require branch synchronisation to take place. (Robert Collins, #43744)
11559
11750
 
11560
11751
* When creating a tarball or zipfile export, export unicode names as utf-8
11561
11752
  paths. This may not work perfectly on all platforms, but has the best
11562
 
  chance of working in the common case. (John Arbash Meinel, #56816)
 
11753
  chance of working in the common case. (John Arbash Meinel, #56815)
11563
11754
 
11564
11755
* When committing, only files that exist in working tree or basis tree
11565
11756
  may be specified (Aaron Bentley, #50793)