/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

Warn if a config variable can't be interpreted as a boolean

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
Compatibility Breaks
14
14
********************
15
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
16
New Features
23
17
************
24
18
 
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
19
Bug Fixes
40
20
*********
41
21
 
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
22
* Reduce peak memory by one copy of compressed text.
66
23
  (John Arbash Meinel, #566940)
67
24
 
68
 
* Show the filenames when a file rename fails so that the error will be
69
 
  more comprehensible.
70
 
  (Martin Pool, #491763)
71
 
 
72
25
Improvements
73
26
************
74
27
 
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
28
Documentation
88
29
*************
89
30
 
90
31
API Changes
91
32
***********
92
33
 
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
34
Internals
113
35
*********
114
36
 
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
37
Testing
131
38
*******
132
39
 
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.
 
40
 * ``bzr selftest --parallel=subprocess`` now works correctly on win32.
138
41
   (Gordon Tyler, #551332)
139
42
 
140
 
* Workaround ``Crypto.Random`` check leading to spurious test
141
 
  failures on Lucid, FreeBSD and gentoo.  
142
 
  (Vincent Ladeuil, #528436)
143
43
 
144
44
bzr 2.2b2
145
45
#########
158
58
* ``bzr diff`` now supports a --format option, which can be used to 
159
59
  select alternative diff formats. (Jelmer Vernooij, #555994)
160
60
 
 
61
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
 
62
  can save disk space by deleting obsolete pack files created during the
 
63
  pack operation.
 
64
  (Parth Malwankar, #304320)
 
65
 
161
66
Bug Fixes
162
67
*********
163
68
 
172
77
  http://bugs.python.org/issue8396 .
173
78
  (Parth Malwankar, #413406)
174
79
 
175
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
176
 
  (Aaron Bentley, #559436)
177
 
 
178
80
* ``bzr update`` when a pending merge in the working tree has been merged
179
81
  into the master branch will no longer claim that old commits have become
180
82
  pending merges. (Robert Collins, #562079)
181
83
 
 
84
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
 
85
  (Vincent Ladeuil, #566670)
 
86
 
182
87
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
183
88
  config as in previous versions of bzrlib. (Robert Collins)
184
89
 
 
90
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
 
91
  (Vincent Ladeuil, #563997)
 
92
 
185
93
* Fix glitch in the warning about unclean trees display.
186
94
  (Vincent Ladeuil, #562665)
187
95
 
197
105
  which is not installed any more" error.
198
106
  (Martin Pool, James Westby, #528114)
199
107
 
 
108
* Repositories accessed via a smart server now reject being stacked on a
 
109
  repository in an incompatible format, as is the case when accessing them
 
110
  via other methods.  This was causing fetches from those repositories via
 
111
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
112
  (Andrew Bennetts, #562380)
 
113
 
200
114
* Reset ``siginterrupt`` flag to False every time we handle a signal
201
115
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
202
116
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
204
118
  (Andrew Bennetts)
205
119
 
206
120
* 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.
 
121
  that are not part of the ancestry anymore.
209
122
  (Vincent Ladeuil, #474807)
210
123
 
211
 
* Properly handle ``param_name`` attribute for ``ListOption``.
212
 
  (Martin von Gagern, 387117)
213
 
 
214
124
Improvements
215
125
************
216
126
 
258
168
  Command is now transient and only exists for the duration of ``run()``.
259
169
  (Robert Collins)
260
170
 
 
171
 
261
172
bzr 2.2.0b1
262
173
###########
263
174
 
443
354
  mainline (i.e. it supports dotted revisions).
444
355
  (Parth Malwankar, #517800)
445
356
 
 
357
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
 
358
  group ownership from the containing directory. This allow bzr to work
 
359
  better with sudo.
 
360
  (Parth Malwankar, #376388)
 
361
 
446
362
* Use first apparent author not committer in GNU Changelog format.
447
363
  (Martin von Gagern, #513322)
448
364
 
543
459
  happens, and another warning will be written if the log file could not
544
460
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
545
461
 
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
462
bzr 2.1.1
579
463
#########
580
464
 
608
492
  problems importing bzrlib from a non-main thread.
609
493
  (Elliot Murphy, #521989)
610
494
 
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
495
* Standardize the error handling when creating a new ``StaticTuple``
618
496
  (problems will raise TypeError). (Matt Nordhoff, #457979)
619
497
 
689
567
Improvements
690
568
************
691
569
 
 
570
* ``append_revisions_only`` will no be interpreted as a boolean and a
 
571
  warning emitted if illegal values are used. Note that for projects
 
572
  that needs to maintain compatibility with previsous bzr versions,
 
573
  only 'True' and 'False' strings must be used (previous versions of
 
574
  bzr will interpret all strings differing from 'True'
 
575
  (case-sensitive) as false.
 
576
  (Brian de Alwis, Vincent Ladeuil)
 
577
 
 
578
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
 
579
  be interpreted as a boolean.
 
580
  (Vincent Ladeuil)
 
581
 
692
582
* Fetching into experimental formats will now print a warning. (Jelmer
693
583
  Vernooij)
694
584
 
1013
903
  permissions as ``.bzr`` directory on a POSIX OS.
1014
904
  (Parth Malwankar, #262450)
1015
905
 
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
906
 
1022
907
bzr 2.0.5
1023
908
#########