#################### Bazaar Release Notes #################### .. toctree:: :maxdepth: 1 bzr 2.5b4 ######### :2.5b4: NOT RELEASED YET External Compatibility Breaks ***************************** .. These may require users to change the way they use Bazaar. New Features ************ .. New commands, options, etc that users may wish to try out. * Provides a ``po_merge`` plugin to automatically merge ``.po`` files with ``msgmerge``. See ``bzr help po_merge`` for details. (Vincent Ladeuil, #884270) Improvements ************ .. Improvements to existing commands, especially improved performance or memory usage, or better results. * When using ``bzr switch`` to switch to a sibling of the current branch, the relative branch name should no longer be url-encoded. (Jelmer Vernooij) * ``bzr rmbranch`` can now remove colocated branches. (Jelmer Vernooij, #831464) * ``bzr switch`` now accepts colocated branch names to switch to. (Jelmer Vernooij, #826814) * ``bzr branch --stacked`` now only makes a single connection to the remote server rather than three. (Jelmer Vernooij, #444293) * Plugins can now register additional "location aliases". (Jelmer Vernooij) Bug Fixes ********* .. Fixes for situations where bzr would previously crash or give incorrect or undesirable results. * Allow lazy compiled patterns from ``bzrlib.lazy_regex`` to be pickled. (Jelmer Vernooij, #893149) * A new section local option ``basename`` is available to help support some ``bzr-pipeline`` workflows and more generally help mapping local paths to remote ones. See ``bzr help configuration`` for more details. (Vincent Ladeuil, #843211) * Add HPSS call for looking up revision numbers from revision ids on remote repositories. (Jelmer Vernooij, #640253) * Add HPSS call for retrieving file contents from remote repositories. Should improve performance for lightweight checkouts and exports of from remote repositories. (Jelmer Vernooij, #368717, #762330, #608640) * ``bzr info`` no longer shows empty output if only a control directory is present. (Jelmer Vernooij, #159098) * Cope with missing revision ids being specified to ``Repository.gather_stats`` HPSS call. (Jelmer Vernooij, #411290) * Fix test failures on windows related to locations.conf handling. (Vincent Ladeuil, #892992) * Fixed parsing of the timestamp given to ``commit --commit-time``. Now prohibits several invalid strings, reads the correct number of seconds, and gives a better error message if the time zone offset is not given. (Matt Giuca, #892657) * Give meaningful file/line references when reporting deprecation warnings for _CompatabilityThunkFeature based test features. (Vincent Ladeuil, #897718) * Raise BadIndexKey exception in btree_index when a key is too large, fixing an infinite recursion issue. (Shannon Weyrick, #720853) * Resolve regression from colocated branch path handling, by ensuring that unreserved characters are unquoted in URLs. (Martin Packman, #842223) * Split segments from URLs for colocated branches without assuming the combined form is a valid. (Martin Packman, #842233) * Support looking up revision numbers by revision id in empty branches. (Jelmer Vernooij, #535031) * Support verifying signatures on remote repositories. (Jelmer Vernooij, #889694) * Fixed parsing of the timestamp given to ``commit --commit-time``. Now prohibits several invalid strings, reads the correct number of seconds, and gives a better error message if the time zone offset is not given. (Matt Giuca, #892657) * Teach the bzr client how to reconnect if we get ``ConnectionReset`` while making an RPC request. This doesn't handle all possible network disconnects, but it should at least handle when the server is asked to shutdown gracefully. (John Arbash Meinel, #819604) * When a remote format is unknown, bzr will now print a single-line error message rather than a backtrace. (Jelmer Vernooij, #687226) Documentation ************* .. Improved or updated documentation. API Changes *********** .. Changes that may require updates in plugins or other code that uses bzrlib. * ``BzrDir.open_branch`` and ``BranchFormat.open`` now take an optional ``possible_transports`` argument. (Jelmer Vernooij) * New method ``Transport.set_segment_parameter``. (Jelmer Vernooij) * ``Repository.verify_revision`` has been renamed to ``Repository.verify_revision_signature``. (Jelmer Vernooij) * ``Tree.get_file_by_path`` is now deprecated. Use ``Tree.get_file`` instead. (Jelmer Vernooij, #666897) * Some global options for use with commands have been removed, construct an ``Option`` with the name instead. (Martin Packman) Internals ********* .. Major internal changes, unlikely to be visible to users or plugin developers, but interesting for bzr developers. * ``bzr config`` uses the new configuration implementation. (Vincent Ladeuil) * ``RemoteBranch.get_config_stack`` and ``RemoteBzrDir.get_config_stack`` will now use HPSS calls where possible. (Jelmer Vernooij) * New HPSS calls ``Repository.has_signature_for_revision_id``, ``Repository.make_working_trees``, ``BzrDir.destroy_repository``, ``BzrDir.has_workingtree``, ``Repository.get_physical_lock_status``, ``Branch.get_physical_lock_status``, ``Branch.put_config_file``, ``Branch.break_lock``, ``BzrDir.destroy_branch``, ``Repository.break_lock``, ``VersionedFileRepository.get_serializer_format``, ``Repository.all_revision_ids``, ``Repository.start_write_group``, ``Repository.commit_write_group``, ``Repository.abort_write_group`` ``Repository.check_write_group``, ``Repository.iter_revisions``, ``Repository.add_signature_revision_text`` and ``Repository.get_revision_signature_text``. (Jelmer Vernooij) * Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461) * Custom HPSS error handlers can now be installed in the smart server client using the ``error_translators`` and ``no_context_error_translators`` registries. (Jelmer Vernooij) * The registry of merge types has been moved to ``merge`` from ``option`` but ``merge.get_merge_type_registry`` remains as an accessor. (Martin Packman) Testing ******* .. Fixes and changes that are only relevant to bzr's test framework and suite. This can include new facilities for writing tests, fixes to spurious test failures and changes to the way things should be tested. * Avoid failures in test_transform when OS error messages are localised. (Martin Packman, #891582) * Tests are now subject to a time limit: by default 300s, and 120s when run from 'make check', controlled by the `selftest.timeout` configuration option. This is currently not supported on Windows. (Martin Pool) bzr 2.5b3 ######### :2.5b3: 2011-11-10 This is the third beta of the 2.5 series, leading to a 2.5.0 release in February 2012. Beta releases are suitable for everyday use but may cause some incompatibilities with plugins. This release includes log options for ``push`` and ``pull``, more UI polish for colocated branches, a better and more coherent implementation for UI dialogs, enhancements to the config framework and more. This release includes all bug fixed in previous series known at the time of this release. External Compatibility Breaks ***************************** None New Features ************ * The ``log_format`` configuration can be used with ``-Olog_format=line`` to change the format ``push`` and ``pull`` use to display the revisions. I.e.: ``bzr pull -v -Olog_format=short`` will use the ``short`` format instead of the default ``long`` one. (Vincent Ladeuil, #861472) * The new config scheme allows an alternative syntax for the 'appenpath' policy relying on option expansion and defining a new 'relpath' option local to a section. Instead of using '