1
*************************
2
What's New in Bazaar 2.3?
3
*************************
5
Bazaar 2.3 is still under development, and will be released in February
6
2011. This document accumulates a high level summary of what's changed.
8
:doc:`../release-notes/index` for a full list.
10
Users are encouraged to upgrade from the other stable series. This
11
document outlines the improvements in Bazaar 2.3 vs Bazaar 2.2. As well as
12
summarizing improvements made to the core product, it highlights
13
enhancements within the broader Bazaar world of potential interest to
16
Bazaar 2.3.0 is fully compatible both locally and on the network with 2.0
17
2.1, and 2.2, and can read and write repositories generated by all
23
* The default ``ignore`` file created by Bazaar will contain ``__pycache__``,
24
which is the name of the directory that will be used by Python to store
26
(Andrea Corbellini, #626687)
28
* The default sort order for the ``bzr tags`` command now uses a natural sort
29
where numeric substrings are sorted numerically. The previous default was
30
"asciibetical" where tags were sorted by the characters they contained. To
31
get the old behavior, one can use ``bzr tags --sort=alpha``.
32
(Neil Martinsen-Burrell, #640760)
37
* The ``lp:`` prefix will now use your known username (from
38
``bzr launchpad-login``) to expand ``~`` to your username. For example:
39
``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
40
push to ``lp:~user/project/branch``. (John Arbash Meinel)
42
Performance improvements
43
************************
45
* ``bzr revert`` and ``bzr status`` are up to 15% faster on large trees
46
with many changes by not repeatedly building a list of all file-ids.
49
* ``bzr send`` uses less memory.
50
(John Arbash Meinel, #614576)
52
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
53
have dropped from 68 bytes to 40, and directory entries from 120 bytes
54
to 48). This affects most operations, and depending on the size of the
55
tree may substantially improve the speed of operations like ``bzr
56
commit``. (Andrew Bennetts)
58
* Lower memory consumption when reading many chk index pages. Helpful for
59
things like ``bzr co`` or ``bzr ls -R`` on large trees.
62
* When building new working trees, default to reading from the repository
63
rather than the source tree unless explicitly requested. (via
64
``--files-from`` and ``--hardlink`` for ``bzr branch`` and
65
``bzr checkout``. Generally, 2a format repositories extract
66
content faster than seeking and reading content from another tree,
67
especially in cold-cache situations. (John Arbash Meinel, #607298)
69
New revision specifiers
70
***********************
72
* The ``mainline`` revision specifier has been added. It takes another revision
73
spec as its input, and selects the revision which merged that revision into
76
For example, ``bzr log -vp -r mainline:1.2.3`` will show the log of the
77
revision that merged revision 1.2.3 into mainline, along with its status
78
output and diff. (Aaron Bentley)
80
* The ``annotate`` revision specifier has been added. It takes a path and a
81
line as its input (in the form ``path:line``), and selects the revision which
82
introduced that line of that file.
84
For example: ``bzr log -vp -r annotate:bzrlib/transform.py:500`` will select
85
the revision that introduced line 500 of transform.py, and display its log,
86
status output and diff.
88
It can be combined with ``mainline`` to select the revision that landed this
89
line into trunk, like so:
90
``bzr log -vp -r mainline:annotate:bzrlib/transform.py:500``
96
* A beta version of the documentation is now available in GNU TexInfo
97
format, used by emacs and the standalone ``info`` reader.
98
(Vincent Ladeuil, #219334)
104
For more detailed information on the changes made, see the
105
the :doc:`../release-notes/index` for:
107
* the interim bzr `milestones <https://launchpad.net/bzr/2.3>`_
108
* the plugins you use.
110
For a summary of changes made in earlier releases, see:
112
* :doc:`whats-new-in-2.1`
113
* :doc:`whats-new-in-2.2`