~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: John Arbash Meinel
  • Date: 2009-11-20 16:42:28 UTC
  • mto: This revision was merged to the branch mainline in revision 4819.
  • Revision ID: john@arbash-meinel.com-20091120164228-aa9agsdfomwzqshc
Fix bug #485771. Only change '/' to '/' when expanding globs.

The code we had would replace '/' even if it was in a quoted section,
or if it was part of a simple argument that didn't have a glob.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.. contents:: List of Releases
6
6
   :depth: 1
7
7
 
8
 
bzr 2.1.0rc1 (not released yet)
9
 
###############################
10
 
 
11
 
:Codename: the 'new' stable
12
 
:2.1.0rc1: 2009-01-06 (expected)
13
 
 
14
 
Compatibility Breaks
15
 
********************
16
 
 
17
 
New Features
18
 
************
19
 
 
20
 
* ``bzr update`` now takes a ``--revision`` argument. This lets you
21
 
  change the revision of the working tree to any revision in the
22
 
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
23
 
  Martin Pool, #45719)
24
 
 
25
 
* ``-Dbytes`` can now be used to display the total number of bytes
26
 
  transferred for the current command. This information is always logged
27
 
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
28
 
 
29
 
* The ``suppress_warnings`` configuration option has been introduced and
30
 
  accept the ``format_deprecation`` value to disable the corresponding
31
 
  warning for repositories. It can be set to in either ``bazaar.conf``,
32
 
  ``locations.conf`` or ``branch.conf``.
33
 
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
34
 
 
35
 
 
36
 
Bug Fixes
37
 
*********
38
 
 
39
 
* ``bzr export dir`` now requests all file content as a record stream,
40
 
  rather than requsting the file content one file-at-a-time. This can make
41
 
  exporting over the network significantly faster (54min => 9min in one
42
 
  case). (John Arbash Meinel, #343218)
43
 
 
44
 
* ``bzr serve`` no longer slowly leaks memory. The compiled
45
 
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
46
 
  free resources, and it should have been using ``__dealloc__``.
47
 
  This will likely have an impact on any other process that is serving for
48
 
  an extended period of time.  (John Arbash Meinel, #494406)
49
 
 
50
 
* ``bzr switch -b`` can now create branches that are located using directory
51
 
  services such as ``lp:``, even when the branch name doesn't contain a
52
 
  '/'.  (Neil Martinsen-Burrell, #495263)
53
 
 
54
 
* ``bzr unshelve`` has improved messages about what it is doing.
55
 
  (Neil Martinsen-Burrell, #496917)
56
 
 
57
 
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
58
 
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
59
 
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
60
 
 
61
 
* Give a clearer message if the lockdir disappears after being apparently
62
 
  successfully taken.  (Martin Pool, #498378)
63
 
 
64
 
* Listen to the SIGWINCH signal to update the terminal width.
65
 
  (Vincent Ladeuil, #316357)
66
 
 
67
 
* The 2a format wasn't properly restarting autopacks when something
68
 
  changed underneath it (like another autopack). Now concurrent
69
 
  autopackers will properly succeed. (John Arbash Meinel, #495000)
70
 
 
71
 
Improvements
72
 
************
73
 
 
74
 
* Push will now inform the user when they are trying to push to a foreign 
75
 
  VCS for which roundtripping is not supported, and will suggest them to 
76
 
  use dpush. (Jelmer Vernooij)
77
 
 
78
 
* Transport network activity indicator is shown more of the time when
79
 
  Bazaar is doing network IO.
80
 
  (Martin Pool)
81
 
 
82
 
Documentation
83
 
*************
84
 
 
85
 
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
86
 
  including discussions of installation, relevant plugins, security and 
87
 
  backup.
88
 
 
89
 
API Changes
90
 
***********
91
 
 
92
 
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
93
 
  to be consistent with instances being lower case and classes being
94
 
  CamelCase. For the features that were more likely to be used, we added a
95
 
  deprecation thunk, but not all. (John Arbash Meinel)
96
 
 
97
 
* ``WorkingTree.update`` implementations must now accept a ``revision``
98
 
  parameter.
99
 
 
100
 
Internals
101
 
*********
102
 
 
103
 
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
104
 
  objects but passes str objects straight through. This is used for
105
 
  selftest but may be useful for diff and other operations that generate
106
 
  mixed output. (Robert Collins)
107
 
 
108
 
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
109
 
  plugins. (Jelmer Vernooij)
110
 
 
111
 
Testing
112
 
*******
113
 
 
114
 
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
115
 
  running all tests in the current module, once against a pure python
116
 
  implementation, and once against an extension (pyrex/C) implementation.
117
 
  It can be used to dramatically simplify the implementation of
118
 
  ``load_tests``.  (John Arbash Meinel)
119
 
 
120
 
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
121
 
  This permits features in testtools such as getUniqueInteger and
122
 
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
123
 
  newer is now a dependency to run bzr selftest. Running with versions of
124
 
  testtools less than 0.9.2 will cause bzr to error while loading the test
125
 
  suite. (Robert Collins)
126
 
 
127
 
* The test progress bar no longer distinguishes tests that 'errored' from
128
 
  tests that 'failed' - they're all just failures.
129
 
  (Martin Pool)
130
 
 
131
 
bzr 2.0.4 (not released yet)
132
 
############################
133
 
 
134
 
:Codename:
135
 
:2.0.4: smooth sailing
136
 
 
137
 
Compatibility Breaks
138
 
********************
139
 
 
140
 
New Features
141
 
************
142
 
 
143
 
Bug Fixes
144
 
*********
145
 
 
146
 
* ``bzr export dir`` now requests all file content as a record stream,
147
 
  rather than requsting the file content one file-at-a-time. This can make
148
 
  exporting over the network significantly faster (54min => 9min in one
149
 
  case). (John Arbash Meinel, #343218)
150
 
 
151
 
* ``bzr serve`` no longer slowly leaks memory. The compiled
152
 
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
153
 
  free resources, and it should have been using ``__dealloc__``.
154
 
  This will likely have an impact on any other process that is serving for
155
 
  an extended period of time.  (John Arbash Meinel, #494406)
156
 
 
157
 
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
158
 
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
159
 
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
160
 
 
161
 
* Give a clearer message if the lockdir disappears after being apparently
162
 
  successfully taken.  (Martin Pool, #498378)
163
 
 
164
 
* The 2a format wasn't properly restarting autopacks when something
165
 
  changed underneath it (like another autopack). Now concurrent
166
 
  autopackers will properly succeed. (John Arbash Meinel, #495000)
167
 
 
168
 
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
169
 
  the right time will get propagated, rather than silently failing to move
170
 
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
171
 
 
172
 
Improvements
173
 
************
174
 
 
175
 
Documentation
176
 
*************
177
 
 
178
 
API Changes
179
 
***********
180
 
 
181
 
Internals
182
 
*********
183
 
 
184
 
Testing
185
 
*******
186
 
 
187
 
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
188
 
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
189
 
  rather than an ``except ?:`` clause.) This should help prevent bugs like
190
 
  bug #495023. (John Arbash Meinel)
191
 
 
192
 
 
193
 
bzr 2.1.0b4
194
 
###########
 
8
bzr 2.1.0b4 (not released yet)
 
9
##############################
195
10
 
196
11
:Codename: san francisco airport
197
 
:2.1.0b4: 2009-12-14
198
 
 
199
 
The fourth beta release in the 2.1 series brings with it a significant
200
 
number of bugfixes (~20). The test suite is once again (finally) "green"
201
 
on Windows, and should remain that way for future releases. There are a
202
 
few performance related updates (faster upgrade and log), and several UI
203
 
tweaks. There has also been a significant number of tweaks to the runtime
204
 
documentation. 2.1.0b4 include everything from the 2.0.3 release.
205
 
 
 
12
:2.1.0b4: ???
206
13
 
207
14
Compatibility Breaks
208
15
********************
219
26
* ``bzr commit`` now has a ``--commit-time`` option.
220
27
  (Alexander Sack, #459276)
221
28
 
222
 
* ``-Dhpss`` now increases logging done when run on the bzr server,
223
 
  similarly to how it works on the client. (John Arbash Meinel)
224
 
 
225
 
* New option ``bzr unshelve --keep`` applies the changes and leaves them
226
 
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
227
 
 
228
 
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
229
 
  respect a given terminal width. This can be useful when output is
230
 
  redirected or in obscure cases where the default value is not
231
 
  appropriate. Pagers can use it to get a better control of the line
232
 
  lengths. 
233
 
  (Vincent Ladeuil)
234
 
 
235
 
* The new command ``bzr lp-mirror`` will request that Launchpad update its
236
 
  mirror of a local branch. This command will only function if launchpadlib
237
 
  is installed.
238
 
  (Jonathan Lange)
239
 
 
240
 
 
241
29
Bug Fixes
242
30
*********
243
31
 
245
33
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
246
34
  source of some dirstate-related failures. (John Arbash Meinel)
247
35
 
248
 
* ``bzr commit`` now detects commit messages that looks like file names
249
 
  and issues a warning.
250
 
  (Gioele Barabucci, #73073)
251
 
 
252
36
* ``bzr ignore /`` no longer causes an IndexError. (Gorder Tyler, #456036)
253
37
 
254
 
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
255
 
  (#325618, #484109, Marius Kruger)
256
 
 
257
 
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
258
 
  files with conflicts (similar to ``--merge3``). The contents of the file
259
 
  is a synthesis of all bases used for the merge.
260
 
  (John Arbash Meinel, #40412)
261
 
 
262
38
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
263
39
 
264
 
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
265
 
  (Robert Collins, #84659)
266
 
 
267
 
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
268
 
 
269
 
* Fix bug with redirected URLs over authenticated HTTP.
270
 
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
271
 
 
272
 
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
273
 
 
274
40
* Lots of bugfixes for the test suite on Windows. We should once again
275
41
  have a test suite with no failures on Windows. (John Arbash Meinel)
276
42
 
277
 
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
278
 
  variable but returns None if the terminal is not a tty (when output is
279
 
  redirected for example). Also fixes its usage under OSes that doesn't
280
 
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
281
 
  windows too.
282
 
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
283
 
  (John Arbash Meinel, Vincent Ladeuil, #492561)
284
 
 
285
 
* Terminate ssh subprocesses when no references to them remain, fixing
286
 
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
287
 
  
288
 
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
289
 
  works for 2a format trees.  Only files unaffected by content filters
290
 
  will be hardlinked.  (Andrew Bennetts, #408193)
291
 
 
292
43
* The new glob expansion on Windows would replace all ``\`` characters
293
44
  with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
294
45
  etc. Now only change slashes if there is something being glob expanded.
295
46
  (John Arbash Meinel, #485771)
296
47
 
297
 
* Use our faster ``KnownGraph.heads()`` functionality when computing the
298
 
  new rich-root heads. This can cut a conversion time in half (mysql from
299
 
  13.5h => 6.2h) (John Arbash Meinel, #487632)
300
 
 
301
 
* When launching a external diff tool via bzr diff --using, temporary files
302
 
  are no longer created, rather, the path to the file in the working tree is
303
 
  passed to the external diff tool. This allows the file to be edited if the
304
 
  diff tool provides for this. (Gary van der Merwe, #490738)
305
 
  
306
 
* The launchpad-open command can now be used from a subdirectory of a
307
 
  branch, not just from the root of the branch. 
308
 
  (Neil Martinsen-Burrell, #489102)
309
 
 
310
 
 
311
48
Improvements
312
49
************
313
50
 
314
 
* ``bzr log`` is now faster. (Ian Clatworthy)
315
 
 
316
 
* ``bzr update`` provides feedback on which branch it is up to date with.
317
 
  (Neil Martinsen-Burrell)
318
 
 
319
 
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
320
 
  For details see the xml8 patch and heads() improvements.
321
 
  (John Arbash Meinel)
322
 
 
323
 
* ``bzrlib.urlutils.local_path_from_url`` now accepts
324
 
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
325
 
  Hudson)
326
 
 
327
 
* The progress bar now shows only a spinner and per-operation counts,
328
 
  not an overall progress bar.  The previous bar was often not correlated
329
 
  with real overall operation progress, either because the operations take
330
 
  nonlinear time, or because at the start of the operation Bazaar couldn't
331
 
  estimate how much work there was to do.  (Martin Pool)
332
 
 
333
51
Documentation
334
52
*************
335
53
 
336
 
* Lots of documentation tweaks for inline help topics and command help
337
 
  information.
338
 
 
339
54
API Changes
340
55
***********
341
56
 
342
 
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
343
 
 
344
 
* The Launchpad plugin now has a function ``login`` which will log in to
345
 
  Launchpad with launchpadlib, and ``load_branch`` which will return the
346
 
  Launchpad Branch object corresponding to a given Bazaar Branch object.
347
 
  (Jonathan Lange)
348
 
 
349
57
Internals
350
58
*********
351
59
 
352
 
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
353
 
  easier to handle what tests you want to run based on what modules can be
354
 
  imported. (Rather than lots of custom-implemented features that were
355
 
  basically copy-and-pasted.) (John Arbash Meinel)
356
 
 
357
 
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
358
 
  ``time.clock()`` when you want to do performance timing.
359
 
  ``time.time()`` is limited to 15ms resolution on Windows, but
360
 
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
361
 
  (John Arbash Meinel)
362
 
 
363
 
* Several code paths that were calling ``Transport.get().read()`` have
364
 
  been changed to the equalivent ``Transport.get_bytes()``. The main
365
 
  difference is that the latter will explicitly call ``file.close()``,
366
 
  rather than expecting the garbage collector to handle it. This helps
367
 
  with some race conditions on Windows during the test suite and sftp
368
 
  tests. (John Arbash Meinel)
369
 
 
370
60
Testing
371
61
*******
372
62
 
373
 
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
374
 
  unicode strings. (Michael Hudson, #464174)
375
 
 
376
 
 
377
 
bzr 2.0.3
378
 
#########
379
 
 
380
 
:Codename: little italy
381
 
:2.0.3: 2009-12-14
382
 
 
383
 
 
384
 
The third stable release of Bazaar has a small handful of bugfixes. As
385
 
expected, this has no internal or external compatibility changes versus
386
 
2.0.2 (or 2.0.0).
 
63
 
 
64
bzr 2.0.3 (not released yet)
 
65
############################
 
66
 
 
67
:Codename: 
 
68
:2.0.3: ???
 
69
 
 
70
Compatibility Breaks
 
71
********************
 
72
 
 
73
New Features
 
74
************
387
75
 
388
76
Bug Fixes
389
77
*********
390
 
 
391
 
* ``bzr push --use-existing-dir`` no longer crashes if the directory
392
 
  exists but contains an invalid ``.bzr`` directory.
393
 
  (Andrew Bennetts, #423563)
394
 
 
395
 
* Content filters are now applied correctly after pull, merge and switch.
396
 
  (Ian Clatworthy, #385879)
397
 
 
398
 
* Fix a potential segfault in the groupcompress hash map handling code.
399
 
  When inserting new entries, if the final hash bucket was empty, we could
400
 
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
401
 
  (John Arbash Meinel, #490228)
 
78
* Fix for shell completion and short options.  (Benoît PIERRE)
402
79
 
403
80
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
404
81
 
 
82
Improvements
 
83
************
 
84
 
 
85
Documentation
 
86
*************
 
87
* Include Japanese translations for documentation (Inada Naoki)
 
88
 
 
89
API Changes
 
90
***********
 
91
 
 
92
Internals
 
93
*********
 
94
 
 
95
Testing
 
96
*******
 
97
 
 
98
 
405
99
 
406
100
bzr 2.1.0b3
407
101
###########
462
156
  ``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
463
157
  the sha1 from the repo directly. (John Arbash Meinel)
464
158
 
465
 
* Shelve command refuse to run if there is no real terminal.
466
 
  (Alexander Belchenko)
467
 
 
468
 
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
469
 
  Python level.  (Martin Pool)
470
159
 
471
160
Documentation
472
161
*************
473
162
 
474
163
* Include Japanese translations for documentation (Inada Naoki)
475
164
 
476
 
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
477
 
  (rather than user-interaction) data to stdout.  This automatically
478
 
  coordinates with progress bars or other terminal activity, and can be
479
 
  overridden by GUIs.
480
 
  (Martin Pool, 493944)
481
 
 
482
 
Internals
483
 
*********
484
 
 
485
165
* Some of the core groupcompress functionality now releases the GIL before
486
166
  operation. Similar to how zlib and bz2 operate without the GIL in the
487
167
  core compression and decompression routines. (John Arbash Meinel)
534
214
memory consumption (50%) and garbage collector overhead (40% faster) for
535
215
many operations.
536
216
 
537
 
* A new ``--concurrency`` option has been added as well as an associated
538
 
  BZR_CONCURRENCY environment variable to specify the number of
539
 
  processes that can be run concurrently when running ``bzr selftest``. The
540
 
  command-line option overrides the environment variable if both are
541
 
  specified. If none is specified. the number of processes is obtained
542
 
  from the OS as before.  (Matt Nordhoff, Vincent Ladeuil)
543
 
 
544
217
Bug Fixes
545
218
*********
546
219
 
2855
2528
* Multiple authors for a commit can now be recorded by using the "--author"
2856
2529
  option multiple times. (James Westby, #185772)
2857
2530
 
2858
 
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
 
2531
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernoij)
2859
2532
 
2860
2533
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
2861
2534
  branch in your web browser, as long as the branch is on Launchpad at all.