~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Vincent Ladeuil
  • Date: 2010-04-22 08:44:52 UTC
  • mto: (5176.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5177.
  • Revision ID: v.ladeuil+lp@free.fr-20100422084452-pbumo8dq15o31yah
append_revisions_only accept all valid booleans, update doc to
warn about backward compatibility.

* bzrlib/tests/test_branch.py:
(TestBranchOptions.check_aro_is): Update warning message.
(TestBranchOptions.test_valid_append_revisions_only): More values
are accepted.
(TestBranchOptions.test_invalid_append_revisions_only): Less
values are invalid.

* bzrlib/tests/blackbox/test_init.py:
(TestSFTPInit.test_init_append_revisions_only): The default value
is now None.

* bzrlib/branch.py:
(BzrBranch8._get_append_revisions_only): Accept all valid booleans.

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.2.0b1 (not released yet)
 
8
bzr 2.2.0b3 (not released yet)
9
9
##############################
10
10
 
11
11
:Codename: ???
12
 
:2.2.0b1: ???
13
 
 
14
 
Compatibility Breaks
15
 
********************
16
 
 
17
 
New Features
18
 
************
19
 
 
20
 
Bug Fixes
21
 
*********
 
12
:2.2.0b3: ???
22
13
 
23
14
Improvements
24
15
************
25
16
 
26
 
* The interpretation of 'append_revisions_only' has been made more
27
 
  strict, allowing for only 'True' and 'False'.  When unset, the
28
 
  option defaults to False for backward compatibility.  If the value
29
 
  cannot be interpreted as a boolean, a warning is emitted and, for
30
 
  compatibility with previous bzr versions, the option defaults to
31
 
  False.
 
17
* ``append_revisions_only`` will no be interpreted as a boolean and a
 
18
  warning emitted if illegal values are used. Note that for projects
 
19
  that needs to maintain compatibility with previsous bzr versions,
 
20
  only 'True' and 'False' strings must be used (previous versions of
 
21
  bzr will interpret all strings differing from 'True'
 
22
  (case-sensitive) as false.
32
23
  (Brian de Alwis, Vincent Ladeuil)
33
24
 
34
 
Documentation
35
 
*************
36
 
 
37
 
API Changes
38
 
***********
39
 
 
40
 
Internals
41
 
*********
42
 
 
43
 
Testing
44
 
*******
45
 
 
 
25
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
 
26
  be interpreted as a boolean.
 
27
  (Vincent Ladeuil)
46
28
 
47
29
bzr 2.1.0rc2
48
30
############