30
31
``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)
64
61
* Allow exporting a single file using ``bzr export``.
65
62
(Michal Junák, #511987)
67
* Allow syscalls to automatically restart when ``TextUIFactory``'s
68
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
69
IO, which are often poorly handled by Python's libraries and parts of
70
bzrlib. (Andrew Bennetts, #496813)
72
64
* Avoid infinite recursion when probing for apport.
73
65
(Vincent Ladeuil, #516934)
87
79
* ``bzr remove-tree`` can now remove multiple working trees.
88
80
(Jared Hance, Andrew Bennetts, #253137)
90
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
91
the kept file on content conflicts where one side deleted the file.
92
(Vincent Ladeuil, #529968)
94
82
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
95
83
of ``backup.bzr``. This directory is ignored by bzr commands such as
100
88
ftp servers while trying to take a lock.
101
89
(Martin Pool, #528722)
103
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
104
changes occured between the workingtree and one of its parents.
105
(Vincent Ladeuil, #533437)
107
* Fix stub sftp test server to call os.getcwdu().
108
(Vincent Ladeuil, #526211, #526353)
110
91
* Network transfer amounts and rates are now displayed in SI units according
111
92
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
112
93
(Gordon Tyler, #514399)
115
96
prevents ``bzr status --short`` from crashing when those files are
116
97
present. (John Arbash Meinel, #303275)
118
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
119
directory. (Parth Malwankar, #138600)
99
* Tolerate patches with leading noise in ``bzr-handle-patch``.
100
(Toshio Kuratomi, Martin Pool, #502076)
121
102
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
122
103
the debugger won't kill the session.
123
104
(Martin <gzlist@googlemail.com>, #162502)
125
* Allow additional arguments to
126
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
128
* Tolerate patches with leading noise in ``bzr-handle-patch``.
129
(Toshio Kuratomi, Martin Pool, #502076)
134
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
135
branch to create. (Jelmer Vernooij)
137
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
138
colocated branch to open. (Jelmer Vernooij)
140
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
141
can set a signal handler and call ``signal.siginterrupt(signum,
142
False)`` for it, if the platform and Python version supports it.
143
(Andrew Bennetts, #496813)
145
109
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
146
110
run when starting up; it sets up several things that previously needed
147
111
to be done separately.
148
112
(Martin Pool, #507710)
150
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
151
present in a control directory. (Jelmer Vernooij)
153
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
156
114
* Remove unused ``CommandFailed`` exception.
162
120
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
163
121
``message_callback`` in the same way that commit does. (Robert Collins)
165
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
166
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
167
of date. (Gary van der Merwe)
169
123
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
170
124
functions to load or disable plugins if they wish to use a different
171
125
plugin mechanism; the --help, --version and no-command name code paths
172
126
now use the generic pluggable command lookup infrastructure.
175
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
176
which can be set to add extra help to the error. (Gary van der Merwe)
178
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
179
``BzrDir.open_branch()`` now take an optional ``name`` argument.
197
144
* Stop sending apport crash files to ``.cache`` in the directory from
198
145
which ``bzr selftest`` was run. (Martin Pool, #422350)
200
* Tests no longer fail if "close() called during concurrent
201
operation on the same file object" occurs when closing the log file
202
(which can happen if a thread tries to write to the log file at the
203
wrong moment). An warning will be written to ``stderr`` when this
204
happens, and another warning will be written if the log file could not
205
be closed after retrying 100 times. (Andrew Bennetts, #531746)
215
* Allow syscalls to automatically restart when ``TextUIFactory``'s
216
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
217
IO, which are often poorly handled by Python's libraries and parts of
218
bzrlib. (Andrew Bennetts, #496813)
220
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
221
(Martin Pool, #331095)
223
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
225
* Fix stub sftp test server to call os.getcwdu().
226
(Vincent Ladeuil, #526211, #526353)
228
* Fixed CHM generation by moving the NEWS section template into
229
a separate file. (Ian Clatworthy, #524184)
231
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
233
155
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
234
156
problems importing bzrlib from a non-main thread.
235
157
(Elliot Murphy, #521989)
237
159
* Standardize the error handling when creating a new ``StaticTuple``
238
160
(problems will raise TypeError). (Matt Nordhoff, #457979)
240
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
241
``StaticTuple`` extensions, rather than having the build fail randomly.
242
(John Arbash Meinel, #449776)
162
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
248
* Added a link to the Desktop Guide. (Ian Clatworthy)
250
167
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
252
* Drop Google Analytics from the core docs as they caused problems
253
in the CHM files. (Ian Clatworthy, #502010)
258
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
259
can set a signal handler and call ``signal.siginterrupt(signum,
260
False)`` for it, if the platform and Python version supports it.
261
(Andrew Bennetts, #496813)
526
bzr 2.0.5 (not released yet)
527
############################
625
:2.0.5: NOT RELEASED YET
630
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
631
(Martin Pool, #331095)
633
* Concurrent autopacking is more resilient to already-renamed pack files.
634
If we find that a file we are about to obsolete is already obsoleted, we
635
do not try to rename it, and we leave the file in ``obsolete_packs``.
636
The code is also fault tolerant if a file goes missing, assuming that
637
another process already removed the file.
638
(John Arbash Meinel, Gareth White, #507557)
640
* Cope with the lockdir ``held/info`` file being empty, which seems to
641
happen fairly often if the process is suddenly interrupted while taking
643
(Martin Pool, #185103)
645
535
* Handle renames correctly when there are files or directories that
646
536
differ only in case. (Chris Jones, Martin Pool, #368931)
648
* Fixed CHM generation by moving the NEWS section template into
649
a separate file. (Ian Clatworthy, #524184)
651
538
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
652
539
error, report that error rather than failing with an unhelpful
653
540
``UnboundLocalError``.