11
:2.4b4: NOT RELEASED YET
13
External Compatibility Breaks
14
*****************************
16
.. These may require users to change the way they use Bazaar.
21
.. New commands, options, etc that users may wish to try out.
26
.. Improvements to existing commands, especially improved performance
27
or memory usage, or better results.
32
.. Fixes for situations where bzr would previously crash or give incorrect
33
or undesirable results.
38
.. Improved or updated documentation.
43
.. Changes that may require updates in plugins or other code that uses
49
.. Major internal changes, unlikely to be visible to users or plugin
50
developers, but interesting for bzr developers.
55
.. Fixes and changes that are only relevant to bzr's test framework and
56
suite. This can include new facilities for writing tests, fixes to
57
spurious test failures and changes to the way things should be tested.
11
:2.4b3: NOT RELEASED YET
65
This is the third beta of the 2.4 series, leading to a 2.4.0 release in
66
August 2011. Beta releases are suitable for everyday use but may cause some
67
incompatibilities with plugins.
69
This release includes all bug fixed in previous series known at the time of
13
73
External Compatibility Breaks
14
74
*****************************
25
85
.. New commands, options, etc that users may wish to try out.
87
* The text compressor used for 2a repositories now has a tweakable
88
parameter that can be set in bazaar.conf.
89
``bzr.groupcompress.max_entries_per_source`` default of 65536.
90
When doing compression, we build up an index of locations to match
91
against. Setting this higher will result in slightly better compression,
92
at a cost of more memory. Note that a value of 65k represents fully
93
sampling a 1MB file. So this only has an effect when compressing texts
94
larger than N*16 bytes. (John Arbash Meinel, #602614)
34
103
more efficiently. For a simple branch it reduces the number of
35
104
round-trips by about 20%. (Andrew Bennetts)
106
* ``bzr log --line`` scales the width of the author field with the size of
107
the line. This means that the full author name is shown when the
108
environment variable BZR_COLUMNS=0. (Neil Martinsen-Burrell)
37
110
* ``bzr pull`` now properly triggers the fast
38
111
``CHKInventory.iter_changes`` rather than the slow generic
39
112
inter-Inventory changes. It used to use a ``DirStateRevisionTree`` as
52
125
option "``bzr.workingtree.worth_saving_limit``".
53
126
(Ian Clatworthy, John Arbash Meinel, #380202)
128
* Speed up ``bzr uncommit``. Instead of resetting the dirstate from
129
scratch, use ``update_basis_by_delta``, computing the delta from the
130
repository. (John Arbash Meinel, #780544)
61
138
* All Tree types can now be exported as tar.*, zip or directories.
141
* ``bzr merge --no-remember location`` never sets ``submit_branch``.
142
(Vincent Ladeuil, #782169)
144
* ``bzr pull --no-remember location`` never sets
145
``parent_location``. ``bzr push --no-remember location`` never
146
sets ``push_location``. ``bzr send --no-remember
147
submit_location public_location`` never sets ``submit_branch``
148
nor ``public_branch``. (Vincent Ladeuil)
150
* Conflicts involving non-ascii filenames are now properly reported rather
151
than failing with a UnicodeEncodeError. (Martin [GZ], #686161)
64
153
* Correct parent is now set when using 'switch -b' with bound branches.
65
154
(A. S. Budden, #513709)
156
* Fix `bzr plugins` regression in bzr 2.4 which resulted in a traceback
157
from writelines on ckj terminals. (Martin [GZ], #754082)
67
159
* ``WT.inventory`` and ``WT.iter_entries_by_dir()`` was not correctly
68
160
reporting subdirectories that were tree references (in formats that
69
161
supported them). (John Arbash Meinel, #764677)
163
* Merging into empty branches now gives an error as this is currently
164
not supported. (Jonathan Riddell, #242175)
166
* Do not show exception to user on pointless commit error (Jonathan
169
* ``WT.update_basis_by_delta`` no longer requires that the deltas match
170
the current WT state. This allows ``update_basis_by_delta`` to be used
171
by more commands than just commit. Updating with a delta allows us to
172
not load the whole inventory, which can take 10+s with large trees.
173
(Jonathan Riddell, John Arbash Meinel, #781168)
75
179
.. Improved or updated documentation.
181
* Restore the workaround for option names including dots (--1.14) which was
182
disabled when we stopped listing --1.9 as a format.
183
(Vincent Ladeuil, #782289)
83
191
* ``annotate_file`` has been deprecated in favor of
84
192
``annotate_file_revision_tree``. (Jelmer Vernooij, #775598)
194
* ``Branch.fetch`` now takes an optional ``limit`` argument.
195
(Andrew Bennetts, Jelmer Vernooij, #750175)
86
197
* ``Inter.get`` now raises ``NoCompatibleInter`` if there are no
87
198
compatible optimisers rather than an instance of the class it is called
88
199
on. (Jelmer Vernooij)
201
* ``Branch.push`` now takes a ``lossy`` argument.
202
``Branch.lossy_push`` has been removed.
205
* New method ``Repository.get_file_graph`` which can return the
206
per-file revision graph. (Jelmer Vernooij, #775578)
90
208
* The default implementation of ``Branch`` is now oriented to
91
209
storing the branch tip. Branch implementations which store the full
92
210
history should now subclass ``FullHistoryBzrBranch``.
96
214
* ``Tree.__iter__`` has been deprecated; use ``Tree.all_file_ids``
97
215
instead. (Jelmer Vernooij)
217
* ``Tree.get_symlink_target`` now takes an optional ``path``
218
argument. (Jelmer Vernooij)
102
223
.. Major internal changes, unlikely to be visible to users or plugin
103
224
developers, but interesting for bzr developers.
226
* Removed ``bzrlib.branch._run_with_write_locked_target`` as
227
``bzrlib.cleanup`` provides the same functionality in a more general
228
way. (Andrew Bennetts)
109
234
suite. This can include new facilities for writing tests, fixes to
110
235
spurious test failures and changes to the way things should be tested.
237
* A test that was expected to fail but passes instead now counts as a failure
238
catching up with new testtools and subunit handling. (Martin [GZ], #654474)
240
* Make it easier for plugins to reuse the per_workingtree scenarios by
241
restoring the wt_scenarios helper that was accidentally deleted.
242
(Vincent Ladeuil, #783472)
244
* Removed ``test_breakin`` tests that were excessively prone to hanging,
245
did not work on Wine, and partly already disabled.
246
(Martin Pool, #408814, #746985)
248
* Windows locations are different and should be tested accordingly.
249
(Vincent Ladeuil, #788131)