~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/whats-new/whats-new-in-2.3.txt

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-18 04:55:00 UTC
  • mfrom: (5784.2.1 754188-apport-test)
  • Revision ID: pqm@pqm.ubuntu.com-20110418045500-ce6lkgyiq7f47q43
(mbp) Rewrite test_report_bug_legacy away from using doctest (see bug
 764188) (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
What's New in Bazaar 2.3?
3
3
*************************
4
4
 
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.
 
5
Bazaar 2.3 has been released on the 3rd of February 2011 and marks the start
 
6
of another long-term-stable series. From here, we will only make bugfix
 
7
releases on the 2.3 series (2.3.1, etc), while 2.4 will become our new
 
8
development series. The 2.1 and 2.2 series will also continue to get
 
9
bugfixes. (Currently 2.0 is planned to be EOLed circa September 2011.)
 
10
 
 
11
This document accumulates a high level summary of what's changed.
7
12
See the
8
13
:doc:`../release-notes/index` for a full list.
9
14
 
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
14
 
those upgrading.
15
 
 
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
18
 
previous versions.
 
15
Users are encouraged to upgrade from the other stable series.  This document
 
16
outlines the improvements in Bazaar 2.3 vs Bazaar 2.2. As well as summarizing
 
17
improvements made to the core product, it highlights enhancements within the
 
18
broader Bazaar world of potential interest to those upgrading.
 
19
 
 
20
Bazaar 2.3.1 includes all the fixes in the un-released 2.0.7, 2.1.4 and 2.2.5
 
21
versions that weren't included in 2.3.0 and fixes some bugs on its own.
 
22
 
 
23
See the :doc:`../release-notes/index` for details.
 
24
 
 
25
Bazaar 2.3 is fully compatible both locally and on the network with 2.0, 2.1,
 
26
and 2.2. It can read and write repositories generated by all previous
 
27
versions.
19
28
 
20
29
Changed Behaviour
21
30
*****************
22
31
 
 
32
* Committing a new revision in a stacked branch is now supported, as long as
 
33
  you are using the current repository format (2a). It will preserve the
 
34
  stacking invariants, etc, so that fetching after commit is guaranteed to
 
35
  work. (John Arbash Meinel, #375013)
 
36
 
 
37
* Support for some old development formats have been removed:
 
38
  ``development-rich-root``, ``development6-rich-root``, and
 
39
  ``development7-rich-root``.  These formats were always labelled experimental
 
40
  and not used unless the user specifically asked for them.  If you have
 
41
  repositories using these old formats you should upgrade them to ``2a`` using
 
42
  Bazaar 2.2.  (Andrew Bennetts)
 
43
 
23
44
* The default ``ignore`` file created by Bazaar will contain ``__pycache__``,
24
45
  which is the name of the directory that will be used by Python to store
25
46
  bytecode files.
31
52
  get the old behavior, one can use ``bzr tags --sort=alpha``.
32
53
  (Neil Martinsen-Burrell, #640760)
33
54
 
 
55
* On platforms other than Windows and Mac OS X, Bazaar will use configuration
 
56
  files that live in $XDG_CONFIG_HOME/bazaar if that directory exists.  This
 
57
  allows interested individuals to conform to the XDG Base Directory
 
58
  specification.  The plugin location has not changed and is still
 
59
  ~/.bazaar/plugins.  To use a different directory for plugins, use the
 
60
  environment variable BZR_PLUGIN_PATH.  (Neil Martinsen-Burrell, #195397)
 
61
 
 
62
* ``bzr upgrade`` now operates recursively when run on a shared
 
63
  repository, automatically upgrading the branches within it, and has
 
64
  grown additional options for showing what it will do and cleaning up
 
65
  after itself.  (Ian Clatworthy, Matthew Fuller, #89830, #374734, #422450)
 
66
 
34
67
Launchpad integration
35
68
*********************
36
69
 
39
72
  ``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
40
73
  push to ``lp:~user/project/branch``.  (John Arbash Meinel)
41
74
 
 
75
* Launchpad has announced that the ``edge.launchpad.net`` instance is
 
76
  deprecated and may be shut down in the future
 
77
  <http://blog.launchpad.net/general/edge-is-deprecated>.  Bazaar has therefore
 
78
  been updated in this release to talk to the main (``launchpad.net``) servers,
 
79
  rather than the ``edge`` ones.
 
80
 
42
81
Performance improvements
43
82
************************
44
83
 
49
88
* ``bzr send`` uses less memory.
50
89
  (John Arbash Meinel, #614576)
51
90
 
 
91
* Fetches involving stacked branches and branches with tags now do slightly less
 
92
  I/O, and so does branching from an existing branch.  This also improves the
 
93
  network performance of these operations.  (Andrew Bennetts)
 
94
 
52
95
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
53
96
  have dropped from 68 bytes to 40, and directory entries from 120 bytes
54
97
  to 48).  This affects most operations, and depending on the size of the
111
154
  default behaviour is specified (if needed) by setting the variable to
112
155
  ``conflict``.  (Vincent Ladeuil, #323111)
113
156
 
 
157
* ``bzr resolve --take-this`` and ``bzr resolve --take-other`` can now be
 
158
  used for text conflicts. This will ignore the differences that were merged
 
159
  cleanly and replace the file with its content in the current branch
 
160
  (``--take-this``) or with its content in the merged branch
 
161
  (``--take-other``). (Vincent Ladeuil, #638451)
 
162
 
 
163
* ``bzr resolve`` now provides more feedback about the conflicts just
 
164
  resolved and the remaining ones. (Vincent Ladeuil)
 
165
 
114
166
Documentation
115
167
*************
116
168
 
121
173
Configuration
122
174
*************
123
175
 
124
 
``bzr`` can be configure via environment variables, command-line options
 
176
``bzr`` can be configured via environment variables, command-line options
125
177
and configurations files. We've started working on unifying this and give
126
178
access to more options. The first step is a new ``bzr config`` command that
127
179
can be used to display the active configuration options in the current
128
 
working tree or branch as well as the ability to set or remove an option.
129
 
 
130
 
Expected releases for the 2.3 series
131
 
************************************
132
 
 
133
 
The 2.3 series has entered the beta phase and 2.3.0 should be released soon
134
 
enough to be included into Natty Narwhal. 
135
 
 
136
 
As a rough estimate, consider that 2.3.0 will be released in February
137
 
2011 and be supported until August 2012. Additional releases will be
138
 
made if critical bugs are encountered
139
 
 
 
180
working tree or branch as well as the ability to set or remove an
 
181
option. Scripts can also use it to get only the value for a given option.
140
182
 
141
183
Further information
142
184
*******************