8
bzr 1.17.1 (unreleased)
9
#######################
14
* The optional ``_knit_load_data_pyx`` C extension was never being
15
imported. This caused significant slowdowns when reading data from
16
knit format repositories. (Andrew Bennetts, #405653)
21
:Codename: so-late-its-brunch
26
Bazaar continues to blaze a straight and shining path to the 2.0 release and
27
the elevation of the ``2a`` beta format to the full glory of "supported and
30
Highlights in this release include greatly reduced memory consumption during
31
commits, faster ``ls``, faster ``annotate``, faster network operations if
32
you're specifying a revision number and the final destruction of those
33
annoying progress bar artifacts.
36
Changes from 1.17rc1 to 1.17final
37
*********************************
39
* Change an extension to call the python ``frozenset()`` rather than the C
40
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
41
C api. (John Arbash Meinel, #399366)
43
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
44
``tools/generate_docs.py`` to allow everything to be built on Windows.
45
(John Arbash Meinel, #399356)
47
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
48
directory before serving it. (Andrew Bennetts, #400535)
54
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
55
instead of "product" which is the correct Launchpad terminology. The
56
--product option is deprecated and users should switch to using --project.
57
(Neil Martinsen-Burrell, #238764)
63
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
64
are present in the working tree (if one is present) and no revision is
65
specified. The configuration option ``push_strict`` can be used to set the
66
default for this behavior. (Vincent Ladeuil, #284038, #322808, #65286)
68
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
69
show revision info for the working tree instead of the branch.
70
(Matthew Fuller, John Arbash Meinel)
72
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
73
are present in the working tree and no revision is specified. The
74
configuration option ``send_strict`` can be used to set the default for this
76
(Vincent Ladeuil, #206577)
78
* ``bzr switch --create-branch/-b`` can now be used to create and switch
79
to a new branch. Supplying a name without a ``/`` will create the branch
80
relative to the existing branch. (similar to how ``bzr switch name``
81
works when the branch already exists.) (John Arbash Meinel)
87
* Accept uppercase "Y/N" to prompts such as from break lock.
88
(#335182, Tim Powell, Martin Pool)
90
* Add documentation about diverged branches and how to fix them in the
91
centralized workflow with local commits. Mention ``bzr help
92
diverged-branches`` when a push fails because the branches have
93
diverged. (Neil Martinsen-Burrell, #269477)
95
* Annotate would sometimes 'latch on' to trivial lines, causing important
96
lines to be incorrectly annotated. (John Arbash Meinel, #387952)
98
* Automatic format upgrades triggered by default stacking policies on a
99
1.16rc1 (or later) smart server work again.
100
(Andrew Bennetts, #388675)
102
* Avoid progress bar artifacts being left behind on the screen.
103
(Martin Pool, #321935)
105
* Better message in ``bzr split`` error suggesting a rich root format.
106
(Neil Martinsen-Burrell, #220067)
108
* ``Branch.set_append_revisions_only`` now works with branches on a smart
109
server. (Andrew Bennetts, #365865)
111
* By default, ``bzr branch`` will fail if the target directory exists, but
112
does not already have a control directory. The flag ``--use-existing-dir``
113
will allow operation to proceed. (Alexander Belchenko, #307554)
115
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
118
* Fetch between repositories does not error if they have inconsistent data
119
that should be irrelevant to the fetch operation. (Aaron Bentley)
121
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout
122
of a remote repository.
123
(Jelmer Vernooij, #332194)
125
* Fix bug in decoding v3 smart server messages when receiving multiple
126
lots of excess bytes after an end-of-message.
129
* Force deletion of readonly files during merge, update and other tree
131
(Craig Hewetson, Martin Pool, #218206)
133
* Force socket shutdown in threaded http test servers to avoid client hangs
134
(pycurl). (Vincent Ladeuil, #383920).
136
* ``LRUCache`` will maintain the linked list pointers even if a nodes
137
cleanup function raises an exception. (John Arbash Meinel, #396838)
139
* Progress bars are now suppressed again when the environment variable
140
``BZR_PROGRESS_BAR`` is set to ``none``.
141
(Martin Pool, #339385)
143
* Reduced memory consumption during ``bzr commit`` of large files. For
144
pre 2a formats, should be down to ~3x the size of a file.
145
For ``--2a`` format repositories, it is down to the size of the file
146
content plus the size of the compressed text. Related to bug #109114.
149
* Set hidden attribute on .bzr directory below unicode path should never
150
fail with error. The operation should succeed even if bzr unable to set
151
the attribute. (Alexander Belchenko, related to bug #335362).
153
* Stacking will no longer accept requests to stack on the same
154
branch/repository. Existing branches that incorrectly reference the same
155
repository in a stacking configuration will now raise
156
UnstackableLocationError when the branch is opened. This can be fixed by
157
removing the stacking location inside ``.bzr/branch``.
158
(Robert Collins, #376243)
160
* The ``log+`` decorator, useful in debugging or profiling, could cause
161
"AttributeError: 'list' object has no attribute 'next'". This is now
162
fixed. The log decorator no longer shows the elapsed time or transfer
163
rate because they're available in the log prefixes and the transport
164
activity display respectively.
165
(Martin Pool, #340347)
167
* Unshelve works correctly when multiple zero-length files are present on
168
the shelf. (Aaron Bentley, #363444)
170
* Progress bars no longer show the network transport scheme or direction.
173
* launchpad-login now respects the 'verbose' option.
174
(Jonathan Lange, #217031)
180
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
181
possible to write a deprecation wrapper, but the variable will be
182
removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
183
instead. (Alexander Belchenko)
185
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
186
three new hook points: ``get_command``, ``get_missing_command`` and
187
``list_commands``, which allow just-in-time command name provision
188
rather than requiring all command names be known a-priori.
191
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
192
and can read path to wordpad.exe. (Alexander Belchenko, #392046)
194
* ``graph.KnownGraph`` has been added. This is a class that can give
195
answers to ``heads()`` very quickly. However, it has the assumption that
196
the whole graph has already been loaded. This is true during
197
``annotate`` so it is used there with good success (as much as 2x faster
198
for files with long ancestry and 'cherrypicked' changes.)
199
(John Arbash Meinel, Vincent Ladeuil)
201
* OS file locks are now taken out using ``CreateFile`` rather than
202
``LockFileEx`` on Windows. The locking remains exclusive with
203
``LockFileEx`` but now it also works on older versions of Windows (such
204
as Win98). (Martin <gzlist>)
206
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
207
than the ``Packer`` code. The user visible change is that we now
208
properly fetch the minimum number of texts for non-smart fetching.
212
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
213
the repository as a single string, rather than a list of lines. This can
214
improve memory overhead and performance of committing large files.
215
(Currently a private api, used only by commit). (John Arbash Meinel)
221
* ``bzr annotate`` can now be significantly faster. The time for
222
``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
223
histories and lots of 'duplicate insertions' will be improved more than
224
others. (John Arbash Meinel, Vincent Ladeuil)
226
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
227
to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
228
substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
230
* Improve "Path(s) are not versioned" error reporting for some commands.
233
* Initial commit performance in ``--2a`` repositories has been improved by
234
making it cheaper to build the initial CHKMap. (John Arbash Meinel)
236
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
237
or ``bzr+ssh://`` is now much faster and involves no VFS operations.
238
This speeds up commands like ``bzr pull -r 123``. (Andrew Bennetts)
240
* ``revision-info`` now properly aligns the revnos/revids in the output
241
and doesn't traceback when given revisions not in the current branch.
242
Performance is also significantly improved when requesting multiple revs
243
at once. (Matthew Fuller, John Arbash Meinel)
245
* Tildes are no longer escaped by Transports. (Andy Kilner)
251
* Avoid bad text wrapping in generated documentation. Slightly better
252
formatting in the user reference.
253
(Martin Pool, #249908)
255
* Minor clarifications to the help for End-Of-Line conversions.
261
* Removed overspecific error class ``InvalidProgressBarType``.
264
* The method ``ProgressView._show_transport_activity`` is now
265
``show_transport_activity`` because it's part of the contract between
266
this class and the UI. (Martin Pool)
270
vim: tw=74 ft=rst ff=unix