~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Arnaud Jeansen
  • Date: 2010-04-15 20:22:04 UTC
  • mto: This revision was merged to the branch mainline in revision 5161.
  • Revision ID: arnaud.jeansen@gmail.com-20100415202204-862f6y0nh76dhpjp
Remove XXX as per Robert's comment in the merge proposal

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.2b3
9
 
#########
10
 
 
11
 
:2.2b3: NOT RELEASED YET
12
 
 
13
 
Compatibility Breaks
14
 
********************
15
 
 
16
 
* An API break has been made to the lock_write method of ``Branch`` and
17
 
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
18
 
  and ``repository.RepositoryWriteLockResult`` objects. This makes
19
 
  changing the API in future easier and permits some cleaner calling code.
20
 
  (Robert Collins)
21
 
 
22
 
New Features
23
 
************
24
 
 
25
 
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
26
 
  ``--show-diff``.
27
 
  (Parth Malwankar, #571467)
28
 
  
29
 
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
30
 
  the default ignore rules used by bzr. The flag ``--old-default-rules``
31
 
  is no longer supported by ``ignore``.
32
 
  (Parth Malwankar, #538703)
33
 
 
34
 
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
35
 
  can save disk space by deleting obsolete pack files created during the
36
 
  pack operation.
37
 
  (Parth Malwankar, #304320)
38
 
 
39
 
Bug Fixes
40
 
*********
41
 
 
42
 
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
43
 
  group ownership from the containing directory. This allow bzr to work
44
 
  better with sudo.
45
 
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
46
 
 
47
 
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
48
 
  are part of Y ancestry but not part of X ancestry (aka the graph
49
 
  difference).
50
 
  (Vincent Ladeuil, #320119)
51
 
 
52
 
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
53
 
  (Vincent Ladeuil, #566670)
54
 
 
55
 
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
56
 
  (Vincent Ladeuil, #563997)
57
 
 
58
 
* Don't mention --no-strict when we just issue the warning about unclean trees.
59
 
  (Vincent Ladeuil, #401599)
60
 
 
61
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
62
 
  versions before 1.6.
63
 
  (Andrew Bennetts, #528041)
64
 
 
65
 
* Reduce peak memory by one copy of compressed text.
66
 
  (John Arbash Meinel, #566940)
67
 
 
68
 
* Show the filenames when a file rename fails so that the error will be
69
 
  more comprehensible.
70
 
  (Martin Pool, #491763)
71
 
 
72
 
Improvements
73
 
************
74
 
 
75
 
* ``append_revisions_only`` will now be interpreted as a boolean and a
76
 
  warning emitted if illegal values are used. Note that for projects
77
 
  that needs to maintain compatibility with previsous bzr versions,
78
 
  only 'True' and 'False' strings must be used (previous versions of
79
 
  bzr will interpret all strings differing from 'True'
80
 
  (case-sensitive) as false.
81
 
  (Brian de Alwis, Vincent Ladeuil)
82
 
 
83
 
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
84
 
  be interpreted as a boolean.
85
 
  (Vincent Ladeuil)
86
 
 
87
 
Documentation
88
 
*************
89
 
 
90
 
API Changes
91
 
***********
92
 
 
93
 
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
94
 
  some kinds of ``merge_file_content`` hook functions.
95
 
  (Andrew Bennetts)
96
 
  
97
 
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
98
 
  `user_transport`, `control_url` and `control_transport` members pointing
99
 
  respectively to the directory containing the ``.bzr`` control directory, 
100
 
  and to the directory within ``.bzr`` used for the particular component.
101
 
  All of them inherit from `ControlComponent` which provides default
102
 
  implementations.
103
 
  (Martin Pool)
104
 
 
105
 
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
106
 
  expected to return an object which can be used to unlock them. This reduces
107
 
  duplicate code when using cleanups. The previous 'tokens's returned by
108
 
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
109
 
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
110
 
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
111
 
 
112
 
Internals
113
 
*********
114
 
 
115
 
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
116
 
  (Robert Collins)
117
 
 
118
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
119
 
  suboptimal network behaviour is noticed; instead it just mutters to the
120
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
121
 
  This was causing unnecessary aborts for performance bugs that are minor
122
 
  at worst.
123
 
  (Andrew Bennetts, #528041)
124
 
 
125
 
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
126
 
  files loaded from disk. To ensure docstrings needed for help are never
127
 
  stripped, the prefix ``__doc__ =`` should now be used.
128
 
  (Martin <gzlist@googlemail.com>)
129
 
 
130
 
Testing
131
 
*******
132
 
 
133
 
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
134
 
  our first in-tree matcher. See the module docstring for details.
135
 
  (Robert Collins)
136
 
 
137
 
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
138
 
   (Gordon Tyler, #551332)
139
 
 
140
 
* Workaround ``Crypto.Random`` check leading to spurious test
141
 
  failures on Lucid, FreeBSD and gentoo.  
142
 
  (Vincent Ladeuil, #528436)
143
 
 
144
8
bzr 2.2b2
145
9
#########
146
10
 
147
 
:2.2b2: 2010-04-16
148
 
 
149
 
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
150
 
incompatibility in the 2.2b1 release.  It also includes a swag of
151
 
performance, usability and correctness improvements: test feedback on all
152
 
of these would be welcome.
153
 
 
 
11
:2.2b2: NOT RELEASED YET
 
12
 
 
13
Compatibility Breaks
 
14
********************
154
15
 
155
16
New Features
156
17
************
161
22
Bug Fixes
162
23
*********
163
24
 
164
 
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
165
 
  instead of failing when dirty trees are involved. The corresponding
166
 
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
167
 
  True explicitly to get the previous behaviour.  
168
 
  (Vincent Ladeuil, #519319)
169
 
 
170
 
* ``bzr export`` to tar file does not fail if any parent directory
171
 
  contains unicode characters. This works around upstream Python bug
172
 
  http://bugs.python.org/issue8396 .
173
 
  (Parth Malwankar, #413406)
174
 
 
175
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
176
 
  (Aaron Bentley, #559436)
177
 
 
178
 
* ``bzr update`` when a pending merge in the working tree has been merged
179
 
  into the master branch will no longer claim that old commits have become
180
 
  pending merges. (Robert Collins, #562079)
181
 
 
182
 
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
183
 
  config as in previous versions of bzrlib. (Robert Collins)
184
 
 
185
 
* Fix glitch in the warning about unclean trees display.
186
 
  (Vincent Ladeuil, #562665)
187
 
 
188
 
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
189
 
  (Martin Pool)
190
 
 
191
 
* Help messages generated by ``RegistryOption.from_kwargs`` list the
192
 
  switches in alphabetical order, rather than in an undefined order.
193
 
  (Martin von Gagern, #559409)
194
 
 
195
 
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
196
 
  Apport crash reports, to avoid "This problem report applies to a program
197
 
  which is not installed any more" error.
198
 
  (Martin Pool, James Westby, #528114)
199
 
 
200
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
201
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
202
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
203
 
  errors after two window resizes.
204
 
  (Andrew Bennetts)
205
 
 
206
25
* When invoked with a range revision, ``bzr log`` doesn't show revisions
207
 
  that are not part of the Y revisions ancestry anymore when invoked with
208
 
  -rX..Y.
 
26
  that are not part of the ancestry anymore.
209
27
  (Vincent Ladeuil, #474807)
210
28
 
211
 
* Properly handle ``param_name`` attribute for ``ListOption``.
212
 
  (Martin von Gagern, 387117)
213
 
 
214
29
Improvements
215
30
************
216
31
 
217
 
* ``bzr commit`` will prompt before using a commit message that was
218
 
  generated by a template and not edited by the user.
219
 
  (Robert Collins, #530265)
220
 
 
221
 
* ``bzr diff`` read-locks the trees and branches only once, saving about
222
 
  10-20ms on ``bzr diff`` in a bzr.dev tree.
223
 
  (Andrew Bennetts)
224
 
 
225
 
* ``bzr missing`` read-locks the branches only once.
226
 
  (Andrew Bennetts)
227
 
  
228
 
* ``bzr pull`` locks the branches and tree only once.
229
 
  (Andrew Bennetts)
230
 
  
231
 
* Index lookups in pack repositories search recently hit pack files first.  
232
 
  In repositories with many pack files this can greatly reduce the
233
 
  number of files accessed, the number of bytes read, and the number of
234
 
  read calls.  An incremental pull via plain HTTP takes half the time and
235
 
  bytes for a moderately large repository.  (Andrew Bennetts)
236
 
 
237
 
* Index lookups only re-order the indexes when the hit files aren't
238
 
  already first. Reduces the cost of reordering
239
 
  (John Arbash Meinel, #562429)
240
 
 
241
32
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
242
33
  less.)
243
34
  (Martin Pool, #553017)
244
35
 
 
36
Documentation
 
37
*************
 
38
 
245
39
API Changes
246
40
***********
247
41
 
248
 
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
249
 
  ``get_trees_and_branches_to_diff_locked`` instead.
250
 
  (Andrew Bennetts)
251
 
  
252
42
Internals
253
43
*********
254
44
 
255
 
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
256
 
  2.1 method of calling run() to perform testing or direct use via the API
257
 
  is now possible again. As part of this, the _operation attribute on
258
 
  Command is now transient and only exists for the duration of ``run()``.
259
 
  (Robert Collins)
 
45
Testing
 
46
*******
 
47
 
260
48
 
261
49
bzr 2.2.0b1
262
50
###########
263
51
 
264
 
:2.2.0b1: 2010-04-01
 
52
:2.2.0b1: Not released yet
265
53
 
266
54
Compatibility Breaks
267
55
********************
439
227
* Tolerate patches with leading noise in ``bzr-handle-patch``.
440
228
  (Toshio Kuratomi, Martin Pool, #502076)
441
229
 
442
 
* ``update -r`` now supports updating to revisions that are not on
443
 
  mainline (i.e. it supports dotted revisions).
444
 
  (Parth Malwankar, #517800)
 
230
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
 
231
  group ownership from the containing directory. This allow bzr to work
 
232
  better with sudo.
 
233
  (Parth Malwankar, #376388)
445
234
 
446
235
* Use first apparent author not committer in GNU Changelog format.
447
236
  (Martin von Gagern, #513322)
476
265
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
477
266
  present in a control directory. (Jelmer Vernooij)
478
267
 
479
 
* New method ``Repository.get_known_graph_ancestry()``. 
480
 
  (Jelmer Vernooij, #495502)
481
 
 
482
268
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
483
269
  (Neil Santos)
484
270
 
543
329
  happens, and another warning will be written if the log file could not
544
330
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
545
331
 
546
 
bzr 2.1.2
547
 
#########
548
 
 
549
 
:2.1.2: NOT RELEASED YET
550
 
 
551
 
Bug Fixes
552
 
*********
553
 
 
554
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
555
 
  (Aaron Bentley, #559436)
556
 
 
557
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
558
 
  versions before 1.6.
559
 
  (Andrew Bennetts, #528041)
560
 
 
561
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
562
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
563
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
564
 
  errors after two window resizes.
565
 
  (Andrew Bennetts)
566
 
 
567
 
Internals
568
 
*********
569
 
 
570
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
571
 
  suboptimal network behaviour is noticed; instead it just mutters to the
572
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
573
 
  This was causing unnecessary aborts for performance bugs that are minor
574
 
  at worst.
575
 
  (Andrew Bennetts, #528041)
576
 
 
577
 
 
578
332
bzr 2.1.1
579
333
#########
580
334
 
608
362
  problems importing bzrlib from a non-main thread.
609
363
  (Elliot Murphy, #521989)
610
364
 
611
 
* Repositories accessed via a smart server now reject being stacked on a
612
 
  repository in an incompatible format, as is the case when accessing them
613
 
  via other methods.  This was causing fetches from those repositories via
614
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
615
 
  (Andrew Bennetts, #562380)
616
 
 
617
365
* Standardize the error handling when creating a new ``StaticTuple``
618
366
  (problems will raise TypeError). (Matt Nordhoff, #457979)
619
367
 
993
741
  tests that 'failed' - they're all just failures.
994
742
  (Martin Pool)
995
743
 
996
 
bzr 2.0.6
997
 
#########
998
 
 
999
 
:2.0.6: NOT RELEASED YET
1000
 
 
1001
 
Bug Fixes
1002
 
*********
1003
 
 
1004
 
* Additional merges after an unrelated branch has been merged with its
1005
 
  history no longer crash when deleted files are involved.
1006
 
  (Vincent Ladeuil, John Arbash Meinel, #375898)
1007
 
 
1008
 
* ``bzr revert`` now only takes write lock on working tree, instead of on 
1009
 
  both working tree and branch.
1010
 
  (Danny van Heumen, #498409)
1011
 
 
1012
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1013
 
  permissions as ``.bzr`` directory on a POSIX OS.
1014
 
  (Parth Malwankar, #262450)
1015
 
 
1016
 
* Repositories accessed via a smart server now reject being stacked on a
1017
 
  repository in an incompatible format, as is the case when accessing them
1018
 
  via other methods.  This was causing fetches from those repositories via
1019
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1020
 
  (Andrew Bennetts, #562380)
1021
744
 
1022
745
bzr 2.0.5
1023
746
#########
1024
747
 
1025
 
:2.0.5: 2010-03-23
1026
 
 
1027
 
This fifth release in our 2.0 series addresses several user-inconvenience
1028
 
bugs.  None are critical, but upgrading is recommended for all users on
1029
 
earlier 2.0 releases.
 
748
:Codename:
 
749
:2.0.5: NOT RELEASED YET
1030
750
 
1031
751
Bug Fixes
1032
752
*********
1055
775
* Handle renames correctly when there are files or directories that 
1056
776
  differ only in case.  (Chris Jones, Martin Pool, #368931)
1057
777
 
 
778
* Fixed CHM generation by moving the NEWS section template into
 
779
  a separate file. (Ian Clatworthy, #524184)
 
780
 
1058
781
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1059
782
  error, report that error rather than failing with an unhelpful
1060
783
  ``UnboundLocalError``.
1074
797
* Added ``location-alias`` help topic.
1075
798
  (Andrew Bennetts, #337834)
1076
799
 
1077
 
* Fixed CHM generation by moving the NEWS section template into
1078
 
  a separate file. (Ian Clatworthy, #524184)
1079
 
 
1080
 
 
1081
800
bzr 2.0.4
1082
801
#########
1083
802