6
6
.. contents:: List of Releases
15
* ``bzr push`` now checks if uncommitted changes are present in the working
16
tree if the ``--strict`` option is used.
17
(Vincent Ladeuil, #284038)
19
* ``merge --interactive`` applies a user-selected portion of the merge. The UI
20
is similar to ``shelve``. (Aaron Bentley)
25
* BranchBuilder now accepts timezone to avoid test failures in countries far
26
from GMT. (Vincent Ladeuil, #397716)
28
* ``bzr commit`` no longer saves the unversioning of missing files until
29
the commit has completed on the branch. This means that aborting a
30
commit that found a missing file will leave the tree unedited.
31
(Robert Collins, #282402)
33
* ``bzr mv`` no longer takes out branch locks, which allows it to work
34
when the branch is readonly. (Robert Collins, #216541)
36
* Fixed spurious "Source branch does not support stacking" warning when
37
pushing. (Andrew Bennetts, #388908)
39
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
40
were present in a parent tree but renamed in the working tree.
41
(Robert Collins, #187207)
49
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
54
* New TransformPreview.commit() allows committing without a working tree.
61
bzr 1.17rc1 "So late it's brunch" 2009-07-13
62
############################################
64
Bazaar continues to blaze a straight and shining path to the 2.0 release and
65
the elevation of the ``2a`` beta format to the full glory of "supported and
68
Highlights in this release include greatly reduced memory consumption during
69
commits, faster ``ls``, faster ``annotate``, faster network operations if
70
you're specifying a revision number and the final destruction of those
71
annoying progress bar artifacts.
77
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
78
instead of "product" which is the correct Launchpad terminology. The
79
--product option is deprecated and users should switch to using --project.
80
(Neil Martinsen-Burrell, #238764)
86
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
87
are present in the working tree (if one is present) and no revision is
88
speified. The configuration option ``push_strict`` can be used to set the
89
default for this behavior. (Vincent Ladeuil, #284038, #322808, #65286)
91
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
92
show revision info for the working tree instead of the branch.
93
(Matthew Fuller, John Arbash Meinel)
95
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
96
are present in the working tree and no revision is specified. The
97
configuration option ``send_strict`` can be used to set the default for this
99
(Vincent Ladeuil, #206577)
101
* ``bzr switch --create-branch/-b`` can now be used to create and switch
102
to a new branch. Supplying a name without a ``/`` will create the branch
103
relative to the existing branch. (similar to how ``bzr switch name``
104
works when the branch already exists.) (John Arbash Meinel)
110
* Accept uppercase "Y/N" to prompts such as from break lock.
111
(#335182, Tim Powell, Martin Pool)
23
113
* Add documentation about diverged branches and how to fix them in the
24
114
centralized workflow with local commits. Mention ``bzr help
25
115
diverged-branches`` when a push fails because the branches have
26
116
diverged. (Neil Martinsen-Burrell, #269477)
118
* Annotate would sometimes 'latch on' to trivial lines, causing important
119
lines to be incorrectly annotated. (John Arbash Meinel, #387952)
28
121
* Automatic format upgrades triggered by default stacking policies on a
29
122
1.16rc1 (or later) smart server work again.
30
123
(Andrew Bennetts, #388675)
125
* Avoid progress bar artifacts being left behind on the screen.
126
(Martin Pool, #321935)
32
128
* Better message in ``bzr split`` error suggesting a rich root format.
33
129
(Neil Martinsen-Burrell, #220067)
35
131
* ``Branch.set_append_revisions_only`` now works with branches on a smart
36
132
server. (Andrew Bennetts, #365865)
134
* By default, ``bzr branch`` will fail if the target directory exists, but
135
does not already have a control directory. The flag ``--use-existing-dir``
136
will allow operation to proceed. (Alexander Belchenko, #307554)
38
138
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
141
* Fetch between repositories does not error if they have inconsistent data
142
that should be irrelevant to the fetch operation. (Aaron Bentley)
144
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout
145
of a remote repository.
146
(Jelmer Vernooij, #332194)
148
* Fix bug in decoding v3 smart server messages when receiving multiple
149
lots of excess bytes after an end-of-message.
152
* Force deletion of readonly files during merge, update and other tree
154
(Craig Hewetson, Martin Pool, #218206)
156
* Force socket shutdown in threaded http test servers to avoid client hangs
157
(pycurl). (Vincent Ladeuil, #383920).
159
* ``LRUCache`` will maintain the linked list pointers even if a nodes
160
cleanup function raises an exception. (John Arbash Meinel, #396838)
41
162
* Progress bars are now suppressed again when the environment variable
42
163
``BZR_PROGRESS_BAR`` is set to ``none``.
43
164
(Martin Pool, #339385)
59
180
removing the stacking location inside ``.bzr/branch``.
60
181
(Robert Collins, #376243)
183
* The ``log+`` decorator, useful in debugging or profiling, could cause
184
"AttributeError: 'list' object has no attribute 'next'". This is now
185
fixed. The log decorator no longer shows the elapsed time or transfer
186
rate because they're available in the log prefixes and the transport
187
activity display respectively.
188
(Martin Pool, #340347)
62
190
* Unshelve works correctly when multiple zero-length files are present on
63
191
the shelf. (Aaron Bentley, #363444)
193
* Progress bars no longer show the network transport scheme or direction.
196
* launchpad-login now respects the 'verbose' option.
197
(Jonathan Lange, #217031)
203
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
204
possible to write a deprecation wrapper, but the variable will be
205
removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
206
instead. (Alexander Belchenko)
68
208
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
69
209
three new hook points: ``get_command``, ``get_missing_command`` and
70
210
``list_commands``, which allow just-in-time command name provision
71
211
rather than requiring all command names be known a-priori.
214
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
215
and can read path to wordpad.exe. (Alexander Belchenko, #392046)
74
217
* ``graph.KnownGraph`` has been added. This is a class that can give
75
218
answers to ``heads()`` very quickly. However, it has the assumption that
76
219
the whole graph has already been loaded. This is true during
78
221
for files with long ancestry and 'cherrypicked' changes.)
79
222
(John Arbash Meinel, Vincent Ladeuil)
81
* ``GroupCompress`` repositories now take advantage of the pack hints
82
parameter to permit cross-format fetching to incrementally pack the
83
converted data. (Robert Collins)
224
* OS file locks are now taken out using ``CreateFile`` rather than
225
``LockFileEx`` on Windows. The locking remains exclusive with
226
``LockFileEx`` but now it also works on older versions of Windows (such
227
as Win98). (Martin <gzlist>)
85
229
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
86
230
than the ``Packer`` code. The user visible change is that we now
87
231
properly fetch the minimum number of texts for non-smart fetching.
88
232
(John Arbash Meinel)
90
* ``Repository.commit_write_group`` now returns opaque data about what
91
was committed, for passing to the ``Repository.pack``. Repositories
92
without atomic commits will still return None. (Robert Collins)
94
* ``Repository.pack`` now takes an optional ``hint`` parameter
95
which will support doing partial packs for repositories that can do
96
that. (Robert Collins)
98
* RepositoryFormat has a new attribute 'pack_compresses' which is True
99
when doing a pack operation changes the compression of content in the
100
repository. (Robert Collins)
102
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
103
``Repository.pack`` with the hint returned by
104
``Repository.commit_write_group`` if the formats were different and the
105
repository can increase compression by doing a pack operation.
106
(Robert Collins, #376748)
108
235
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
109
236
the repository as a single string, rather than a list of lines. This can
146
289
this class and the UI. (Martin Pool)
292
bzr 1.16.1 2009-06-26
293
#####################
295
End user testing of the 2a format revealed two serious bugs. The first,
296
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
297
This meant that commits or pushes to 2a-format repositories failed
300
The second bug, #390563, caused the smart server to raise AbsentContentFactory
301
when streaming 2a stacked 2a-format branches. This particularly affected
302
branches stored on Launchpad in the 2a format.
304
Both of these bugs cause command failures only, neither of them cause data
305
corruption or data loss. And, of course, both of these bugs are now fixed.
310
* We now properly request a more minimal set of file texts when fetching
311
multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
313
* Repositories using CHK pages (which includes the new 2a format) will no
314
longer error during commit or push operations when an autopack operation
315
is triggered. (Robert Collins, #365615)
317
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
318
of referenced nodes rather than the *union* to determine what
319
uninteresting pages we still need to look at. Prior to this,
320
incrementally pushing to stacked branch would push the minimal data, but
321
fetching everything would request extra texts. There are some unhandled
322
cases wrt trees of different depths, but this fixes the common cases.
323
(Robert Collins, John Arbash Meinel, #390563)
325
* ``GroupCompress`` repositories now take advantage of the pack hints
326
parameter to permit cross-format fetching to incrementally pack the
327
converted data. (Robert Collins)
329
* ``Repository.commit_write_group`` now returns opaque data about what
330
was committed, for passing to the ``Repository.pack``. Repositories
331
without atomic commits will still return None. (Robert Collins)
333
* ``Repository.pack`` now takes an optional ``hint`` parameter
334
which will support doing partial packs for repositories that can do
335
that. (Robert Collins)
337
* RepositoryFormat has a new attribute 'pack_compresses' which is True
338
when doing a pack operation changes the compression of content in the
339
repository. (Robert Collins)
341
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
342
``Repository.pack`` with the hint returned by
343
``Repository.commit_write_group`` if the formats were different and the
344
repository can increase compression by doing a pack operation.
345
(Robert Collins, #376748)
149
348
bzr 1.16 "It's yesterday in California" 2009-06-18
150
349
##################################################
151
350
:Codename: yesterday-in-california