/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-04-06 06:59:03 UTC
  • mfrom: (5051.5.1 subunit)
  • Revision ID: pqm@pqm.ubuntu.com-20100406065903-y9dxgwmog1pmw7dz
Use subunit when running tests in PQM.

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