5
5
.. contents:: List of Releases
12
:2.3b1: NOT RELEASED YET
17
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
21
* `tree_files` and `internal_tree_files` are now deprecated in favor of
22
`WorkingTree.open_containing_paths`.
28
* The ``lp:`` prefix will now use your known username (from
29
``bzr launchpad-login``) to expand ``~`` to your username. For example:
30
``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
31
push to ``lp:~user/project/branch``. (John Arbash Meinel)
36
* Check if both --diff-options and --using are set, and exit with error
37
in this case. (Matthäus G. Chajdas, #234708)
39
* Don't print internal object name when print an invalid revision spec
40
error. (Neil Martinsen-Burrell, #598701)
42
* ``HTTP/1.1` test servers now set a ``Content-Length`` header to comply
43
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
45
* `PathNotChild` should not give a traceback.
48
* ``Transport.stat`` on a symlink, including a transport pointing directly
49
to a symlink, now returns information about the symlink.
55
* When building new working trees, default to reading from the repository
56
rather than the source tree unless explicitly requested. (via
57
``--files-from`` and ``--hardlink`` for ``bzr branch`` and
58
``bzr checkout``. Generally, 2a format repositories extract
59
content faster than seeking and reading content from another tree,
60
especially in cold-cache situations. (John Arbash Meinel, #607298)
79
:2.2rc1: NOT RELEASED YET
90
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
91
way which should help avoid problems with concurrent writers.
92
(Vincent Ladeuil, #525571)
94
* Don't traceback trying to unversion children files of an already
95
unversioned directory. (Vincent Ladeuil, #494221)
116
:Codename: Monkey Magic
120
This fourth and final beta in the 2.2 series now stabilizes the internal
121
APIs. Plugin authors are recommended to ensure their releases are
122
compatible, so that 2.2rc1 can be a true release candidate, containing
123
stable and compatible plugin versions.
125
For users of bzrlib as a library, one of the primary changes is to request
126
that they call ``bzrlib.initialize`` and use the returned context manager
129
Better interaction with ``bzr-loom`` to make sure branching from a loom
130
even over a smart server still yields a local loom. Not to mention lots of
136
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
137
the result of ``bzrlib.initialize``. This change was made when fixing
138
the bad habit recent bzr versions have had of leaving progress bars
139
behind on the screen. That required calling another function before
140
exiting the program, and it made sense to provide a full context
141
manager at the same time. (Robert Collins)
143
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
144
context manager in the Python 2.5 and above sense. The bzrlib base class
145
is such a manager, but third party UI factories which do not derive from
146
``bzrlib.ui.UIFactory`` will be incompatible with the command line front
149
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
150
and path "bar/baz", even if bzr does not recognize "foo" as a known URL
151
scheme. Previously these URLs would be treated as local paths.
158
* Support ``--directory`` option for a number of additional commands:
159
conflicts, merge-directive, missing, resolve, shelve, switch,
160
unshelve, whoami. (Martin von Gagern, #527878)
165
* ``bzr branch`` to a new repository with a default stacking policy no
166
longer transfers the full history unnecessarily.
167
(Andrew Bennetts, #597942)
169
* ``bzr init`` does not recursively scan directory contents anymore
170
leading to faster init for directories with existing content.
171
(Martin [gz], Parth Malwankar, #501307)
173
* ``bzr log --exclude-common-ancestry`` is now taken into account for
174
linear ancetries. (Vincent Ladeuil, #575631)
176
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
177
rather than trying to fetch the data locally and failing because of a
178
readonly error. (Martin von Gagern, #149270)
180
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
181
or pull location in locations.conf or branch.conf.
182
(Gordon Tyler, #534787)
184
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
185
smart server. (Andrew Bennetts, #551525)
187
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
188
(Marius Kruger, Robert Collins)
190
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
191
(Marius Kruger, Robert Collins)
193
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
194
proper error messages. (Vincent Ladeuil, #591215)
196
* Explicitly removing ``--profile-imports`` option from parsed command-line
197
arguments on Windows, because bzr script does the same.
198
(Alexander Belchenko, #588277)
200
* Fetching was slightly confused about the best code to use and was
201
using a new code path for all branches, resulting in more lookups than
202
necessary on old branches. (Robert Collins, #593515)
204
* Final fix for 'no help for command' issue. We now show a clean message
205
when a command has no help, document how to set help more clearly, and
206
test that all commands available to the test suite have help.
207
(Robert Collins, #177500)
209
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
210
``InvalidPattern`` exception showing clear error message to the user.
211
(Parth Malwankar #300062)
213
* Progress output is cleaned up when exiting. (Aaron Bentley)
215
* Raise ValueError instead of a string exception.
216
(John Arbash Meinel, #586926)
218
* Relative imports in plugins are now handled correctly when using
219
BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
221
* ``ScriptRunner`` now strips off leading indentation from test scripts,
222
which previously caused "SyntaxError: No command for line".
225
* Show unicode filenames in diff headers using terminal encoding.
226
(Alexander Belchenko, Bug #382699)
227
NOTE for Windows users: If user need to save diff to file then user need to
228
change encoding of the terminal to ANSI encoding with command ``chcp XXX``
229
(e.g. ``chcp 1251`` for Russian Windows).
231
* URL displayed for use with ``break-lock`` when smart server sees lock
232
contention are now valid. Default timeout for lock contention retry is
233
now 30 seconds instead of 300 seconds.
234
(Parth Malwankar, #250451)
236
* ``walkdirs`` now raises a useful message when the filenames are not using
237
the filesystem encoding. (Eric Moritz, #488519)
239
* Enable debugging of bzr on windows with pdb and other tools. This was
240
broken because we call GetCommandLineW on windows. The fix adjusts the
241
command line we get to be the same length as sys.argv.
242
(Jason Spashett, Alexander Belchenko, #587868)
247
* Bazaar now reads data from SSH connections more efficiently on platforms
248
that provide the ``socketpair`` function, and when using paramiko.
249
(Andrew Bennetts, #590637)
251
* ``Branch.copy_content_into`` is now a convenience method dispatching to
252
a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
253
plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
254
(Robert Collins, #201613)
256
* ``Branch`` formats can now be loaded lazily by registering a
257
``MetaDirBranchFormatFactory`` rather than an actual format. This will
258
cause the named format class to be loaded only when an enumeration of
259
formats is needed or when the format string for the object is
260
encountered. (Robert Collins, Jelmer Vernooij)
262
* The encoding that bzr uses to output things other than file content can
263
now be overridden via the output_encoding configuration option.
264
(Martin Pool, #340394)
266
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
267
do not cause modules to be loaded unnecessarily just because the plugin
268
registers a merge hook. This improves ``bzr rocks`` time by about 25%
269
in a default installation (with just the core plugins).
275
* Added ``regression`` tag to our tags list. (Robert Collins)
277
* Improved our release checklist to have a bit less churn and leave things
278
ready-to-go for the next action (including other people doing
279
development). (Robert Collins)
281
* Remove obsolete discussion of PQM in documentation about how to
282
contribute to Bazaar. (Martin Pool, #588444)
287
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
288
an iterable of format pairs, rather than just a single pair, permitting
289
InterBranch objects that work with multiple permutations to be
290
comprehensively tested. (Robert Collins)
292
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
293
profiles when concurrent profile requests are made. Instead the profile
294
requests will be serialised. Reentrant requests will now deadlock.
297
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
298
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
299
``bzrlib.patiencediff`` instead. (Andrew Bennetts)
301
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
302
``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
303
case the default error message not suitable for the use case.
306
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated. It provided only
307
one method ``check_output``, and we now recommend checking command
308
output using ``run_script``. (Martin Pool)
310
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
311
that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
312
Third-party implementations of ``SSHVendor`` may need to be updated
313
accordingly. Similarly, any code using ``SSHConnection`` directly will
314
need to be updated. (Andrew Bennetts)
316
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
317
changed to take an ``SSHParams`` instance (replacing many individual
318
values). (Andrew Bennetts)
323
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
324
selection when explicitly requested; this avoids many duplicate calls
325
being logged when helpers, wrappers and older code that manually calls
326
it are executed it is now logged deliberately by the ui setup code.
329
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
331
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
332
that ``sys.getsizeof`` and other memory analysis tools will report more
333
accurate results. (Andrew Bennetts)
335
* The symbol_versioning module can now cleanup after itself -
336
``suppress_deprecation_warnings`` now returns a cleanup function.
342
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
343
to test. (Martin Pool)
345
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
346
(Vincent Ladeuil, #595587)
11
:2.2b3: NOT RELEASED YET
353
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
354
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
355
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
356
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
357
bash completion script and bzr will no longer guess at identity details -
358
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
359
For developers we have some API changes which may impact plugins as well
360
as a bunch of our regular improvements to internal clarity and test
13
363
Compatibility Breaks
14
364
********************
37
401
(Parth Malwankar, #304320)
403
* New command line option ``--authors`` to ``bzr log`` allows users to
404
select which of the apparent authors and committer should be
405
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
407
* Support ``--directory`` option for a number of additional commands:
408
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
409
export, ignore, ignored, lookup-revision, ls, modified, nick,
410
re-sign, unbind, unknowns.
411
(Martin von Gagern, #527878)
413
* The bash_completion plugin from the bzr-bash-completion project has
414
been merged into the tree. It provides a bash-completion command and
415
replaces the outdated ``contrib/bash/bzr`` script with a version
416
using the plugin. (Martin von Gagern, #560030)
418
* A new transport based on GIO (the gnome i/o library) provides access to
419
samba shares, webdav using gio+smb and gio+dav. It is also possible to
420
use gio for some already existing transport methods as gio+file,
427
* Alias information shown by ``bzr help`` is now accurate. This
428
was showing an internal object name for some plugin aliases.
429
(Parth Malwankar, #584650)
42
431
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
43
432
group ownership from the containing directory. This allow bzr to work
45
434
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
436
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
437
support of bzr-externals and scmproj plugins.
438
(Alexander Belchenko, bug #572098)
440
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
441
(Gordon Tyler, #572092)
47
443
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
48
444
are part of Y ancestry but not part of X ancestry (aka the graph
50
446
(Vincent Ladeuil, #320119)
448
* ``bzr lp-propose`` which was switched to use production Launchpad API
449
servers a few commits ago has been reverted to use edge: there is a
450
problem with using production which isn't trivially obvious, so we've
451
filed a bug to track it, and until thats fixed will be using edge.
452
(Robert Collins, #583667)
454
* ``bzr rm`` should not refuse to delete directories which contained a file
455
which has been moved elsewhere in the tree after the previous commit.
456
(Marius Kruger, Daniel Watkins, #129880)
52
458
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
53
459
(Vincent Ladeuil, #566670)
55
461
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
56
462
(Vincent Ladeuil, #563997)
464
* CommitBuilder refuses to create revisions whose trees have no root.
467
* Do not register a SIGWINCH signal handler, instead just poll for the
468
terminal width as needed. This avoids the "Interrupted System Call"
469
problems that occur on POSIX with all currently released versions of
471
(Andrew Bennetts, #583941)
58
473
* Don't mention --no-strict when we just issue the warning about unclean trees.
59
474
(Vincent Ladeuil, #401599)