Bazaar 2.0rc1 "no worries"

The 2.0 release for bzr is the release that makes the 2a format the default.

Milestone information

Project:
Bazaar
Series:
2.0
Version:
2.0rc1
Code name:
no worries
Released:
2009-08-26  
Registrant:
Robert Collins
Release registered:
2009-09-06
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
1 Alexander Belchenko, 7 Andrew Bennetts, 6 John A Meinel, 6 Martin Pool, 10 Robert Collins, 3 Vincent Ladeuil
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
1 Invalid, 34 Fix Released

Download files for this release

File Description Downloads

Release notes 

** We discovered during testing that this release candidate has a serious bug in upgrading repositories to format 2a. We've therefore removed it. An rc2 with bug 422849 fixed should be out soon. **

This release of Bazaar makes 2a 'brisbane-core' format the default. Most of the work in this release now focuses on bug fixes and stabilization, covering both 2a and previous formats.

Changelog 

View the full changelog

bzr 2.0rc1
##########

:Codename: no worries
:2.0rc1: 2009-08-26

This release of Bazaar makes 2a 'brisbane-core' format the
default. Most of the work in this release now focuses on bug
fixes and stabilization, covering both 2a and previous formats.

The Bazaar team decided that 2.0 will be a long-term supported
release, with bugfix-only releases based on it continuing for at
least six months or until the following stable release (we said
that previously, but that's worth repeating).

Compatibility Breaks
********************

* The default format for bzr is now ``2a``. This format brings many
  significant performance and size improvements. bzr can pull from
  any existing repository into a ``2a`` one, but can only transfer
  into ``rich-root`` repositories from ``2a``. The Upgrade guide
  has more information about this change. (Robert Collins)

* On Windows auto-detection of Putty's plink.exe is disabled.
  Default SSH client for Windows is paramiko. User still can force
  usage of plink if explicitly set environment variable BZR_SSH=plink.
  (#414743, Alexander Belchenko)

New Features
************

* ``bzr branch --switch`` can now switch the checkout in the current directory
  to the newly created branch. (Lukáš Lalinský)

Bug Fixes
*********

* Further tweaks to handling of ``bzr add`` messages about ignored files.
  (Jason Spashett, #76616)

* Fetches were being requested in 'groupcompress' order, but weren't
  recombining the groups. Thus they would 'fragment' to get the correct
  order, but not 'recombine' to actually benefit from it. Until we get
  recombining to work, switching to 'unordered' fetches avoids the
  fragmentation. (John Arbash Meinel, #402645)

* Fix a pycurl related test failure on karmic by recognizing an error
  raised by newer versions of pycurl.
  (Vincent Ladeuil, #306264)

* Fix a test failure on karmic by making a locale test more robust.
  (Vincent Ladeuil, #413514)

* Fix IndexError printing CannotBindAddress errors.
  (Martin Pool, #286871)

* Fix "Revision ... not present" errors when upgrading stacked branches,
  or when doing fetches from a stacked source to a stacked target.
  (Andrew Bennetts, #399140)

* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
  batches together small fetches from 2a repositories, rather than
  fetching only a few hundred bytes at a time.
  (Andrew Bennetts, #402657)

Improvements
************

* A better description of the platform is shown in crash tracebacks, ``bzr
  --version`` and ``bzr selftest``.
  (Martin Pool, #409137)

* bzr can now (again) capture crash data through the apport library,
  so that a single human-readable file can be attached to bug reports.
  This can be disabled by using ``-Dno_apport`` on the command line, or by
  putting ``no_apport`` into the ``debug_flags`` section of
  ``bazaar.conf``.
  (Martin Pool, Robert Collins, #389328)

* ``bzr push`` locally on windows will no longer give a locking error with
  dirstate based formats. (Robert Collins)

* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
  (Robert Collins, #305006)

* Commit of specific files no longer prevents using the the iter_changes
  codepath. On 2a repositories, commit of specific files should now be as
  fast, or slightly faster, than a full commit. (Robert Collins)

* The internal core code that handles specific file operations like
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
  include the parent directories if they have altered, and when a
  directory stops being a directory its children are always included. This
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
  faster commit of specific paths. (Robert Collins, #347649)

Documentation
*************

* New developer documentation for content filtering.
  (Martin Pool)

API Changes
***********

* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
  classes changed to manage lock lifetime of the trees they open in a way
  consistent with reader-exclusive locks. (Robert Collins, #305006)

Testing
*******

0 blueprints and 35 bugs targeted

Bug report Importance Assignee Status
416732 #416732 check reports "Missing inventory {('TREE_ROOT'..." for trivial non-rich-root branch 2 Critical Robert Collins  3 Invalid
368921 #368921 rich root upgrade adds inconsistent parents/rich root parents are not evaluated correctly. 2 Critical Andrew Bennetts  10 Fix Released
374738 #374738 hpss<->client should stream inventory deltas for xml to chk inventory situations 2 Critical Andrew Bennetts  10 Fix Released
385826 #385826 push and pull with different formats extremely slow on network 2 Critical Andrew Bennetts  10 Fix Released
398668 #398668 2a format should be the default but some tests fail 2 Critical Robert Collins  10 Fix Released
402645 #402645 fetch for --2a formats seems to be fragmenting 2 Critical John A Meinel  10 Fix Released
402652 #402652 smart fetch for --2a does not opportunistically combine groups 2 Critical Robert Collins  10 Fix Released
402657 #402657 2a fetch over dumb transport reads one group at a time 2 Critical Andrew Bennetts  10 Fix Released
402778 #402778 Conversion to --2a broken when upgrading into a stacked branch 2 Critical John A Meinel  10 Fix Released
406686 #406686 get_stream_for_missing_keys does not include inventory CHK pages. 2 Critical Andrew Bennetts  10 Fix Released
412198 #412198 Packing a stacked branch removes parent inventories (in --2a) 2 Critical John A Meinel  10 Fix Released
415508 #415508 Content filtering breaks commit w/ merge parents 2 Critical Martin Pool  10 Fix Released
416761 #416761 upgrade of branch in a shared repo failing 2 Critical Robert Collins  10 Fix Released
419241 #419241 segfault doing 'bzr log' on a stacked branch 2 Critical John A Meinel  10 Fix Released
422849 #422849 Incorrect conversions in 2.0rc1 and bzr.dev 2 Critical Robert Collins  10 Fix Released
347649 #347649 iter_changes missing support needed for commit 3 High Robert Collins  10 Fix Released
389328 #389328 bzr should use apport to report errors 3 High Martin Pool  10 Fix Released
399140 #399140 upgrading branch on launchpad to 2a resulted in missing revision error 3 High Andrew Bennetts  10 Fix Released
403810 #403810 InterDifferingSerializer does not work correctly on stacked branches when fetching between 1.9-rich-root and 2a 3 High John A Meinel  10 Fix Released
408824 #408824 test_upgrade tests assume you can upgrade to format knit 3 High Martin Pool  10 Fix Released
413514 #413514 TestLocale.test_log_BOGUS fails on karmic python2.6 3 High Vincent Ladeuil  10 Fix Released
413541 #413541 test_upgrade_up_to_date fails in 2a with "Cannot convert from format Branch format 7 to format <class 'bzrlib.branch.BzrBranchFormat6'>." 3 High Martin Pool  10 Fix Released
413584 #413584 TestStacking failures when default format is 2a 3 High Robert Collins  10 Fix Released
413957 #413957 test_pack_optimizes_pack_order fails with default set to 2a 3 High Robert Collins  10 Fix Released
414743 #414743 paramiko should be default client for Windows 3 High Alexander Belchenko  10 Fix Released
286871 #286871 IndexError raising CannotBindAddress error starting bzr serve 4 Medium   10 Fix Released
305006 #305006 shelve fails on win32 with "Could not acquire lock" 4 Medium Robert Collins  10 Fix Released
386180 #386180 "make check" running tests twice is inefficient 4 Medium   10 Fix Released
389141 #389141 Stream fetch fails "insert_from_broken_repo" test 4 Medium Robert Collins  10 Fix Released
392401 #392401 Packaging Bug: test SSL certificates missing from 1.16 PPA 4 Medium Vincent Ladeuil  10 Fix Released
403523 #403523 selective bzr status against a historic revision fails 4 Medium Martin Pool  10 Fix Released
410917 #410917 inter-format push to remote 2a branch does packing on local end 4 Medium Andrew Bennetts  10 Fix Released
306264 #306264 tests failure in bzr-1.10: Failure when receiving data from the peer 5 Low Vincent Ladeuil  10 Fix Released
409137 #409137 traceback should include lsb release information 5 Low Martin Pool  10 Fix Released
350796 #350796 merge_depth from merge_sorted_revisions incorrect. 1 Undecided John A Meinel  10 Fix Released
This milestone contains Public information
Everyone can see this information.