27
33
``bzrlib.tests.test_server``.
36
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
37
as its second parameter, for consistency with the initialize() method of
38
other formats. (Jelmer Vernooij)
43
* Added ``bzr remove-branch`` command that can remove a local or remote
44
branch. (Jelmer Vernooij, #276295)
46
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
47
to set file mtimes to the last timestamp of the last revision in which
48
they were changed rather than the current time. (Jelmer Vernooij)
33
50
* If the Apport crash-reporting tool is available, bzr crashes are now
34
51
stored into the ``/var/crash`` apport spool directory, and the user is
35
52
invited to report them to the developers from there, either
36
53
automatically or by running ``apport-bug``. No information is sent
37
54
without specific permission from the user. (Martin Pool, #515052)
56
* Parsing of command lines, for example in ``diff --using``, no longer
57
treats backslash as an escape character on Windows. (Gordon Tyler,
60
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
61
a list of plugin names separated by ':' (';' on windows).
62
(Vincent Ladeuil, #411413)
64
* Plugins can be loaded from arbitrary locations by defining
65
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
66
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
67
specified plugins. This is targeted at plugin developers for punctual
68
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
69
(Vincent Ladeuil, #82693)
71
* Tag names can now be determined automatically by ``automatic_tag_name``
72
hooks on ``Branch`` if they are not specified on the command line.
39
75
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
40
76
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
41
77
as resolved is still accessible via the ``--done`` default action.
80
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
81
(Aaron Bentley, Jonathan Lange)
47
86
* Added docstring for ``Tree.iter_changes``
48
87
(John Arbash Meinel, #304182)
89
* Allow additional arguments to
90
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
50
92
* Allow exporting a single file using ``bzr export``.
51
93
(Michal Junák, #511987)
95
* Allow syscalls to automatically restart when ``TextUIFactory``'s
96
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
97
IO, which are often poorly handled by Python's libraries and parts of
98
bzrlib. (Andrew Bennetts, #496813)
53
100
* Avoid infinite recursion when probing for apport.
54
101
(Vincent Ladeuil, #516934)
56
103
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
57
104
(Martin Pool, #331095)
106
* Avoid truncating svn URLs.
107
(Martin Pool, Martin von Gagern, #545185)
59
109
* ``bzr add`` will not add conflict related files unless explicitly required.
60
110
(Vincent Ladeuil, #322767, #414589)
112
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
113
indices do not have reference lists, so ``dump-btree`` will simply show
114
``None`` instead. (Andrew Bennetts, #488607)
116
* ``bzr help`` will no longer trigger the get_missing_command hook when
117
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
118
did you mean log?') when getting help. In future we may trigger the hook
119
deliberately when no help topics match from any help index.
120
(Robert Collins, #396261)
122
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
123
revspec as representing the first revision of the branch.
124
(Vincent Ladeuil, #519862)
62
126
* ``bzr remove-tree`` can now remove multiple working trees.
63
127
(Jared Hance, Andrew Bennetts, #253137)
129
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
130
the kept file on content conflicts where one side deleted the file.
131
(Vincent Ladeuil, #529968)
133
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
134
permissions as ``.bzr`` directory on a POSIX OS.
135
(Parth Malwankar, #262450)
137
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
138
of ``backup.bzr``. This directory is ignored by bzr commands such as
140
(Parth Malwankar, #335033, #300001)
142
* Cope with non-utf8 characters inside ``.bzrignore``.
143
(Jason Spashett, #183504)
145
* Correctly interpret "451 Rename/move failure: Directory not empty" from
146
ftp servers while trying to take a lock.
147
(Martin Pool, #528722)
149
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
150
changes occured between the workingtree and one of its parents.
151
(Vincent Ladeuil, #535547)
153
* Fix ``log`` to better check ancestors even if merged revisions are involved.
154
(Vincent Ladeuil, #476293)
156
* Many IO operations that returned ``EINTR`` were retried even if it
157
wasn't safe to do so via careless use of ``until_no_eintr``. Bazaar now
158
only retries operations that are safe to retry, and in some cases has
159
switched to operations that can be retried (e.g. ``sock.send`` rather than
161
(Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
163
* Path conflicts now support --take-this and --take-other even when a
164
deletion is involved.
165
(Vincent Ladeuil, #531967)
65
167
* Network transfer amounts and rates are now displayed in SI units according
66
168
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
67
169
(Gordon Tyler, #514399)
70
172
prevents ``bzr status --short`` from crashing when those files are
71
173
present. (John Arbash Meinel, #303275)
175
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
176
directory. (Parth Malwankar, #138600)
178
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
179
the debugger won't kill the session.
180
(Martin <gzlist@googlemail.com>, #162502)
182
* Tolerate patches with leading noise in ``bzr-handle-patch``.
183
(Toshio Kuratomi, Martin Pool, #502076)
185
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
186
group ownership from the containing directory. This allow bzr to work
188
(Parth Malwankar, #376388)
193
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
194
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
197
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
198
branch to create. (Jelmer Vernooij)
200
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
201
colocated branch to open. (Jelmer Vernooij)
203
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
204
can set a signal handler and call ``signal.siginterrupt(signum,
205
False)`` for it, if the platform and Python version supports it.
206
(Andrew Bennetts, #496813)
76
208
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
77
209
run when starting up; it sets up several things that previously needed
78
210
to be done separately.
79
211
(Martin Pool, #507710)
213
* Exporters now support a ``per_file_timestamps`` argument to write out the
214
timestamp of the commit in which a file revision was introduced.
217
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
218
present in a control directory. (Jelmer Vernooij)
220
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
81
223
* Remove unused ``CommandFailed`` exception.
229
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
230
``message_callback`` in the same way that commit does. (Robert Collins)
232
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
233
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
234
of date. (Gary van der Merwe)
236
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
237
functions to load or disable plugins if they wish to use a different
238
plugin mechanism; the --help, --version and no-command name code paths
239
now use the generic pluggable command lookup infrastructure.
242
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
243
which can be set to add extra help to the error. (Gary van der Merwe)
245
* New method ``Branch.automatic_tag_name`` that can be used to find the
246
tag name for a particular revision automatically. (Jelmer Vernooij)
248
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
249
``BzrDir.open_branch()`` now take an optional ``name`` argument.
87
* New `bzrlib.tests.test_import_tariff` can make assertions about what
255
* bzr now has a ``.testr.conf`` file in its source tree configured
256
appropriately for running tests with Testrepository
257
(``https://launchpad.net/testrepository``). (Robert Collins)
259
* Documentation about testing with ``subunit`` has been tweaked.
262
* Known failures has been added for resolve --take-other on ParentLoop
263
conflicts. This reflects bug #537956 without fixing it.
266
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
88
267
Python modules are loaded, to guard against startup time or library
89
268
dependency regressions.
92
271
* Stop sending apport crash files to ``.cache`` in the directory from
93
272
which ``bzr selftest`` was run. (Martin Pool, #422350)
274
* Tests no longer fail if "close() called during concurrent
275
operation on the same file object" occurs when closing the log file
276
(which can happen if a thread tries to write to the log file at the
277
wrong moment). An warning will be written to ``stderr`` when this
278
happens, and another warning will be written if the log file could not
279
be closed after retrying 100 times. (Andrew Bennetts, #531746)
286
This is a small bugfix release. Upgrading is recommended for anyone
287
running 2.1.0 or earlier.
292
* Allow syscalls to automatically restart when ``TextUIFactory``'s
293
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
294
IO, which are often poorly handled by Python's libraries and parts of
295
bzrlib. (Andrew Bennetts, #496813)
297
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
298
(Martin Pool, #331095)
300
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
302
* Fix stub sftp test server to call os.getcwdu().
303
(Vincent Ladeuil, #526221, #526353)
305
* Fixed CHM generation by moving the NEWS section template into
306
a separate file. (Ian Clatworthy, #524184)
308
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
310
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
311
problems importing bzrlib from a non-main thread.
312
(Elliot Murphy, #521989)
314
* Standardize the error handling when creating a new ``StaticTuple``
315
(problems will raise TypeError). (Matt Nordhoff, #457979)
317
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
318
``StaticTuple`` extensions, rather than having the build fail randomly.
319
(John Arbash Meinel, #449776)
324
* Added a link to the Desktop Guide. (Ian Clatworthy)
326
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
328
* Drop Google Analytics from the core docs as they caused problems
329
in the CHM files. (Ian Clatworthy, #502010)
334
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
335
can set a signal handler and call ``signal.siginterrupt(signum,
336
False)`` for it, if the platform and Python version supports it.
337
(Andrew Bennetts, #496813)
452
bzr 2.0.5 (not released yet)
453
############################
698
:2.0.5: NOT RELEASED YET
703
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
704
(Martin Pool, #331095)
706
* Concurrent autopacking is more resilient to already-renamed pack files.
707
If we find that a file we are about to obsolete is already obsoleted, we
708
do not try to rename it, and we leave the file in ``obsolete_packs``.
709
The code is also fault tolerant if a file goes missing, assuming that
710
another process already removed the file.
711
(John Arbash Meinel, Gareth White, #507557)
713
* Cope with the lockdir ``held/info`` file being empty, which seems to
714
happen fairly often if the process is suddenly interrupted while taking
716
(Martin Pool, #185103)
718
* Give the warning about potentially slow cross-format fetches much
719
earlier on in the fetch operation. Don't show this message during
720
upgrades, and show the correct format indication for remote
722
(Martin Pool, #456077, #515356, #513157)
461
724
* Handle renames correctly when there are files or directories that
462
725
differ only in case. (Chris Jones, Martin Pool, #368931)
727
* Fixed CHM generation by moving the NEWS section template into
728
a separate file. (Ian Clatworthy, #524184)
464
730
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
465
731
error, report that error rather than failing with an unhelpful
466
732
``UnboundLocalError``.
467
733
(Andrew Bennetts, #423563)
735
* Running ``bzr`` command without any arguments now shows bzr
736
version number along with rest of the help text.
737
(Parth Malwankar, #369501)
739
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
741
(Inada Naoki, #524560)