Bazaar 2.4b3

Milestone information

Vincent Ladeuil
Release registered:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata


Assigned to you:
No blueprints or bugs assigned to you.
1 Dr Al, 1 INADA Naoki, 8 Jelmer Vernooij, 6 John A Meinel, 3 Jonathan Riddell, 4 Martin Packman, 2 Martin Pool, 1 Matt Giuca, 4 Vincent Ladeuil
No blueprints are targeted to this milestone.
30 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.4b3-2-setup.exe (md5, sig) Windows Standalone Installer 161
last downloaded 81 weeks ago
download icon bzr-2.4b3-2.win32-py2.7.exe (md5, sig) Windows Python 2.7 Installer 134
last downloaded 81 weeks ago
download icon bzr-2.4b3-2.win32-py2.6.exe (md5, sig) Windows Python 2.6 Installer 70
last downloaded 80 weeks ago
download icon Bazaar-2.4b3-OSX-10.6-2.dmg (md5, sig) Mac OS X 10.6 installer 199
last downloaded 22 weeks ago
download icon bzr-2.4b3-1-setup.exe (md5, sig) Windows Standalone Installer 544
last downloaded 49 weeks ago
download icon bzr-2.4b3-1.win32-py2.7.exe (md5, sig) Windows Python 2.7 Installer 205
last downloaded 81 weeks ago
download icon bzr-2.4b3-1.win32-py2.6.exe (md5, sig) Windows Python 2.6 Installer 86
last downloaded 43 weeks ago
download icon bzr-2.4b3.tar.gz (md5, sig) Source tarball 1,497
last downloaded 25 weeks ago
Total downloads: 2,896

Release notes 

This is the third beta of the 2.4 series, leading to a 2.4.0 release in
August 2011. Beta releases are suitable for everyday use but may cause some
incompatibilities with plugins.

This release includes all bug fixed in previous series known at the time of
this release.


View the full changelog

External Compatibility Breaks

* ``bzr-2.4`` has officially dropped support for python2.4 and python2.5.
  We will continue to maintain ``bzr-2.3`` for people who still need to
  use those versions of python. (John Arbash Meinel)

New Features

* The text compressor used for 2a repositories now has a tweakable
  parameter that can be set in bazaar.conf.
  ``bzr.groupcompress.max_entries_per_source`` default of 65536.
  When doing compression, we build up an index of locations to match
  against. Setting this higher will result in slightly better compression,
  at a cost of more memory. Note that a value of 65k represents fully
  sampling a 1MB file. So this only has an effect when compressing texts
  larger than N*16 bytes. (John Arbash Meinel, #602614)


* ``bzr branch --stacked`` from a smart server uses the network a little
  more efficiently. For a simple branch it reduces the number of
  round-trips by about 20%. (Andrew Bennetts)

* ``bzr log --line`` scales the width of the author field with the size of
  the line. This means that the full author name is shown when the
  environment variable BZR_COLUMNS=0. (Neil Martinsen-Burrell)

* ``bzr pull`` now properly triggers the fast
  ``CHKInventory.iter_changes`` rather than the slow generic
  inter-Inventory changes. It used to use a ``DirStateRevisionTree`` as
  one of the source trees, which is faster when we have to read the whole
  inventory anyway, but much slower when we can get just the delta out of
  the repository. On a 70k record tree, this changes ``bzr pull`` from 28s
  down to 17s. (John Arbash Meinel, #780677)

* Slightly reduced memory consumption when fetching into a 2a repository
  by reusing existing caching a little better. (Andrew Bennetts)

* Speed up ``bzr status`` by a little bit when there are a couple of
  modified files. We now track how many files we have seen that need
  updating, and only rewrite the dirstate file if enough of them have
  changed. The default is 10, and can be overridden by setting the branch
  option "``bzr.workingtree.worth_saving_limit``".
  (Ian Clatworthy, John Arbash Meinel, #380202)

* Speed up ``bzr uncommit``. Instead of resetting the dirstate from
  scratch, use ``update_basis_by_delta``, computing the delta from the
  repository. (John Arbash Meinel, #780544)

Bug Fixes

* All Tree types can now be exported as tar.*, zip or directories.
  (Aaron Bentley)

* ``bzr merge --no-remember location`` never sets ``submit_branch``.
  (Vincent Ladeuil, #782169)

* ``bzr pull --no-remember location`` never sets
  ``parent_location``. ``bzr push --no-remember location`` never
  sets ``push_location``. ``bzr send --no-remember
  submit_location public_location`` never sets ``submit_branch``
  nor ``public_branch``. (Vincent Ladeuil)

* Conflicts involving non-ascii filenames are now properly reported rather
  than failing with a UnicodeEncodeError. (Martin [GZ], #686161)

* Correct parent is now set when using 'switch -b' with bound branches.
  (A. S. Budden, #513709)

* Fix `bzr plugins` regression in bzr 2.4 which resulted in a traceback
  from writelines on ckj terminals. (Martin [GZ], #754082)

* ``WT.inventory`` and ``WT.iter_entries_by_dir()`` was not correctly
  reporting subdirectories that were tree references (in formats that
  supported them). (John Arbash Meinel, #764677)

* Merging into empty branches now gives an error as this is currently
  not supported. (Jonathan Riddell, #242175)

* Do not show exception to user on pointless commit error (Jonathan
  Riddell #317357)

* ``WT.update_basis_by_delta`` no longer requires that the deltas match
  the current WT state. This allows ``update_basis_by_delta`` to be used
  by more commands than just commit. Updating with a delta allows us to
  not load the whole inventory, which can take 10+s with large trees.
  (Jonathan Riddell, John Arbash Meinel, #781168)


* Restore the workaround for option names including dots (--1.14) which was
  disabled when we stopped listing --1.9 as a format.
  (Vincent Ladeuil, #782289)

API Changes

* ``annotate_file`` has been deprecated in favor of
  ``annotate_file_revision_tree``. (Jelmer Vernooij, #775598)

* ``Branch.fetch`` now takes an optional ``limit`` argument.
  (Andrew Bennetts, Jelmer Vernooij, #750175)

* ``Inter.get`` now raises ``NoCompatibleInter`` if there are no
  compatible optimisers rather than an instance of the class it is called
  on. (Jelmer Vernooij)

* ``Branch.push`` now takes a ``lossy`` argument.
  ``Branch.lossy_push`` has been removed.
  (Jelmer Vernooij)

* New method ``Repository.get_file_graph`` which can return the
  per-file revision graph. (Jelmer Vernooij, #775578)

* The default implementation of ``Branch`` is now oriented to
  storing the branch tip. Branch implementations which store the full
  history should now subclass ``FullHistoryBzrBranch``.
  ``Branch._last_revision_info`` has been renamed to
  ``Branch._read_last_revision_info`` (Jelmer Vernooij)

* ``Tree.__iter__`` has been deprecated; use ``Tree.all_file_ids``
  instead. (Jelmer Vernooij)

* ``Tree.get_symlink_target`` now takes an optional ``path``
  argument. (Jelmer Vernooij)


* Removed ``bzrlib.branch._run_with_write_locked_target`` as
  ``bzrlib.cleanup`` provides the same functionality in a more general
  way. (Andrew Bennetts)


* A test that was expected to fail but passes instead now counts as a failure
  catching up with new testtools and subunit handling. (Martin [GZ], #654474)

* Make it easier for plugins to reuse the per_workingtree scenarios by
  restoring the wt_scenarios helper that was accidentally deleted.
  (Vincent Ladeuil, #783472)

* Removed ``test_breakin`` tests that were excessively prone to hanging,
  did not work on Wine, and partly already disabled.
  (Martin Pool, #408814, #746985)

* Windows locations are different and should be tested accordingly.
  (Vincent Ladeuil, #788131)

0 blueprints and 30 bugs targeted

Bug report Importance Assignee Status
765430 #765430 Failed to push to svn repository 2 Critical Jelmer Vernooij  10 Fix Released
242175 #242175 ValueError: WorkingTree.set_root_id with fileid=None when merging into empty branch 3 High Jonathan Riddell  10 Fix Released
433734 #433734 documentation doesn't make its licence terms clear 3 High Jonathan Riddell  10 Fix Released
602614 #602614 Out of memory error in _ensure_content on auto repacking 3 High John A Meinel  10 Fix Released
656170 #656170 EBADF in paramiko during parallel selftest 3 High John A Meinel  10 Fix Released
750175 #750175 way to limit number of revisions processed during fetch 3 High Jelmer Vernooij  10 Fix Released
781168 #781168 WT.update_basis_by_delta checks the current tree state to determine InvalidDelta 3 High John A Meinel  10 Fix Released
782289 #782289 `make chm-sphinx` failed with errors 3 High Vincent Ladeuil  10 Fix Released
786476 #786476 blackbox.test_conflicts.TestUnicodePaths failures on natty without proper locale set 3 High Martin Packman  10 Fix Released
523746 #523746 crash with winmerge in cp932 japanese character 4 Medium INADA Naoki  10 Fix Released
654474 #654474 An unexpectedSuccess is like a failure not a success 4 Medium Martin Packman  10 Fix Released
730286 #730286 deprecate Branch.set_revision_history 4 Medium Jelmer Vernooij  10 Fix Released
746985 #746985 test_breakin fails on wine: failed to send CTRL_BREAK: Invalid function 4 Medium Martin Pool  10 Fix Released
754082 #754082 (2.4b1)`bzr plugins` fails with TypeError in writelines 4 Medium Martin Packman  10 Fix Released
759096 #759096 'bzr revert' shouldn't be much slower than 'bzr status' 4 Medium John A Meinel  10 Fix Released
767212 #767212 bzrlib.tests.per_working_tree requires trees to have an inventory 4 Medium Jelmer Vernooij  10 Fix Released
771765 #771765 Branch.update_revisions should be removed 4 Medium Jelmer Vernooij  10 Fix Released
775578 #775578 Repository.get_file_graph(). 4 Medium Jelmer Vernooij  10 Fix Released
775598 #775598 "bzr annotate" uses versioned files API 4 Medium Jelmer Vernooij  10 Fix Released
780544 #780544 'bzr uncommit' could use a update_basis_by_delta 4 Medium John A Meinel  10 Fix Released
780677 #780677 'bzr pull' uses generic iter_changes api 4 Medium John A Meinel  10 Fix Released
782169 #782169 submit_branch automatic handling is confusing 4 Medium Vincent Ladeuil  10 Fix Released
783472 #783472 per_working_tree should provide reusable scenarios 4 Medium Vincent Ladeuil  10 Fix Released
788131 #788131 TestLocationMatcher.test_file_urls_are_normalized failure on windows 4 Medium Vincent Ladeuil  10 Fix Released
317357 #317357 pointless commit message now ugly 5 Low Jonathan Riddell  10 Fix Released
408814 #408814 test_breakin known failure with "subprocess wasn't terminated, it had to be killed" 5 Low Martin Pool  10 Fix Released
513709 #513709 "switch -b" sets incorrect parent for heavyweight checkout 5 Low Dr Al  10 Fix Released
686161 #686161 conflicts involving unicode paths can't be displayed 5 Low Martin Packman  10 Fix Released
733612 #733612 bzrlib.deprecated_graph is unused 5 Low Jelmer Vernooij  10 Fix Released
783992 #783992 help merge should explain the difference between a normal merge and a cherrypick 5 Low Matt Giuca  10 Fix Released
This milestone contains Public information
Everyone can see this information.