Bazaar 2.3b5

Milestone information

Project:
Bazaar
Series:
2.3
Version:
2.3b5
Released:
2011-01-13  
Registrant:
Vincent Ladeuil
Release registered:
2011-01-13
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:
2 Jelmer Vernooij, 7 John A Meinel, 4 Martin Packman, 3 Matthew Fuller, 1 Max Bowsher, 1 Neil Martinsen-Burrell, 1 Soren Hansen, 7 Vincent Ladeuil
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
27 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon bzr-2.3b5.win-amd64-py2.6.exe (md5, sig) Windows Python 2.7 amd64 Installer 161
last downloaded 9 weeks ago
download icon bzr-2.3b5.win32-py2.7.exe (md5, sig) Windows Python 2.7 Installer 168
last downloaded 9 weeks ago
download icon bzr-2.3b5.win32-py2.6.exe (md5, sig) Windows Python 2.6 Installer 119
last downloaded 9 weeks ago
download icon bzr-2.3b5-setup.exe (md5, sig) Windows Standalone Installer 290
last downloaded 9 weeks ago
download icon bzr-2.3b5.win32-py2.5.exe (md5, sig) Windows Python 2.5 Installer 72
last downloaded 9 weeks ago
download icon bzr-2.3b5.win32-py2.4.exe (md5, sig) Windows Python 2.4 Installer 66
last downloaded 9 weeks ago
download icon Bazaar-2.3b5-OSX-10.5-1.dmg (md5, sig) Mac OS X 10.5 Installer 70
last downloaded 9 weeks ago
download icon Bazaar-2.3b5-OSX-10.6-1.dmg (md5, sig) Mac OS X 10.6 Installer 181
last downloaded 13 days ago
download icon bzr-2.3b5.tar.gz (md5, sig) Source tarball 1,590
last downloaded 9 weeks ago
Total downloads: 2,717

Release notes 

This is the fifth and **last** beta of the 2.3 series, leading up to a 2.3.0
release in February. Beta releases are suitable for everyday use but may cause
some incompatibilities with plugins.

2.3b5 includes bug fixes for committing to stacked branches, smoother upgrades
of multiple branches, compatibility with python-2.7, full test suite passing
on Ubuntu Natty and windows, less round-trips for several smart server
operations, better support text conflicts resolve actions and some more.

All known fixed bugs in other series (2.0, 2.1, 2.2) are also included here.

Changelog 

View the full changelog

bzr 2.3b5
#########

:2.3.b5: 2011-01-13

External Compatibility Breaks
*****************************

(none)

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

* A redundant parent inventories calculation was removed from
  ``fetch.py``, as ``Repository.insert_stream`` already reports any
  missing inventories. This removes at least one network roundtrip when
  pushing to a stacked branch. (Andrew Bennetts)

* ``ControlDir.sprout`` no longer opens the target repository more than
  once. This avoids some unnecessary IO, and removes a network roundtrip
  when doing ``bzr branch`` to a smart server URL. (Andrew Bennetts)

* ``bzr modified`` now read-locks the working tree (and branch and
  repository) just once. (Andrew Bennetts)

* ``bzr resolve`` now accepts ``--take-this`` and ``--take-other`` actions
  for text conflicts. This *replace* the whole file with the content
  designated by the action. This will *ignore* all differences that would
  have been merge cleanly otherwise. (Vincent Ladeuil, #638451)

* ``bzr tags``'s "sort" argument now allows registering custom sort
  methods using the ``bzrlib.tag.tag_sort_methods`` registry.
  (Jelmer Vernooij, #701244)

* ``bt.test_http`` was breaking ``os.environ`` by erasing the values saved by
  ``TestCase`` leading to ``bt.test_import_tariff`` failures.
  (Vincent Ladeuil, #690563)

* ``upgrade`` now upgrades dependent branches when a shared repository is
  specified. It also supports new options: ``--dry-run`` for showing what
  will happen and ``--clean`` to remove the backup directory on successful
  completion. (Ian Clatworthy, Matthew Fuller, #89830, #374734, #422450)

Bug Fixes
*********

.. Fixes for situations where bzr would previously crash or give incorrect
   or undesirable results.

* Avoid leaking SSH subprocess communication socket into unrelated child
  processes, which could cause bzr to hang on exit. (Max Bowsher, #696285)

* ``bzr break-lock`` on a corrupted lock file works correctly, rather than
  raising a PermissionDenied error. We were accidentally holding open the
  file we were trying to delete. (John Arbash Meinel, #659978)

* ``bzr update`` in a checkout of a readonly branch works again, without
  trying to set the tags in the master branch. This had been broken by the
  bug fix for bug #603395. (John Arbash Meinel, #701212)

* Per-transport tests now prefer to use ``Transport.get_bytes()`` rather
  than ``Transport.get().read()``. The SFTP code uses an async message to
  close the file handle if you let the handle die from refcounting, while
  it uses a synchronous message if you close it directly. This should help
  prevent random test suite failures from race conditions.
  (John Arbash Meinel, #681047)

* Stop using ``bzrlib.tuned_gzip.GzipFile``. It is incompatible with
  python-2.7 and was only used for Knit format repositories, which haven't
  been recommended since 2007. The file itself will be removed in the next
  release. (John Arbash Meinel)

* The BZR_COLUMNS environment variable can be set to 0 to indicate no
  limitation on the width of the terminal. (Neil Martinsen-Burrell, #675652)

* Treat WSAECONNABORTED the same as WSAECONNRESET for the purposes of
  considering a smart data stream as being interrupted. This fixes a
  failure in the windows test suite, that was trying to ensure we cleanly
  handled a server disconnect. (John Arbash Meinel, #581311, #686587)

* Unshelving changes that occur in a now-unversioned directory now restore
  the directory properly rather than crashing.
  (John Arbash Meinel, #389674)

* You are now able to commit directly to a stacked branch. Any needed
  parent inventories will be filled in as part of the commit process.
  (John Arbash Meinel, #375013)

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

* Better document the rules to update the bzr freshmeat page when
  doing a release. (Vincent Ladeuil, #690515)

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

* ``Branch.sprout``, ``BranchFormat.initalize`` and
  ``ControlDir.create_branch`` now take an optional ``repository`` keyword
  argument, and ``BranchFormat.open`` now takes an optional
  ``found_repository`` keyword argument. These provide the repository
  object for new branch object to use (for cases when the caller has
  already opened that repository). Implementations of these APIs will
  need to be updated to accept these arguments. (Andrew Bennetts)

* ``bzrlib.tuned_gzip.GzipFile`` is now deprecated and will be removed in
  the bzr-2.4 series. Code that was using it can just use the python
  stdlib ``gzip.GzipFile``. (John Arbash Meinel)

Testing
*******

* ``bzrlib.tests`` defines ``isolated_environ`` with the definitions of all
  the environment variables the tests should care about. It also defines
  ``override_os_environ`` and ``restore_os_environ`` to properly implement
  isolation from ``os.environ`` for tests. ``bzrlib.tests`` now defines a
  ``DocTestSuite`` class using this facility for all ``bzrlib``
  doctests. (Vincent Ladeuil, #321320)

* Catch exceptions related to bug #637821 during test cleanup to avoid
  spurious failures. (Vincent Ladeuil, #686008).

* Check sphinx compatibility for tests requiring older sphinx versions.
  (Vincent Ladeuil, #688072)

* ``test_onto_transport`` in the Launchpad plugin can now run with Python
  2.7. (Vincent Ladeuil, #654733)

* ``TestCase._captureVar`` and ``TestCase._old_env`` have been deleted due to
  bug #690563. Test writers are encouraged to use ``TestCase.overrideEnv``
  instead. (Vincent Ladeuil)

* ``TestDebuntuExpansions`` was escaping the test isolation by calling the
  wrong base class ``setUp``. (Vincent Ladeuil, #684662)

0 blueprints and 27 bugs targeted

Bug report Importance Assignee Status
701212 #701212 'bzr update' in readonly checkout broken in bzr.dev r5557 2 Critical John A Meinel  10 Fix Released
321320 #321320 bzr's doctests are not isolated (branchbuilder doctests check global gpg configuration) 3 High Vincent Ladeuil  10 Fix Released
374734 #374734 upgrading many branches is tricky 3 High Matthew Fuller  10 Fix Released
375013 #375013 Cannot commit directly to a stacked branch 3 High John A Meinel  10 Fix Released
638451 #638451 bzr resolve --take-other bzr: ERROR: Tree transform is malformed [('duplicate', None, 'new-1', None)] 3 High Vincent Ladeuil  10 Fix Released
389674 #389674 NotImplementedError(_PreviewTree.inventory) when unshelving must create the parent directory 4 Medium John A Meinel  10 Fix Released
581311 #581311 bt.test_bundle.TestReadMergeableFromUrl.test_smart_server_connection_reset fails on windows 4 Medium John A Meinel  10 Fix Released
654731 #654731 Using tuned_gzip.GzipFile.readline corrupts data on Python 2.7 4 Medium   10 Fix Released
675652 #675652 BZR_COLUMNS=0 ought to disable wrapping 4 Medium Neil Martinsen-Burrell  10 Fix Released
684662 #684662 TestDebuntuExpansions creatively escapes test isolation 4 Medium Vincent Ladeuil  10 Fix Released
686008 #686008 TypeError: 'member_descriptor' object is not callable 4 Medium Vincent Ladeuil  10 Fix Released
688072 #688072 tests failures with sphinx >= 1.0 4 Medium Vincent Ladeuil  10 Fix Released
690515 #690515 Freshmeat.net page not up to date 4 Medium Vincent Ladeuil  10 Fix Released
690563 #690563 bzrlib.tests.test_import_tariff.TestImportTariffs.test_simple_local failure 4 Medium Vincent Ladeuil  10 Fix Released
422450 #422450 bzr upgrade should remove backup.bzr after a successful upgrade 5 Low Matthew Fuller  10 Fix Released
614595 #614595 unpack_highres_date doctest fails on Python 2.7 5 Low Jelmer Vernooij  10 Fix Released
637674 #637674 RemotedTestCase.addCleanup exists but fails under Python 2.7 5 Low Martin Packman  10 Fix Released
659978 #659978 bt.test_lockdir.TestLockDir.test_break_lock_corrupt_info fails on windows 5 Low John A Meinel  10 Fix Released
681047 #681047 Random failures on SFTPTransport tests on windows 5 Low John A Meinel  10 Fix Released
686587 #686587 Random failure on bt.test_http.SmartClientAgainstNotSmartServer.test_probe_smart_server 5 Low John A Meinel  10 Fix Released
686601 #686601 test_osutils.TestWalkDirs.test_walkdirs_encoding_error fails on Mac OSX 5 Low Martin Packman  10 Fix Released
686611 #686611 `bzr add file1 file2` in non-ascii folder fails, but `bzr add file1` works 5 Low Martin Packman  10 Fix Released
696285 #696285 SmartSSHClientMedium.__del__ blocks forever, because of socket leaked into unrelated child process 5 Low Max Bowsher  10 Fix Released
89830 #89830 'upgrade' is blind 6 Wishlist Matthew Fuller  10 Fix Released
686595 #686595 Windows-specific case insensitive globbing tests fail on Mac OSX 6 Wishlist Martin Packman  10 Fix Released
701244 #701244 "bzr tags --sort=debversion" 6 Wishlist Jelmer Vernooij  10 Fix Released
701898 #701898 "bzr version-info --python" does not give pep-8 compliant output 1 Undecided Soren Hansen  10 Fix Released
This milestone contains Public information
Everyone can see this information.