31
30
``bzrlib.tests.test_server``.
33
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
34
as its second parameter, for consistency with the initialize() method of
35
other formats. (Jelmer Vernooij)
40
* Added ``bzr remove-branch`` command that can remove a local or remote
41
branch. (Jelmer Vernooij, #276295)
43
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
44
to set file mtimes to the last timestamp of the last revision in which
45
they were changed rather than the current time. (Jelmer Vernooij)
37
47
* If the Apport crash-reporting tool is available, bzr crashes are now
38
48
stored into the ``/var/crash`` apport spool directory, and the user is
39
49
invited to report them to the developers from there, either
44
54
treats backslash as an escape character on Windows. (Gordon Tyler,
57
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
58
a list of plugin names separated by ':' (';' on windows).
59
(Vincent Ladeuil, #411413)
61
* Plugins can be loaded from arbitrary locations by defining
62
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
63
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
64
specified plugins. This is targeted at plugin developers for punctual
65
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
66
(Vincent Ladeuil, #82693)
68
* Tag names can now be determined automatically by ``automatic_tag_name``
69
hooks on ``Branch`` if they are not specified on the command line.
47
72
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
48
73
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
49
74
as resolved is still accessible via the ``--done`` default action.
61
86
* Allow exporting a single file using ``bzr export``.
62
87
(Michal Junák, #511987)
89
* Allow syscalls to automatically restart when ``TextUIFactory``'s
90
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
91
IO, which are often poorly handled by Python's libraries and parts of
92
bzrlib. (Andrew Bennetts, #496813)
64
94
* Avoid infinite recursion when probing for apport.
65
95
(Vincent Ladeuil, #516934)
70
100
* ``bzr add`` will not add conflict related files unless explicitly required.
71
101
(Vincent Ladeuil, #322767, #414589)
103
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
104
indices do not have reference lists, so ``dump-btree`` will simply show
105
``None`` instead. (Andrew Bennetts, #488607)
73
107
* ``bzr help`` will no longer trigger the get_missing_command hook when
74
108
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
75
109
did you mean log?') when getting help. In future we may trigger the hook
76
110
deliberately when no help topics match from any help index.
77
111
(Robert Collins, #396261)
113
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
114
revspec as representing the first revision of the branch.
115
(Vincent Ladeuil, #519862)
79
117
* ``bzr remove-tree`` can now remove multiple working trees.
80
118
(Jared Hance, Andrew Bennetts, #253137)
83
121
the kept file on content conflicts where one side deleted the file.
84
122
(Vincent Ladeuil, #529968)
124
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
125
permissions as ``.bzr`` directory on a POSIX OS.
126
(Parth Malwankar, #262450)
86
128
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
87
129
of ``backup.bzr``. This directory is ignored by bzr commands such as
92
134
ftp servers while trying to take a lock.
93
135
(Martin Pool, #528722)
137
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
138
changes occured between the workingtree and one of its parents.
139
(Vincent Ladeuil, #533437)
141
* Fix stub sftp test server to call os.getcwdu().
142
(Vincent Ladeuil, #526211, #526353)
144
* Path conflicts now support --take-this and --take-other even when a
145
deletion is involved.
146
(Vincent Ladeuil, #531967)
95
148
* Network transfer amounts and rates are now displayed in SI units according
96
149
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
97
150
(Gordon Tyler, #514399)
107
160
the debugger won't kill the session.
108
161
(Martin <gzlist@googlemail.com>, #162502)
163
* Allow additional arguments to
164
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
110
166
* Tolerate patches with leading noise in ``bzr-handle-patch``.
111
167
(Toshio Kuratomi, Martin Pool, #502076)
169
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
170
group ownership from the containing directory. This allow bzr to work
172
(Parth Malwankar, #376388)
177
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
178
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
181
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
182
branch to create. (Jelmer Vernooij)
184
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
185
colocated branch to open. (Jelmer Vernooij)
187
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
188
can set a signal handler and call ``signal.siginterrupt(signum,
189
False)`` for it, if the platform and Python version supports it.
190
(Andrew Bennetts, #496813)
116
192
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
117
193
run when starting up; it sets up several things that previously needed
118
194
to be done separately.
119
195
(Martin Pool, #507710)
197
* Exporters now support a ``per_file_timestamps`` argument to write out the
198
timestamp of the commit in which a file revision was introduced.
121
201
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
122
202
present in a control directory. (Jelmer Vernooij)
204
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
124
207
* Remove unused ``CommandFailed`` exception.
143
226
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
144
227
which can be set to add extra help to the error. (Gary van der Merwe)
229
* New method ``Branch.automatic_tag_name`` that can be used to find the
230
tag name for a particular revision automatically. (Jelmer Vernooij)
146
232
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
147
233
``BzrDir.open_branch()`` now take an optional ``name`` argument.
148
234
(Jelmer Vernooij)
157
243
* Documentation about testing with ``subunit`` has been tweaked.
246
* Known failures has been added for resolve --take-other on ParentLoop
247
conflicts. This reflects bug #537956 without fixing it.
160
250
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
161
251
Python modules are loaded, to guard against startup time or library
162
252
dependency regressions.
165
255
* Stop sending apport crash files to ``.cache`` in the directory from
166
256
which ``bzr selftest`` was run. (Martin Pool, #422350)
258
* Tests no longer fail if "close() called during concurrent
259
operation on the same file object" occurs when closing the log file
260
(which can happen if a thread tries to write to the log file at the
261
wrong moment). An warning will be written to ``stderr`` when this
262
happens, and another warning will be written if the log file could not
263
be closed after retrying 100 times. (Andrew Bennetts, #531746)
273
* Allow syscalls to automatically restart when ``TextUIFactory``'s
274
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
275
IO, which are often poorly handled by Python's libraries and parts of
276
bzrlib. (Andrew Bennetts, #496813)
278
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
279
(Martin Pool, #331095)
281
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
283
* Fix stub sftp test server to call os.getcwdu().
284
(Vincent Ladeuil, #526211, #526353)
286
* Fixed CHM generation by moving the NEWS section template into
287
a separate file. (Ian Clatworthy, #524184)
289
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
176
291
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
177
292
problems importing bzrlib from a non-main thread.
178
293
(Elliot Murphy, #521989)
180
295
* Standardize the error handling when creating a new ``StaticTuple``
181
296
(problems will raise TypeError). (Matt Nordhoff, #457979)
183
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
298
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
299
``StaticTuple`` extensions, rather than having the build fail randomly.
300
(John Arbash Meinel, #449776)
192
310
* Drop Google Analytics from the core docs as they caused problems
193
311
in the CHM files. (Ian Clatworthy, #502010)
316
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
317
can set a signal handler and call ``signal.siginterrupt(signum,
318
False)`` for it, if the platform and Python version supports it.
319
(Andrew Bennetts, #496813)