20
20
is now named "msg" instead of earlier "message".
21
21
(Parth Malwankar, #603461)
23
* `decode` parameter to get() method in FtpTransport and GioTransport classes
24
is deprecated. (Alexander Belchenko)
26
23
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
31
28
`WorkingTree.open_containing_paths`.
34
* `ControlDirFormat` and `ControlDir` have been split out of `BzrDirFormat`
35
and `BzrDir`, respectively. `ControlDirFormat`
36
and `ControlDir` should be used as the base classes for new non-.bzr
39
`BzrDirFormat.register_control_format` has been renamed to
40
`ControlDirFormat.register_format`.
42
`BzrDirFormat.register_server_control_format` has been removed.
44
Probing for control directories is now done by separate objects derived
45
from `bzrlib.controldir.Prober` and registered using
46
`bzrlib.controldir.ControlDirFormat.register_prober` or
47
`bzrlib.controldir.ControlDirFormat.register_server_prober`.
48
`BzrDirFormat.probe_transport` has been moved onto `Prober`.
50
`BzrDirFormat.register_format` has been renamed to
51
`BzrProber.register_bzrdir_format`.
54
31
* The old ``bzr selftest --benchmark`` option has been removed.
55
32
<https://launchpad.net/bzr-usertest> is an actively-maintained
56
33
macrobenchmark suite.
62
* ``bzr break-lock --config [location]`` can now break config files
63
locks. (Vincent Ladeuil, #525571)
65
* ``bzrlib.config.LockableConfig`` is a base class for config files that
66
needs to be protected against multiple writers. All methods that
67
change a configuration variable value must be decorated with
68
@needs_write_lock (set_option() for example).
69
(Vincent Ladeuil, #525571)
71
39
* The ``lp:`` prefix will now use your known username (from
72
40
``bzr launchpad-login``) to expand ``~`` to your username. For example:
73
41
``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
96
64
* CommitBuilder now uses the committer instead of _config.username to generate
97
65
the revision-id. (Aaron Bentley, #614404)
99
* Configuration files in ``${BZR_HOME}`` are now protected against
100
concurrent writers by using a lock. (Vincent Ladeuil, #525571)
102
67
* Cope with Microsoft FTP Server and VSFTPd that return reply '250
103
68
Directory created' when mkdir succeeds. (Martin Pool, #224373)
111
76
* Don't print internal object name when print an invalid revision spec
112
77
error. (Neil Martinsen-Burrell, #598701)
114
* ``EPIPE`` can be raised during test server shutdown. This happened on
115
gentoo only so far. (Vincent Ladeuil, #627277)
117
* Errors occurring during http(s) test server starts should now be
118
handled cleanly. (Vincent Ladeuil, #392402)
120
79
* Fix ``AttributeError on parent.children`` when adding a file under a
121
80
directory that was a symlink in the previous commit.
122
81
(Martin Pool, #192859)
124
* Fix spurious paramiko warning on hardy by ensuring that ``selftest``
125
properly remove its warning filter. (Vincent Ladeuil, #625686)
127
83
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
128
84
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
130
* Most of the leaked threads during selftest are now fixed, allowing the
131
full test suite to pass on gentoo.
132
(Vincent Ladeuil, #392127)
134
86
* `PathNotChild` should not give a traceback.
135
87
(Martin Pool, #98735)
137
* ``PQM`` will no longer ignore syntax errors in submissions.
138
(Vincent Ladeuil, #626667)
140
89
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
141
90
which can result in "missing referenced chk root keys" errors when
142
91
fetching from repositories with affected revisions.
155
104
will be backed up (adding an extention of the form .~#~).
156
105
(Marius Kruger, #400554)
158
* ``bzr revert`` and ``bzr status`` are up to 15% faster on large trees
159
with many changes by not repeatedly building a list of all file-ids.
162
107
* Decrease memory consumption when many chk index pages are loaded. (Such
163
108
as during ``bzr co`` or ``bzr ls -R`` of a large tree.) Often we need to
164
109
read many chk pages because the individual chk map nodes will be spread
166
111
down to 247MB, expect even more significant savings on 64-bit platforms.
167
112
(John Arbash Meinel)
169
* ``DirState`` internals use a little bit less memory. For bzr.dev it
170
drops the memory from 1MB down to about 800kB. And replaces a few
171
thousand tuples and sets with StaticTuple. (John Arbash Meinel)
173
114
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
174
115
have dropped from 68 bytes to 40, and directory entries from 120 bytes
175
116
to 48). (Andrew Bennetts)
202
* Configuration files should now use the ``from_string`` constructor rather
203
than the ``file`` parameter of the ``_get_parser`` method. The later has
204
been deprecated. ``from_string`` also accept a ``save=True`` parameter to
205
have the configuration file immediately written to disk.
208
* ``IniBaseConfig`` objects should now use the ``from_string`` constructor
209
the rather than the ``file`` parameter of the ``_get_parser`` method. The
210
later has been deprecated. (Vincent Ladeuil)
212
143
* InventoryEntry instances now raise AttributeError if you try to assign
213
144
to attributes that are irrelevant to that kind of entry. e.g. setting
214
145
``symlink_target`` on an InventoryFile will fail. It is still okay to
221
152
* InventoryEntry objects no longer have ``_put_in_tar`` or
222
153
``_put_on_disk`` methods. (Andrew Bennetts)
224
* The ``get_filename`` parameter in the ``config.IniBaseConfig``
225
constructor has been deprecated, use the ``file_name`` parameter instead.
237
* HTTP test servers will leak less threads (and sockets) and will not hang on
238
AIX anymore. (Vincent Ladeuil, #405745)
240
164
* The way ``bzr selftest --parallel`` generates N partitions of tests to
241
165
run in parallel has changed. Instead of splitting the list of tests at
242
166
N-1 points, it distributes the tests one-by-one into the partitions in a