~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-18 19:13:45 UTC
  • mfrom: (4360.4.17 1.15-pack-source)
  • Revision ID: pqm@pqm.ubuntu.com-20090618191345-vgsr5zv78uesqsdg
(jam) Get rid of InterPackRepository in favor of PackStreamSource.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
In Development
10
10
##############
11
11
 
 
12
New Features
 
13
************
 
14
 
 
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)
 
18
 
 
19
 
 
20
Bug Fixes
 
21
*********
 
22
 
 
23
* Add documentation about diverged branches and how to fix them in the
 
24
  centralized workflow with local commits.  Mention ``bzr help
 
25
  diverged-branches`` when a push fails because the branches have
 
26
  diverged.  (Neil Martinsen-Burrell, #269477)
 
27
 
 
28
* Automatic format upgrades triggered by default stacking policies on a
 
29
  1.16rc1 (or later) smart server work again.
 
30
  (Andrew Bennetts, #388675)
 
31
 
 
32
* Better message in ``bzr split`` error suggesting a rich root format.
 
33
  (Neil Martinsen-Burrell, #220067)
 
34
 
 
35
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
36
  server. (Andrew Bennetts, #365865)
 
37
 
 
38
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
39
  (Ian Clatworthy)
 
40
 
 
41
* Progress bars are now suppressed again when the environment variable
 
42
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
43
  (Martin Pool, #339385)
 
44
 
 
45
Internals
 
46
*********
 
47
 
 
48
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
49
  three new hook points: ``get_command``, ``get_missing_command`` and
 
50
  ``list_commands``, which allow just-in-time command name provision
 
51
  rather than requiring all command names be known a-priori.
 
52
  (Robert Collins)
 
53
 
 
54
* ``graph.KnownGraph`` has been added. This is a class that can give
 
55
  answers to ``heads()`` very quickly. However, it has the assumption that
 
56
  the whole graph has already been loaded. This is true during
 
57
  ``annotate`` so it is used there with good success (as much as 2x faster
 
58
  for files with long ancestry and 'cherrypicked' changes.)
 
59
  (John Arbash Meinel)
 
60
 
 
61
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
62
  than the ``Packer`` code. The user visible change is that we now
 
63
  properly fetch the minimum number of texts for non-smart fetching.
 
64
  (John Arbash Meinel)
 
65
 
 
66
 
 
67
Improvements
 
68
************
 
69
 
 
70
``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
71
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
72
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
73
 
 
74
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
75
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
76
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
77
 
 
78
Documentation
 
79
*************
 
80
 
 
81
* Minor clarifications to the help for End-Of-Line conversions.
 
82
  (Ian Clatworthy)
 
83
 
 
84
API Changes
 
85
***********
 
86
 
 
87
* Removed overspecific error class ``InvalidProgressBarType``.
 
88
  (Martin Pool)
 
89
 
 
90
* The method ``ProgressView._show_transport_activity`` is now
 
91
  ``show_transport_activity`` because it's part of the contract between
 
92
  this class and the UI.  (Martin Pool)
 
93
 
 
94
 
 
95
bzr 1.16rc1 "It's yesterday in California" 2009-06-11
 
96
#####################################################
 
97
:Codename: yesterday-in-california
 
98
 
 
99
This version of Bazaar contains the beta release of the new ``2a`` repository
 
100
format, suitable for testing by fearless, advanced users. This format or an
 
101
updated version of it will become the default format in Bazaar 2.0. Please
 
102
read the NEWS entry before even thinking about upgrading to the new format.
 
103
 
 
104
Also included are speedups for many operations on huge projects, a bug fix for
 
105
pushing stacked new stacked branches to smart servers and the usual bevy of
 
106
bug fixes and improvements.
 
107
 
 
108
 
12
109
Compatibility Breaks
13
110
********************
14
111
 
 
112
* Display prompt on stderr (instead of stdout) when querying users so
 
113
  that the output of commands can be safely redirected.
 
114
  (Vincent Ladeuil, #376582)
 
115
 
 
116
 
15
117
New Features
16
118
************
17
119
 
 
120
* A new repository format ``2a`` has been added.  This is a beta release
 
121
  of the the brisbane-core (aka group-compress) project.  This format now
 
122
  suitable for wider testing by advanced users willing to deal with some
 
123
  bugs.  We would appreciate test reports, either positive or negative.
 
124
  Format 2a is substantially smaller and faster for many operations on
 
125
  many trees.  This format or an updated version will become the default
 
126
  in bzr 2.0.
 
127
 
 
128
  This is a rich-root format, so this repository format can be used with
 
129
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
130
  converted (including by merge, push and pull) to format 2a, but not vice
 
131
  versa.  We recommend upgrading previous development formats to 2a.
 
132
 
 
133
  Upgrading to this format can take considerable time because it expands
 
134
  and more concisely repacks the full history.
 
135
 
 
136
  If you use stacked branches, you must upgrade the stacked branches
 
137
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
138
 
 
139
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
140
  but using a Revision serializer using bencode rather than XML.
 
141
  (Jelmer Vernooij, John Arbash Meinel)
 
142
 
 
143
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
144
  configured from address.  (Barry Warsaw)
 
145
 
18
146
Improvements
19
147
************
20
148
 
 
149
 
 
150
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
151
  bugs with stacking and non default formats.)
 
152
  (John Arbash Meinel, #373455)
 
153
 
 
154
* ``--development6-rich-root`` delays generating a delta index for the
 
155
  first object inserted into a group. This has a beneficial impact on
 
156
  ``bzr commit`` since each committed texts goes to its own group. For
 
157
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
158
  up commit from 7s => 4s. (John Arbash Meinel)
 
159
 
21
160
* Numerous operations are now faster for huge projects, i.e. those
22
161
  with a large number of files and/or a large number of revisions,
23
162
  particularly when the latest development format is used. These
30
169
 
31
170
  (Ian Clatworthy)
32
171
 
33
 
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
34
 
  bugs with stacking and non default formats.)
35
 
  (John Arbash Meinel, #373455)
 
172
* Pyrex version of ``bencode`` support. This provides optimized support
 
173
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
174
  ``bzrlib.utils.bencode`` is now deprecated.
 
175
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
36
176
 
37
177
 
38
178
Bug Fixes
39
179
*********
40
180
 
 
181
* Bazaar can now pass attachment files to the mutt email client.
 
182
  (Edwin Grubbs, #384158)
 
183
 
41
184
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
42
185
  see which files can also be added.  (Jason Spashett, #76616)
43
186
 
 
187
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
188
  Also, the ``Branch.revision_history()`` API now works in the same
 
189
  situation.  (Andrew Bennetts, #380314)
 
190
  
 
191
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
192
  TCP client disconnected. (Andrew Bennetts)
 
193
 
44
194
* Clarify the rules for locking and fallback repositories. Fix bugs in how
45
195
  ``RemoteRepository`` was handling fallbacks along with the
46
196
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
47
197
 
 
198
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
199
  branch. Not often triggered, because it required ghosts to be part of
 
200
  the fetched revisions, not in the stacked-on ancestry.
 
201
  (John Arbash Meinel)
 
202
 
 
203
* Fix status and commit to work with content filtered trees, addressing
 
204
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
205
 
 
206
* Fix problem of "directory not empty" when contending for a lock over
 
207
  sftp.  (Martin Pool, #340352)
 
208
 
 
209
* Fix rule handling so that eol is optional, not mandatory.
 
210
  (Ian Clatworthy, #379370)
 
211
 
 
212
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
213
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
214
  1.16, but required changes to the network protocol, so the
 
215
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
216
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
217
  still work with a 1.16 server as they will fallback to slower (and
 
218
  bug-free) methods.
 
219
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
220
 
 
221
* Reconcile can now deal with text revisions that originated in revisions 
 
222
  that are ghosts. (Jelmer Vernooij, #336749)
 
223
 
 
224
* Support cloning of branches with ghosts in the left hand side history.
 
225
  (Jelmer Vernooij, #248540)
 
226
 
 
227
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
228
  helpful message to the trace file, unless the temp directory really was
 
229
  removed (which would be very strange).  Since the diff operation has
 
230
  succeeded from the user's perspective, no output is written to stderr 
 
231
  or stdout.  (Maritza Mendez, #363837)
 
232
 
 
233
* Translate errors received from a smart server in response to a
 
234
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
235
  This was causing tracebacks even for mundane errors like
 
236
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
48
237
 
49
238
Documentation
50
239
*************
51
240
 
 
241
* Added directory structure and started translation of docs in Russian.
 
242
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
243
  Volodymyr Kotulskyi)
 
244
 
 
245
 
52
246
API Changes
53
247
***********
54
248
 
55
249
* Added osutils.parent_directories(). (Ian Clatworthy)
56
250
 
 
251
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
252
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
253
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
254
 
 
255
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
256
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
257
  for external users. (Gary van der Merwe)
 
258
 
 
259
* ``bzrlib.user_encoding`` is deprecated in favor of
 
260
  ``get_user_encoding``.  (Alexander Belchenko)
 
261
 
57
262
* TreeTransformBase no longer assumes that limbo is provided via disk.
58
263
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
59
264
 
60
 
 
61
265
Internals
62
266
*********
63
267
 
 
268
* Remove ``weave.py`` script for accessing internals of old weave-format
 
269
  repositories.  (Martin Pool)
 
270
 
64
271
Testing
65
272
*******
66
273
 
 
274
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
275
 
 
276
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
277
 
 
278
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
279
 
67
280
 
68
281
bzr 1.15
69
282
########
70
283
:1.15rc1: 2009-05-16
71
284
:1.15: 2009-05-22
 
285
:1.15.1: 2009-06-09
72
286
 
73
287
The smart server will no longer raise 'NoSuchRevision' when streaming content
74
288
with a size mismatch in a reconstructed graph search. New command ``bzr
75
289
dpush``. Plugins can now define their own annotation tie-breaker when two
76
290
revisions introduce the exact same line.
77
291
 
 
292
Changes from 1.15.1 to 1.15.2
 
293
*****************************
 
294
 
 
295
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
296
  (Alexander Belchenko)
 
297
 
 
298
Changes from 1.15final to 1.15.1
 
299
*********************************
 
300
 
 
301
* Translate errors received from a smart server in response to a
 
302
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
303
  This was causing tracebacks even for mundane errors like
 
304
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
305
 
78
306
Changes from 1.15rc1 to 1.15final
79
307
*********************************
80
308