~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Jelmer Vernooij
  • Date: 2010-08-17 22:24:01 UTC
  • mfrom: (5379 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5389.
  • Revision ID: jelmer@samba.org-20100817222401-x6iblsx36pu6bi3r
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
Compatibility Breaks
15
15
********************
16
16
 
 
17
* BzrError subclasses no longer support the name "message" to be used
 
18
  as an argument for __init__ or in _fmt format specification as this
 
19
  breaks in some Python versions. errors.LockError.__init__ argument
 
20
  is now named "msg" instead of earlier "message".
 
21
  (Parth Malwankar, #603461)
 
22
 
17
23
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
18
24
  longer raised.
19
25
  (Martin Pool)
42
48
  `BzrProber.register_bzrdir_format`.
43
49
  (Jelmer Vernooij)
44
50
 
 
51
* The old ``bzr selftest --benchmark`` option has been removed.
 
52
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
53
  macrobenchmark suite.
 
54
  (Martin Pool)
 
55
 
45
56
New Features
46
57
************
47
58
 
53
64
Bug Fixes
54
65
*********
55
66
 
 
67
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
68
  previously-unversioned directory within the tree: the directory is
 
69
  marked versioned too.  
 
70
  (Martin Pool, #192859)
 
71
 
 
72
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
73
  ``InvalidPattern`` exception error message now shows faulting
 
74
  regular expression.
 
75
  (Parth Malwankar #300062)
 
76
 
56
77
* Check if both --diff-options and --using are set, and exit with error
57
78
  in this case. (Matthäus G. Chajdas, #234708)
58
79
 
 
80
* CommitBuilder now uses the committer instead of _config.username to generate
 
81
  the revision-id.  (Aaron Bentley, #614404)
 
82
 
 
83
* Cope with Microsoft FTP server that returns reply '250 Directory
 
84
  created' when mkdir succeeds.  (Martin Pool, #224373)
 
85
 
 
86
* Decrease peak memory during ``bzr send``. The old code was caching all
 
87
  text content and all inventory strings for all revisions before
 
88
  computing the diffs. Now we only cache as long as there is a child that
 
89
  will need them. Sending 2000 bzr revisions drops from 1.2GB peak to
 
90
  256MB peak. (John Arbash Meinel, #614576)
 
91
 
59
92
* Don't print internal object name when print an invalid revision spec
60
93
  error.  (Neil Martinsen-Burrell, #598701)
61
94
 
62
 
* ``HTTP/1.1` test servers now set a ``Content-Length`` header to comply
 
95
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
96
  directory that was a symlink in the previous commit.
 
97
  (Martin Pool, #192859)
 
98
 
 
99
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
63
100
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
64
101
 
65
102
* `PathNotChild` should not give a traceback.
66
103
  (Martin Pool, #98735)
67
104
 
 
105
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
106
  which can result in "missing referenced chk root keys" errors when
 
107
  fetching from repositories with affected revisions.
 
108
  (Andrew Bennetts, #522637)
 
109
 
68
110
* ``Transport.stat`` on a symlink, including a transport pointing directly
69
111
  to a symlink, now returns information about the symlink.
70
112
  (Martin Pool)
72
114
Improvements
73
115
************
74
116
 
 
117
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
 
118
  have dropped from 68 bytes to 40, and directory entries from 120 bytes
 
119
  to 48).  (Andrew Bennetts)
 
120
 
75
121
* When building new working trees, default to reading from the repository
76
122
  rather than the source tree unless explicitly requested. (via
77
123
  ``--files-from`` and ``--hardlink`` for ``bzr branch`` and
82
128
Documentation
83
129
*************
84
130
 
 
131
* Added a builder/writer sphinx extension that can generate texinfo files. The
 
132
  generated files are syntactically correct but the info navigation nodes
 
133
  needs more work. (Vincent Ladeuil, #219334)
 
134
 
 
135
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
 
136
  to make the tests conditional.
 
137
  (Vincent Ladeuil)
 
138
 
 
139
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
 
140
  the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
 
141
  (John Arbash Meinel, #617503)
 
142
 
85
143
API Changes
86
144
***********
87
145
 
 
146
* InventoryEntry instances now raise AttributeError if you try to assign
 
147
  to attributes that are irrelevant to that kind of entry.  e.g. setting
 
148
  ``symlink_target`` on an InventoryFile will fail.  It is still okay to
 
149
  read those attributes on any kind of InventoryEntry.  The complete list
 
150
  of affected attributes is: ``executable``, ``text_id``, ``text_sha1``,
 
151
  ``text_size`` (only valid for kind == file); ``symlink_target`` (only
 
152
  valid for kind == link); and ``reference_revision`` (only valid for kind
 
153
  == tree-reference).  (Andrew Bennetts)
 
154
 
 
155
* InventoryEntry objects no longer have ``_put_in_tar`` or
 
156
  ``_put_on_disk`` methods.  (Andrew Bennetts)
 
157
 
88
158
Internals
89
159
*********
90
160
 
 
161
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
 
162
  (Andrew Bennetts)
 
163
 
91
164
Testing
92
165
*******
93
166
 
94
 
 
95
 
bzr 2.2rc1
96
 
##########
97
 
 
98
 
:Codename: ???
99
 
:2.2rc1: NOT RELEASED YET
 
167
* The way ``bzr selftest --parallel`` generates N partitions of tests to
 
168
  run in parallel has changed.  Instead of splitting the list of tests at
 
169
  N-1 points, it distributes the tests one-by-one into the partitions in a
 
170
  round robin fashion.  This reduces the total time to run the tests in
 
171
  parallel because a series of slow tests in the test suite will be
 
172
  distributed evenly among the parallel test suites, rather than slowing
 
173
  down just one suite.  (Andrew Bennetts)
 
174
 
 
175
 
 
176
bzr 2.2.1
 
177
#########
 
178
 
 
179
:Codename: ??
 
180
:2.2.1: NOT RELEASED YET
 
181
 
 
182
Bug Fixes
 
183
*********
 
184
 
 
185
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
186
  previously-unversioned directory within the tree: the directory is
 
187
  marked versioned too.  
 
188
  (Martin Pool, #192859)
 
189
 
 
190
* CommitBuilder now uses the committer instead of _config.username to generate
 
191
  the revision-id.  (Aaron Bentley, #614404)
 
192
 
 
193
* Cope with Microsoft FTP server that returns reply '250 Directory
 
194
  created' when mkdir succeeds.  (Martin Pool, #224373)
 
195
 
 
196
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
197
  directory that was a symlink in the previous commit.
 
198
  (Martin Pool, #192859)
 
199
 
 
200
Documentation
 
201
*************
 
202
 
 
203
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
 
204
  the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
 
205
  (John Arbash Meinel, #617503)
 
206
 
 
207
Internals
 
208
*********
 
209
 
 
210
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
 
211
  (Andrew Bennetts)
 
212
 
 
213
 
 
214
bzr 2.2
 
215
#######
 
216
 
 
217
:Codename: La Hulpe
 
218
:2.2: 2010-08-06
 
219
 
 
220
This release marks the start of another long-term-stable series. From
 
221
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
 
222
while 2.3 will become our new development series. The 2.0 and 2.1 series
 
223
will also continue to get bugfixes. (Currently 2.0 is planned to be
 
224
supported for another 6 months.)
 
225
 
 
226
This is primarily a bugfix and polish release over the 2.1 series, with
 
227
a large number of bugs fixed (>120), and some performance improvements.
 
228
 
 
229
There are some compatibility changes in this release.  For users of bzrlib
 
230
as a library, we now request that they call ``bzrlib.initialize`` and use
 
231
the returned context manager appropriately. For commandline users we no
 
232
longer guess user identity for ``bzr commit``, users must specify their
 
233
identity using ``bzr whoami`` (you don't need to specify your identity for
 
234
readonly operations).
 
235
 
 
236
Users are encouraged to upgrade from the other stable series.
100
237
 
101
238
Compatibility Breaks
102
239
********************
103
240
 
104
 
New Features
105
 
************
 
241
* BzrError subclasses no longer support the name "message" to be used
 
242
  as an argument for __init__ or in _fmt format specification as this
 
243
  breaks in some Python versions. errors.LockError.__init__ argument
 
244
  is now named "msg" instead of earlier "message".
 
245
  (Parth Malwankar, #603461)
 
246
 
 
247
* The old ``bzr selftest --benchmark`` option has been removed.
 
248
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
249
  macrobenchmark suite.
 
250
  (Martin Pool)
106
251
 
107
252
Bug Fixes
108
253
*********
109
254
 
 
255
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
256
  ``InvalidPattern`` exception error message now shows faulting
 
257
  regular expression.
 
258
  (Parth Malwankar #300062)
 
259
 
110
260
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
111
261
  way which should help avoid problems with concurrent writers.
112
262
  (Vincent Ladeuil, #525571)
114
264
* Don't traceback trying to unversion children files of an already
115
265
  unversioned directory.  (Vincent Ladeuil, #494221)
116
266
 
 
267
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
 
268
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
269
 
 
270
* Progress bars prefer to truncate the text message rather than the
 
271
  counters.  The spinner is shown between the network transfer indicator
 
272
  and the progress message.  Progress bars are correctly cleared off when 
 
273
  they finish.  (Martin Pool, #611127)
 
274
 
 
275
* Recursive binding for checkouts is now detected by bzr. A clear error
 
276
  message is shown to the user. (Parth Malwankar, #405192)
 
277
 
117
278
Improvements
118
279
************
119
280
 
 
281
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
282
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
283
 
 
284
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
 
285
  GUI with out have a console open in the background.
 
286
  (Gary van der Merwe, #433781)
 
287
 
120
288
Documentation
121
289
*************
122
290
 
 
291
* ``bzr help patterns`` now explains case insensitive patterns and
 
292
  points to Python regular expression documentation.
 
293
  (Parth Malwankar, #594386)
 
294
 
123
295
API Changes
124
296
***********
125
297
 
126
 
Internals
127
 
*********
 
298
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
128
299
 
129
300
Testing
130
301
*******
131
302
 
 
303
* Unit test added to ensure that "message" is not uses as a format variable
 
304
  name in BzrError subclasses as this conflicts with some Python versions.
 
305
  (Parth Malwankar, #603461)
132
306
 
133
307
bzr 2.2b4
134
308
#########
566
740
  plugins to an all-in-one installation, ensure they are compiled and
567
741
  installed with -O1 or help may not work. (Martin [gz])
568
742
 
569
 
Documentation
570
 
*************
571
 
 
572
 
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
573
 
  to make the tests conditional.
574
 
  (Vincent Ladeuil)
575
 
 
576
 
* Added a builder/writer sphinx extension that can generate texinfo files. The
577
 
  generated files are syntactically correct but the info navigation nodes
578
 
  needs more work. (Vincent Ladeuil, #219334)
579
 
 
580
743
API Changes
581
744
***********
582
745
 
632
795
 
633
796
* No longer require zlib headers to build extensions, and remove the need
634
797
  for seperate copy of zlib library on windows.
635
 
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
798
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #566923)
636
799
 
637
800
Testing
638
801
*******
720
883
  (Vincent Ladeuil, #474807)
721
884
 
722
885
* Properly handle ``param_name`` attribute for ``ListOption``.
723
 
  (Martin von Gagern, 387117)
 
886
  (Martin von Gagern, #387117)
724
887
 
725
888
Improvements
726
889
************
840
1003
 
841
1004
* Parsing of command lines, for example in ``diff --using``, no longer
842
1005
  treats backslash as an escape character on Windows.   (Gordon Tyler,
843
 
  #392248)
 
1006
  #392428)
844
1007
 
845
1008
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
846
1009
  a list of plugin names separated by ':' (';' on windows).
1090
1253
Bug Fixes
1091
1254
*********
1092
1255
 
 
1256
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
1257
  previously-unversioned directory within the tree: the directory is
 
1258
  marked versioned too.  
 
1259
  (Martin Pool, #192859)
 
1260
 
1093
1261
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
1094
1262
  way which should help avoid problems with concurrent writers.
1095
1263
  (Vincent Ladeuil, #525571)
1097
1265
* Don't traceback trying to unversion children files of an already
1098
1266
  unversioned directory.  (Vincent Ladeuil, #494221)
1099
1267
 
 
1268
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
1269
  directory that was a symlink in the previous commit.
 
1270
  (Martin Pool, #192859)
 
1271
 
 
1272
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1273
  which can result in "missing referenced chk root keys" errors when
 
1274
  fetching from repositories with affected revisions.
 
1275
  (Andrew Bennetts, #522637)
 
1276
 
 
1277
* Progress bars prefer to truncate the text message rather than the
 
1278
  counters.  The spinner is shown between the network transfer indicator
 
1279
  and the progress message.  (Martin Pool)
 
1280
 
1100
1281
* Raise ValueError instead of a string exception.
1101
1282
  (John Arbash Meinel, #586926)
1102
1283
 
 
1284
* Recursive binding for checkouts is now detected by bzr. A clear error
 
1285
  message is shown to the user. (Parth Malwankar, #405192)
 
1286
 
1103
1287
Improvements
1104
1288
************
1105
1289
 
 
1290
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
1291
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
1292
 
1106
1293
Documentation
1107
1294
*************
1108
1295
 
 
1296
* ``bzr help patterns`` now explains case insensitive patterns and
 
1297
  points to Python regular expression documentation.
 
1298
  (Parth Malwankar, #594386)
 
1299
 
1109
1300
API Changes
1110
1301
***********
1111
1302
 
 
1303
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
1304
 
1112
1305
Internals
1113
1306
*********
1114
1307
 
1115
1308
Testing
1116
1309
*******
1117
1310
 
 
1311
* Unit test added to ensure that "message" is not uses as a format variable
 
1312
  name in BzrError subclasses as this conflicts with some Python versions.
 
1313
  (Parth Malwankar, #603461)
 
1314
 
1118
1315
bzr 2.1.2
1119
1316
#########
1120
1317
 
1602
1799
  history no longer crash when deleted files are involved.
1603
1800
  (Vincent Ladeuil, John Arbash Meinel, #375898)
1604
1801
 
 
1802
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
1803
  previously-unversioned directory within the tree: the directory is
 
1804
  marked versioned too.  
 
1805
  (Martin Pool, #192859)
 
1806
 
1605
1807
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
1606
1808
  target of the symlink.
1607
1809
  (Martin Pool, John Arbash Meinel, #128562)
1617
1819
* Don't traceback trying to unversion children files of an already
1618
1820
  unversioned directory.  (Vincent Ladeuil, #494221)
1619
1821
 
 
1822
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
1823
  directory that was a symlink in the previous commit.
 
1824
  (Martin Pool, #192859)
 
1825
 
 
1826
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1827
  which can result in "missing referenced chk root keys" errors when
 
1828
  fetching from repositories with affected revisions.
 
1829
  (Andrew Bennetts, #522637)
 
1830
 
1620
1831
* Raise ValueError instead of a string exception.
1621
1832
  (John Arbash Meinel, #586926)
1622
1833