~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

Merge cleanup into description

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
bzr 2.1.0rc1 (not released yet)
9
9
###############################
10
10
 
11
 
:Codename: the 'new' stable
 
11
:Codename: mysterioso
12
12
:2.1.0rc1: 2009-01-06 (expected)
13
13
 
14
14
Compatibility Breaks
17
17
New Features
18
18
************
19
19
 
20
 
* Add bug information to log output when available.
21
 
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
22
 
 
23
 
* ``bzr branch`` now takes a ``--bind`` option. This lets you
24
 
  branch and bind all in one command. (Ian Clatworthy)
25
 
 
26
 
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
27
 
  a specific revision of a branch. (Daniel Watkins, #183559)
28
 
 
29
 
* ``bzr unshelve --preview`` can now be used to show how a patch on the
30
 
  shelf would be applied to the working tree.
31
 
  (Guilherme Salgado, #308122)
32
 
 
33
 
* ``bzr update`` now takes a ``--revision`` argument. This lets you
34
 
  change the revision of the working tree to any revision in the
35
 
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
36
 
  Martin Pool, #45719)
37
 
 
38
 
* ``-Dbytes`` can now be used to display the total number of bytes
39
 
  transferred for the current command. This information is always logged
40
 
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
41
 
 
42
 
* The ``suppress_warnings`` configuration option has been introduced and
43
 
  accept the ``format_deprecation`` value to disable the corresponding
44
 
  warning for repositories. It can be set to in either ``bazaar.conf``,
45
 
  ``locations.conf`` or ``branch.conf``.
46
 
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
 
20
* Tree-shape conflicts can be resolved by providing ``--keep-mine`` and
 
21
  ``--take-their`` to the ``bzr resolve`` command. Just marking the conflict
 
22
  as resolved is still accessible via the ``--done`` default action.
 
23
  (Vincent Ladeuil, #257297, #232512)
47
24
 
48
25
Bug Fixes
49
26
*********
50
27
 
51
 
* Always show a message if an OS error occurs while trying to run a
52
 
  user-specified commit message editor.
53
 
  (Martin Pool, #504842)
54
 
 
55
 
* ``bzr export dir`` now requests all file content as a record stream,
56
 
  rather than requsting the file content one file-at-a-time. This can make
57
 
  exporting over the network significantly faster (54min => 9min in one
58
 
  case). (John Arbash Meinel, #343218)
59
 
 
60
 
* ``bzr serve`` no longer slowly leaks memory. The compiled
61
 
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
62
 
  free resources, and it should have been using ``__dealloc__``.
63
 
  This will likely have an impact on any other process that is serving for
64
 
  an extended period of time.  (John Arbash Meinel, #494406)
65
 
 
66
 
* ``bzr switch -b`` can now create branches that are located using directory
67
 
  services such as ``lp:``, even when the branch name doesn't contain a
68
 
  '/'.  (Neil Martinsen-Burrell, #495263)
69
 
 
70
 
* ``bzr unshelve`` has improved messages about what it is doing.
71
 
  (Neil Martinsen-Burrell, #496917)
72
 
 
73
 
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
74
 
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
75
 
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
76
 
 
77
 
* Fix "Too many concurrent requests" in reconcile when network connection
78
 
  fails.  (Andrew Bennetts, #503878)
79
 
 
80
 
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
81
 
  that caused some tests to fail when run in a non-default order.
82
 
  Probably no user impact.  (Martin Pool, #504102)
83
 
 
84
 
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
85
 
  (Andrew Bennetts, #506274)
86
 
 
87
 
* FTP transports support Unicode paths by encoding/decoding them as utf8.
88
 
  (Vincent Ladeuil, #472161)
89
 
 
90
 
* Give a clearer message if the lockdir disappears after being apparently
91
 
  successfully taken.  (Martin Pool, #498378)
92
 
 
93
 
* Listen to the SIGWINCH signal to update the terminal width.
94
 
  (Vincent Ladeuil, #316357)
95
 
 
96
 
* Progress bars are now hidden when ``--quiet`` is given.
97
 
  (Martin Pool, #320035)
98
 
 
99
 
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
100
 
  whatever is written to it.  This un-breaks some plugin tests that
101
 
  depended on this behaviour.
102
 
  (Martin Pool, #499757)
103
 
 
104
 
* The 2a format wasn't properly restarting autopacks when something
105
 
  changed underneath it (like another autopack). Now concurrent
106
 
  autopackers will properly succeed. (John Arbash Meinel, #495000)
107
 
 
108
 
* When operations update the working tree, all affected files should end
109
 
  up with the same mtime. (eg. when versioning a generated file, if you
110
 
  update the source and the generated file together, the generated file
111
 
  should appear up-to-date.)
112
 
  (John Arbash Meinel, Martin <gzlist>, #488724)
113
 
 
114
28
Improvements
115
29
************
116
30
 
117
 
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
118
 
  All the builtin commands now use ``add_cleanup`` rather than
119
 
  ``try``/``finally`` blocks where applicable as it is simpler and more
120
 
  robust.  (Andrew Bennetts)
121
 
 
122
 
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
123
 
  path/to/repo``) will now include "location is a repository" as a hint in
124
 
  the error message.  (Brian de Alwis, Andrew Bennetts, #440952)
125
 
 
126
 
* Push will now inform the user when they are trying to push to a foreign 
127
 
  VCS for which roundtripping is not supported, and will suggest them to 
128
 
  use dpush. (Jelmer Vernooij)
129
 
 
130
 
* The version of bzr being run is now written to the log file.
131
 
  (__monty__, #257170)
132
 
 
133
 
* Transport network activity indicator is shown more of the time when
134
 
  Bazaar is doing network IO.
135
 
  (Martin Pool)
136
 
 
137
31
Documentation
138
32
*************
139
33
 
140
 
* Improved help for ``bzr send``. 
141
 
  (Martin Pool, Bojan Nikolic)
142
 
 
143
 
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
144
 
  including discussions of installation, relevant plugins, security and 
145
 
  backup. (Neil Martinsen-Burrell)
146
 
 
147
 
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
148
 
  (Ian Clatworthy)
149
 
 
150
 
* The User Reference is now presented as a series of topics.
151
 
  Many of the included topics have link and format tweaks applied.
152
 
  (Ian Clatworthy)
153
 
 
154
34
API Changes
155
35
***********
156
36
 
157
 
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
158
 
  to be consistent with instances being lower case and classes being
159
 
  CamelCase. For the features that were more likely to be used, we added a
160
 
  deprecation thunk, but not all. (John Arbash Meinel)
161
 
 
162
 
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
163
 
  by plugins - the original exceptions are now preserved. (Robert Collins)
164
 
 
165
 
* The Transport ``Server.tearDown`` method is now renamed to
166
 
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
167
 
  our normal naming pattern, and to avoid confusion with Python's
168
 
  ``TestCase.tearDown``.  (Martin Pool)
169
 
 
170
 
* ``WorkingTree.update`` implementations must now accept a ``revision``
171
 
  parameter.
172
 
 
173
37
Internals
174
38
*********
175
39
 
176
 
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
177
 
  a string of details (such as "location is a repository") as part of a
178
 
  ``nobranch`` response.  (Andrew Bennetts, #440952)
179
 
  
180
 
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
181
 
  objects but passes str objects straight through. This is used for
182
 
  selftest but may be useful for diff and other operations that generate
183
 
  mixed output. (Robert Collins)
184
 
 
185
 
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
186
 
  plugins. (Jelmer Vernooij)
187
 
 
188
40
Testing
189
41
*******
190
42
 
191
 
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
192
 
  running all tests in the current module, once against a pure python
193
 
  implementation, and once against an extension (pyrex/C) implementation.
194
 
  It can be used to dramatically simplify the implementation of
195
 
  ``load_tests``.  (John Arbash Meinel)
196
 
 
197
 
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
198
 
  This permits features in testtools such as getUniqueInteger and
199
 
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
200
 
  newer is now a dependency to run bzr selftest. Running with versions of
201
 
  testtools less than 0.9.2 will cause bzr to error while loading the test
202
 
  suite. (Robert Collins)
203
 
 
204
 
* Shell-like tests now support the command "mv" for moving files.  The
205
 
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
206
 
  supported.  (Neil Martinsen-Burrell)
207
 
 
208
 
* The test progress bar no longer distinguishes tests that 'errored' from
209
 
  tests that 'failed' - they're all just failures.
210
 
  (Martin Pool)
211
 
 
212
43
bzr 2.0.4 (not released yet)
213
44
############################
214
45
 
215
 
:Codename:
216
 
:2.0.4: smooth sailing
 
46
:Codename: template
 
47
:2.0.4: ???
217
48
 
218
49
Compatibility Breaks
219
50
********************
224
55
Bug Fixes
225
56
*********
226
57
 
227
 
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
228
 
  fails with an ``ObjectNotLocked`` error.  (Andrew Bennetts, #496590)
229
 
 
230
 
* ``bzr export dir`` now requests all file content as a record stream,
231
 
  rather than requsting the file content one file-at-a-time. This can make
232
 
  exporting over the network significantly faster (54min => 9min in one
233
 
  case). (John Arbash Meinel, #343218)
234
 
 
235
 
* ``bzr serve`` no longer slowly leaks memory. The compiled
236
 
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
237
 
  free resources, and it should have been using ``__dealloc__``.
238
 
  This will likely have an impact on any other process that is serving for
239
 
  an extended period of time.  (John Arbash Meinel, #494406)
240
 
 
241
 
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
242
 
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
243
 
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
244
 
 
245
 
* Concurrent autopacks will no longer lose a newly created pack file.
246
 
  There was a race condition, where if the reload happened at the right
247
 
  time, the second packer would forget the name of the newly added pack
248
 
  file. (John Arbash Meinel, Gareth White, #507566)
249
 
 
250
 
* Give a clearer message if the lockdir disappears after being apparently
251
 
  successfully taken.  (Martin Pool, #498378)
252
 
 
253
 
* Give a warning when fetching between repositories (local or remote) with
254
 
  sufficiently different formats that the content will need to be
255
 
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
256
 
  the user has a clue that upgrading could make it faster.
257
 
  (Martin Pool, #456077)
258
 
 
259
 
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
260
 
  than using ``warning()``. The log file is opened before logging is set
261
 
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
262
 
  users, rather than something nicer.
263
 
  (John Arbash Meinel, Barry Warsaw, #503886)
264
 
 
265
 
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
266
 
  (Martin Pool, John Arbash Meinel, #449372)
267
 
 
268
 
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
269
 
  build. (there is still the distutils bug
270
 
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
271
 
 
272
 
* The 2a format wasn't properly restarting autopacks when something
273
 
  changed underneath it (like another autopack). Now concurrent
274
 
  autopackers will properly succeed. (John Arbash Meinel, #495000)
275
 
 
276
 
* ``TreeTransform`` can now handle when a delta says that the file id for
277
 
  the tree root changes. Rather than trying to rename your working
278
 
  directory, or failing early saying that you can't have multiple
279
 
  tree roots. This also fixes revert, update, and pull when the root id
280
 
  changes.  (John Arbash Meinel, #494269, #504390)
281
 
 
282
 
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
283
 
  the right time will get propagated, rather than silently failing to move
284
 
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
285
 
 
286
58
Improvements
287
59
************
288
60
 
298
70
Testing
299
71
*******
300
72
 
301
 
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
302
 
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
303
 
  rather than an ``except ?:`` clause.) This should help prevent bugs like
304
 
  bug #495023. (John Arbash Meinel)
305
 
 
306
73
 
307
74
bzr 2.1.0b4
308
75
###########
346
113
  lengths. 
347
114
  (Vincent Ladeuil)
348
115
 
349
 
* The new command ``bzr lp-mirror`` will request that Launchpad update its
350
 
  mirror of a local branch. This command will only function if launchpadlib
351
 
  is installed.
352
 
  (Jonathan Lange)
353
 
 
354
 
 
355
116
Bug Fixes
356
117
*********
357
118
 
455
216
 
456
217
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
457
218
 
458
 
* The Launchpad plugin now has a function ``login`` which will log in to
459
 
  Launchpad with launchpadlib, and ``load_branch`` which will return the
460
 
  Launchpad Branch object corresponding to a given Bazaar Branch object.
461
 
  (Jonathan Lange)
462
 
 
463
219
Internals
464
220
*********
465
221
 
612
368
* ``--parallel=fork`` is now compatible with --subunit.
613
369
  (Robert Collins, Vincent Ladeuil, #419776)
614
370
 
615
 
* Reporting of failures shows test ids not descriptions and thus shows
616
 
  parameterised tests correctly. (Robert Collins)
617
 
 
618
371
* TestNotApplicable is now handled within the TestCase.run method rather
619
372
  than being looked for within ``ExtendedTestResult.addError``. This
620
373
  provides better handling with other ``TestResult`` objects, degrading to
2972
2725
* Multiple authors for a commit can now be recorded by using the "--author"
2973
2726
  option multiple times. (James Westby, #185772)
2974
2727
 
2975
 
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
 
2728
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernoij)
2976
2729
 
2977
2730
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
2978
2731
  branch in your web browser, as long as the branch is on Launchpad at all.