67
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
68
previously-unversioned directory within the tree: the directory is
70
(Martin Pool, #192859)
72
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
73
``InvalidPattern`` exception error message now shows faulting
75
(Parth Malwankar #300062)
56
77
* Check if both --diff-options and --using are set, and exit with error
57
78
in this case. (Matthäus G. Chajdas, #234708)
80
* CommitBuilder now uses the committer instead of _config.username to generate
81
the revision-id. (Aaron Bentley, #614404)
83
* Cope with Microsoft FTP server that returns reply '250 Directory
84
created' when mkdir succeeds. (Martin Pool, #224373)
86
* Decrease peak memory during ``bzr send``. The old code was caching all
87
text content and all inventory strings for all revisions before
88
computing the diffs. Now we only cache as long as there is a child that
89
will need them. Sending 2000 bzr revisions drops from 1.2GB peak to
90
256MB peak. (John Arbash Meinel, #614576)
59
92
* Don't print internal object name when print an invalid revision spec
60
93
error. (Neil Martinsen-Burrell, #598701)
62
* ``HTTP/1.1` test servers now set a ``Content-Length`` header to comply
95
* Fix ``AttributeError on parent.children`` when adding a file under a
96
directory that was a symlink in the previous commit.
97
(Martin Pool, #192859)
99
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
63
100
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
65
102
* `PathNotChild` should not give a traceback.
66
103
(Martin Pool, #98735)
105
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
106
which can result in "missing referenced chk root keys" errors when
107
fetching from repositories with affected revisions.
108
(Andrew Bennetts, #522637)
68
110
* ``Transport.stat`` on a symlink, including a transport pointing directly
69
111
to a symlink, now returns information about the symlink.
131
* Added a builder/writer sphinx extension that can generate texinfo files. The
132
generated files are syntactically correct but the info navigation nodes
133
needs more work. (Vincent Ladeuil, #219334)
135
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
136
to make the tests conditional.
139
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
140
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
141
(John Arbash Meinel, #617503)
146
* InventoryEntry instances now raise AttributeError if you try to assign
147
to attributes that are irrelevant to that kind of entry. e.g. setting
148
``symlink_target`` on an InventoryFile will fail. It is still okay to
149
read those attributes on any kind of InventoryEntry. The complete list
150
of affected attributes is: ``executable``, ``text_id``, ``text_sha1``,
151
``text_size`` (only valid for kind == file); ``symlink_target`` (only
152
valid for kind == link); and ``reference_revision`` (only valid for kind
153
== tree-reference). (Andrew Bennetts)
155
* InventoryEntry objects no longer have ``_put_in_tar`` or
156
``_put_on_disk`` methods. (Andrew Bennetts)
161
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
99
:2.2rc1: NOT RELEASED YET
167
* The way ``bzr selftest --parallel`` generates N partitions of tests to
168
run in parallel has changed. Instead of splitting the list of tests at
169
N-1 points, it distributes the tests one-by-one into the partitions in a
170
round robin fashion. This reduces the total time to run the tests in
171
parallel because a series of slow tests in the test suite will be
172
distributed evenly among the parallel test suites, rather than slowing
173
down just one suite. (Andrew Bennetts)
180
:2.2.1: NOT RELEASED YET
185
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
186
previously-unversioned directory within the tree: the directory is
187
marked versioned too.
188
(Martin Pool, #192859)
190
* CommitBuilder now uses the committer instead of _config.username to generate
191
the revision-id. (Aaron Bentley, #614404)
193
* Cope with Microsoft FTP server that returns reply '250 Directory
194
created' when mkdir succeeds. (Martin Pool, #224373)
196
* Fix ``AttributeError on parent.children`` when adding a file under a
197
directory that was a symlink in the previous commit.
198
(Martin Pool, #192859)
203
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
204
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
205
(John Arbash Meinel, #617503)
210
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
220
This release marks the start of another long-term-stable series. From
221
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
222
while 2.3 will become our new development series. The 2.0 and 2.1 series
223
will also continue to get bugfixes. (Currently 2.0 is planned to be
224
supported for another 6 months.)
226
This is primarily a bugfix and polish release over the 2.1 series, with
227
a large number of bugs fixed (>120), and some performance improvements.
229
There are some compatibility changes in this release. For users of bzrlib
230
as a library, we now request that they call ``bzrlib.initialize`` and use
231
the returned context manager appropriately. For commandline users we no
232
longer guess user identity for ``bzr commit``, users must specify their
233
identity using ``bzr whoami`` (you don't need to specify your identity for
234
readonly operations).
236
Users are encouraged to upgrade from the other stable series.
101
238
Compatibility Breaks
102
239
********************
241
* BzrError subclasses no longer support the name "message" to be used
242
as an argument for __init__ or in _fmt format specification as this
243
breaks in some Python versions. errors.LockError.__init__ argument
244
is now named "msg" instead of earlier "message".
245
(Parth Malwankar, #603461)
247
* The old ``bzr selftest --benchmark`` option has been removed.
248
<https://launchpad.net/bzr-usertest> is an actively-maintained
249
macrobenchmark suite.
255
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
256
``InvalidPattern`` exception error message now shows faulting
258
(Parth Malwankar #300062)
110
260
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
111
261
way which should help avoid problems with concurrent writers.
112
262
(Vincent Ladeuil, #525571)
114
264
* Don't traceback trying to unversion children files of an already
115
265
unversioned directory. (Vincent Ladeuil, #494221)
267
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
268
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
270
* Progress bars prefer to truncate the text message rather than the
271
counters. The spinner is shown between the network transfer indicator
272
and the progress message. Progress bars are correctly cleared off when
273
they finish. (Martin Pool, #611127)
275
* Recursive binding for checkouts is now detected by bzr. A clear error
276
message is shown to the user. (Parth Malwankar, #405192)
281
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
282
tree, and works with unrelated branches. (Andrew Bennetts)
284
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
285
GUI with out have a console open in the background.
286
(Gary van der Merwe, #433781)
291
* ``bzr help patterns`` now explains case insensitive patterns and
292
points to Python regular expression documentation.
293
(Parth Malwankar, #594386)
298
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
303
* Unit test added to ensure that "message" is not uses as a format variable
304
name in BzrError subclasses as this conflicts with some Python versions.
305
(Parth Malwankar, #603461)
1097
1265
* Don't traceback trying to unversion children files of an already
1098
1266
unversioned directory. (Vincent Ladeuil, #494221)
1268
* Fix ``AttributeError on parent.children`` when adding a file under a
1269
directory that was a symlink in the previous commit.
1270
(Martin Pool, #192859)
1272
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
1273
which can result in "missing referenced chk root keys" errors when
1274
fetching from repositories with affected revisions.
1275
(Andrew Bennetts, #522637)
1277
* Progress bars prefer to truncate the text message rather than the
1278
counters. The spinner is shown between the network transfer indicator
1279
and the progress message. (Martin Pool)
1100
1281
* Raise ValueError instead of a string exception.
1101
1282
(John Arbash Meinel, #586926)
1284
* Recursive binding for checkouts is now detected by bzr. A clear error
1285
message is shown to the user. (Parth Malwankar, #405192)
1290
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
1291
tree, and works with unrelated branches. (Andrew Bennetts)
1296
* ``bzr help patterns`` now explains case insensitive patterns and
1297
points to Python regular expression documentation.
1298
(Parth Malwankar, #594386)
1303
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
1311
* Unit test added to ensure that "message" is not uses as a format variable
1312
name in BzrError subclasses as this conflicts with some Python versions.
1313
(Parth Malwankar, #603461)