/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

comment about the change in the bundled copy of configobj

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.5
 
9
#########
 
10
 
 
11
:Codename: Suggestions welcome
 
12
:2.2.5: NOT RELEASED YET
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
New Features
 
18
************
 
19
 
 
20
Bug Fixes
 
21
*********
 
22
 
 
23
* Correctly handle ``bzr log`` and `get_known_graph_ancestry` on a
 
24
  doubly-stacked branch.
 
25
  (James Westby, Martin Pool, #715000)
 
26
 
 
27
Improvements
 
28
************
 
29
 
 
30
Documentation
 
31
*************
 
32
 
 
33
API Changes
 
34
***********
 
35
 
 
36
Internals
 
37
*********
 
38
 
 
39
* Fixed bug in the bundled copy of ConfigObj with quoting of triple quotes
 
40
  in the value string. Fix suggested by ConfigObj's author Michael Foord.
 
41
  (Alexander Belchenko, #710410)
 
42
 
 
43
Testing
 
44
*******
 
45
 
 
46
 
 
47
bzr 2.2.4
 
48
#########
 
49
 
 
50
:2.2.4: 2011-02-04
 
51
 
 
52
This is a bugfix release. Only one bug has been fixed, a regression from 2.2.3
 
53
involving only certain operations with launchpad. Upgrading is recommended for
 
54
all users on earlier 2.2 releases.
 
55
 
 
56
Bug Fixes
 
57
*********
 
58
 
 
59
* Fix communications with the Launchpad web service when using
 
60
  launchpadlib >= 1.5.5.  This was a latent bug in bzr's communication
 
61
  with Launchpad's production instance, which only became a problem when
 
62
  the default instance was switched from edge to production in bzr 2.2.3.
 
63
  (Max Bowsher, #707075)
 
64
 
 
65
 
 
66
bzr 2.2.3
 
67
#########
 
68
 
 
69
:2.2.3: 2011-01-20
 
70
 
 
71
This is a bugfix release. Upgrading is recommended for all users
 
72
on earlier 2.2 releases.
 
73
 
 
74
Compatibility Breaks
 
75
********************
 
76
 
 
77
* Launchpad has announced that the ``edge.launchpad.net`` instance is
 
78
  deprecated and may be shut down in the future
 
79
  <http://blog.launchpad.net/general/edge-is-deprecated>.  Bazaar has therefore
 
80
  been updated in this release to talk to the main (``launchpad.net``) servers,
 
81
  rather than the ``edge`` ones. (Vincent Ladeuil, #583667)
 
82
 
 
83
New Features
 
84
************
 
85
 
 
86
(none)
 
87
 
 
88
Bug Fixes
 
89
*********
 
90
 
 
91
* Avoid UnicodeDecodeError in ``bzr add`` with multiple files under a non-ascii
 
92
  path on windows from symlink support addition. (Martin [gz], #686611)
 
93
 
 
94
* Correctly resolve content (and path) conflicts for files in subdirs.
 
95
  (Vincent Ladeuil, #660935)
 
96
 
 
97
* Don't probe for a repository from within ``NotBranchError.__repr__``,
 
98
  because this can cause knock-on errors at awkward times.
 
99
  (Andrew Bennetts, #687653)
 
100
 
 
101
* Fix a crash during ``RepositoryPackCollection.pack`` caused by a
 
102
  concurrent repository pack operation.  This was particularly affecting
 
103
  ``bzr-svn`` users.  (Andrew Bennetts, #701940)
 
104
 
 
105
* ``https`` access works again with recent versions of python2.7.
 
106
  (Vincent Ladeuil, #693880)
 
107
 
 
108
* RevisionTree.is_executable no longer returns None for directories and
 
109
  symlinks.  Instead, it returns False, like other Trees and methods.
 
110
  (Aaron Bentley, #681885)
 
111
 
 
112
 
 
113
bzr 2.2.2
 
114
#########
 
115
 
 
116
:2.2.2: 2010-11-25
 
117
 
 
118
This is a bugfix release. None of these bugfixes are critical, but upgrading
 
119
is recommended for all users on earlier 2.2 releases.
 
120
 
 
121
Bug Fixes
 
122
*********
 
123
 
 
124
* ``bzr resolve --take-other <file>`` will not crash anymore if ``<file>``
 
125
  is involved in a text conflict (but the conflict is still not
 
126
  resolved). (Vincent Ladeuil, #646961)
 
127
 
 
128
* Commit in a bound branch or heavyweight checkout now propagates tags
 
129
  (e.g. from a merge) to the master branch (and informs the user if there
 
130
  is a conflict).  (Andrew Bennetts, #603395)
 
131
  
 
132
* Correctly set the Content-Type header when http POSTing to comply
 
133
  with stricter web frameworks. (Vincent Ladeuil, #665100)
 
134
 
 
135
* ``NotBranchError`` no longer allows errors from calling
 
136
  ``bzrdir.open_repository()`` to propagate.  This is unhelpful at best,
 
137
  and at worst can trigger infinite loops in callers.  (Andrew Bennetts)
 
138
  
 
139
* Skip tests that needs a bzr source tree when there isn't one. This is
 
140
  needed to succesfully run the test suite for installed versions.
 
141
  (Vincent Ladeuil, #644855).
 
142
 
 
143
* Skip the tests that requires respecting the chmod bits when running as
 
144
  root. Including the one that wasn't present in 2.1.
 
145
  (Vincent Ladeuil, #646133)
 
146
 
 
147
* Using bzr with `lp:` urls behind an http proxy should work.
 
148
  (Robert Collins, #558343)
 
149
 
 
150
* Windows installers no longer requires the Microsoft vcredist to be
 
151
  installed.
 
152
  (Martin [gz], Gary van der Merwe, #632465)
 
153
 
 
154
* Close leaked socket to SSH subprocesses, which caused dput sftp uploads
 
155
  to hang.  (Max Bowsher, #659590)
 
156
 
 
157
Testing
 
158
*******
 
159
 
 
160
* Add ``tests/ssl_certs/ca.crt`` to the required test files list. Test
 
161
  involving the pycurl https test server fail otherwise when running
 
162
  selftest from an installed version. (Vincent Ladeuil, #651706)
 
163
 
 
164
* Fix tests that failed when run under ``LANG=C``.
 
165
  (Andrew Bennetts, #632387)
 
166
 
 
167
 
 
168
bzr 2.2.1
 
169
#########
 
170
 
 
171
:2.2.1: 2010-09-17
 
172
 
 
173
This is a bugfix release which also includes bugfixes from 2.0.6 and
 
174
2.1.3. None are critical, but upgrading is recommended for all users on
 
175
earlier 2.2 releases.
 
176
 
 
177
Bug Fixes
 
178
*********
 
179
 
 
180
* Additional merges after an unrelated branch has been merged with its
 
181
  history no longer crash when deleted files are involved.
 
182
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
183
 
 
184
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
185
  previously-unversioned directory within the tree: the directory is
 
186
  marked versioned too.
 
187
  (Martin Pool, #192859)
 
188
 
 
189
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
190
  target of the symlink.
 
191
  (Martin Pool, John Arbash Meinel, #128562)
 
192
 
 
193
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
194
  permissions as ``.bzr`` directory on a POSIX OS.
 
195
  (Parth Malwankar, #262450)
 
196
 
 
197
* CommitBuilder now uses the committer instead of _config.username to generate
 
198
  the revision-id.  (Aaron Bentley, #614404)
 
199
 
 
200
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
201
  way which should help avoid problems with concurrent writers.
 
202
  (Vincent Ladeuil, #525571)
 
203
 
 
204
* Cope with Microsoft FTP server that returns reply '250 Directory
 
205
  created' when mkdir succeeds.  (Martin Pool, #224373)
 
206
 
 
207
* Don't traceback trying to unversion children files of an already
 
208
  unversioned directory.  (Vincent Ladeuil, #494221)
 
209
 
 
210
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
211
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
212
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
213
  
 
214
* Fix ``AttributeError on parent.children`` when adding a file under a
 
215
  directory that was a symlink in the previous commit.
 
216
  (Martin Pool, #192859)
 
217
 
 
218
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
 
219
  ``_close_ssh_proc`` when using ``bzr+ssh://``.  This was causing
 
220
  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
 
221
  stderr in some other circumstances.  (Andrew Bennetts, #633745)
 
222
 
 
223
* Only call ``setlocale`` in the bzr startup script on posix systems. This
 
224
  avoids an issue with the newer windows C runtimes used by Python 2.6 and
 
225
  later which can mangle bytestrings printed to the console.
 
226
  (Martin [gz], #631350)
 
227
 
 
228
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
229
  which can result in "missing referenced chk root keys" errors when
 
230
  fetching from repositories with affected revisions.
 
231
  (Andrew Bennetts, #522637)
 
232
 
 
233
* Raise ValueError instead of a string exception.
 
234
  (John Arbash Meinel, #586926)
 
235
 
 
236
* Reduce peak memory by one copy of compressed text.
 
237
  (John Arbash Meinel, #566940)
 
238
 
 
239
* Repositories accessed via a smart server now reject being stacked on a
 
240
  repository in an incompatible format, as is the case when accessing them
 
241
  via other methods.  This was causing fetches from those repositories via
 
242
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
243
  (Andrew Bennetts, #562380)
 
244
 
 
245
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
246
  error. This error was caused by 2.0 not being updated when upstream
 
247
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
248
  ``done``. (Robert Collins, #571437)
 
249
 
 
250
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
 
251
  being thrown from ``xml_serializer`` on certain cElementTree setups.
 
252
  (Martin [gz], #254278)
 
253
 
 
254
* Upgrading or fetching from a non-rich-root repository to a rich-root
 
255
  repository (e.g. from pack-0.92 to 2a) no longer fails with
 
256
  ``'Inter1and2Helper' object has no attribute 'source_repo'``.  This was
 
257
  a regression from Bazaar 2.1.  (Andrew Bennetts, #636930)
 
258
  
 
259
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
260
  directory file handle after the chdir fails. Otherwise when passing many
 
261
  filenames into a command line ``bzr status`` we would leak descriptors.
 
262
  (John Arbash Meinel, #583486)
 
263
 
 
264
Documentation
 
265
*************
 
266
 
 
267
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
 
268
  the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
 
269
  (John Arbash Meinel, #617503)
 
270
 
 
271
Internals
 
272
*********
 
273
 
 
274
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
 
275
  (Andrew Bennetts)
 
276
 
 
277
Testing
 
278
*******
 
279
 
 
280
* ``build_tree_contents`` can create symlinks.
 
281
  (Martin Pool, John Arbash Meinel)
 
282
 
 
283
* Tracebacks from a parameterized test are no longer reported against every
 
284
  parameterization of that test.  This was done by adding a hack to
 
285
  ``bzrlib.tests.clone_test`` so that it no longer causes
 
286
  testtools.TestCase instances to share a details dict.
 
287
  (Andrew Bennetts, #625574)
 
288
 
 
289
 
 
290
bzr 2.1.4
 
291
#########
 
292
 
 
293
:2.1.4: NOT RELEASED YET
 
294
 
 
295
Compatibility Breaks
 
296
********************
 
297
 
 
298
* Launchpad has announced that the ``edge.launchpad.net`` instance is
 
299
  deprecated and may be shut down in the future
 
300
  <http://blog.launchpad.net/general/edge-is-deprecated>.  Bazaar has therefore
 
301
  been updated in this release to talk to the main (``launchpad.net``) servers,
 
302
  rather than the ``edge`` ones. (Vincent Ladeuil, #583667)
 
303
 
 
304
New Features
 
305
************
 
306
 
 
307
Bug Fixes
 
308
*********
 
309
 
 
310
* Avoid UnicodeDecodeError in ``bzr add`` with multiple files under a non-ascii
 
311
  path on windows from symlink support addition. (Martin [gz], #686611)
 
312
 
 
313
* Skip tests that needs a bzr source tree when there isn't one. This is
 
314
  needed to succesfully run the test suite for installed versions.
 
315
  (Vincent Ladeuil, #644855).
 
316
 
 
317
* Skip the tests that requires respecting the chmod bits when running as root.
 
318
  (Vincent Ladeuil, #646133)
 
319
 
 
320
* Using bzr with `lp:` urls behind an http proxy should work.
 
321
  (Robert Collins, #558343)
 
322
 
 
323
Improvements
 
324
************
 
325
 
 
326
Documentation
 
327
*************
 
328
 
 
329
API Changes
 
330
***********
 
331
 
 
332
Internals
 
333
*********
 
334
 
 
335
Testing
 
336
*******
 
337
 
 
338
 
 
339
bzr 2.1.3
 
340
#########
 
341
 
 
342
:Codename: Do run run
 
343
:2.1.3: 2010-09-17
 
344
 
 
345
The third release in our 2.1 series addresses several user-inconvenience bugs
 
346
(and includes the fixes done in 2.0.6).  None are critical, but upgrading is
 
347
recommended for all users on earlier 2.1 releases.
 
348
 
 
349
Bug Fixes
 
350
*********
 
351
 
 
352
* Additional merges after an unrelated branch has been merged with its
 
353
  history no longer crash when deleted files are involved.
 
354
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
355
 
 
356
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
357
  previously-unversioned directory within the tree: the directory is
 
358
  marked versioned too.  
 
359
  (Martin Pool, #192859)
 
360
 
 
361
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
362
  target of the symlink.
 
363
  (Martin Pool, John Arbash Meinel, #128562)
 
364
 
 
365
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
366
  permissions as ``.bzr`` directory on a POSIX OS.
 
367
  (Parth Malwankar, #262450)
 
368
 
 
369
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
370
  way which should help avoid problems with concurrent writers.
 
371
  (Vincent Ladeuil, #525571)
 
372
 
 
373
* Don't traceback trying to unversion children files of an already
 
374
  unversioned directory.  (Vincent Ladeuil, #494221)
 
375
 
 
376
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
377
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
378
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
379
  
 
380
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
381
  directory that was a symlink in the previous commit.
 
382
  (Martin Pool, #192859)
 
383
 
 
384
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
385
  which can result in "missing referenced chk root keys" errors when
 
386
  fetching from repositories with affected revisions.
 
387
  (Andrew Bennetts, #522637)
 
388
 
 
389
* Raise ValueError instead of a string exception.
 
390
  (John Arbash Meinel, #586926)
 
391
 
 
392
* Reduce peak memory by one copy of compressed text.
 
393
  (John Arbash Meinel, #566940)
 
394
 
 
395
* Repositories accessed via a smart server now reject being stacked on a
 
396
  repository in an incompatible format, as is the case when accessing them
 
397
  via other methods.  This was causing fetches from those repositories via
 
398
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
399
  (Andrew Bennetts, #562380)
 
400
 
 
401
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
402
  error. This error was caused by 2.0 not being updated when upstream
 
403
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
404
  ``done``. (Robert Collins, #571437)
 
405
 
 
406
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
 
407
  being thrown from ``xml_serializer`` on certain cElementTree setups.
 
408
  (Martin [gz], #254278)
 
409
 
 
410
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
411
  directory file handle after the chdir fails. Otherwise when passing many
 
412
  filenames into a command line ``bzr status`` we would leak descriptors.
 
413
  (John Arbash Meinel, #583486)
 
414
 
 
415
Testing
 
416
*******
 
417
 
 
418
* ``build_tree_contents`` can create symlinks.
 
419
  (Martin Pool, John Arbash Meinel)
 
420
 
 
421
 
 
422
bzr 2.0.7
 
423
#########
 
424
 
 
425
:2.0.7: NOT RELEASED YET
 
426
 
 
427
Compatibility Breaks
 
428
********************
 
429
 
 
430
* Launchpad has announced that the ``edge.launchpad.net`` instance is
 
431
  deprecated and may be shut down in the future
 
432
  <http://blog.launchpad.net/general/edge-is-deprecated>.  Bazaar has therefore
 
433
  been updated in this release to talk to the main (``launchpad.net``) servers,
 
434
  rather than the ``edge`` ones. (Vincent Ladeuil, #583667)
 
435
 
 
436
New Features
 
437
************
 
438
 
 
439
Bug Fixes
 
440
*********
 
441
 
 
442
* Avoid UnicodeDecodeError in ``bzr add`` with multiple files under a non-ascii
 
443
  path on windows from symlink support addition. (Martin [gz], #686611)
 
444
 
 
445
Improvements
 
446
************
 
447
 
 
448
Documentation
 
449
*************
 
450
 
 
451
API Changes
 
452
***********
 
453
 
 
454
Internals
 
455
*********
 
456
 
 
457
Testing
 
458
*******
 
459
 
 
460
 
 
461
bzr 2.0.6
 
462
#########
 
463
 
 
464
:2.0.6: 2010-09-17
 
465
 
 
466
The sixth release in our 2.0 series addresses several user-inconvenience
 
467
bugs.  None are critical, but upgrading is recommended for all users on
 
468
earlier 2.0 releases.
 
469
 
 
470
Bug Fixes
 
471
*********
 
472
 
 
473
* Additional merges after an unrelated branch has been merged with its
 
474
  history no longer crash when deleted files are involved.
 
475
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
476
 
 
477
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
478
  previously-unversioned directory within the tree: the directory is
 
479
  marked versioned too.  
 
480
  (Martin Pool, #192859)
 
481
 
 
482
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
483
  target of the symlink.
 
484
  (Martin Pool, John Arbash Meinel, #128562)
 
485
 
 
486
* ``bzr revert`` now only takes write lock on working tree, instead of on 
 
487
  both working tree and branch.
 
488
  (Danny van Heumen, #498409)
 
489
 
 
490
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
491
  permissions as ``.bzr`` directory on a POSIX OS.
 
492
  (Parth Malwankar, #262450)
 
493
 
 
494
* Don't traceback trying to unversion children files of an already
 
495
  unversioned directory.  (Vincent Ladeuil, #494221)
 
496
 
 
497
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
 
498
  contains only NUL bytes).  Instead warn the user, and allow ``bzr
 
499
  break-lock`` to remove it.  (Andrew Bennetts, #619872)
 
500
  
 
501
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
502
  directory that was a symlink in the previous commit.
 
503
  (Martin Pool, #192859)
 
504
 
 
505
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
506
  which can result in "missing referenced chk root keys" errors when
 
507
  fetching from repositories with affected revisions.
 
508
  (Andrew Bennetts, #522637)
 
509
 
 
510
* Raise ValueError instead of a string exception.
 
511
  (John Arbash Meinel, #586926)
 
512
 
 
513
* Reduce peak memory by one copy of compressed text.
 
514
  (John Arbash Meinel, #566940)
 
515
 
 
516
* Repositories accessed via a smart server now reject being stacked on a
 
517
  repository in an incompatible format, as is the case when accessing them
 
518
  via other methods.  This was causing fetches from those repositories via
 
519
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
520
  (Andrew Bennetts, #562380)
 
521
 
 
522
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
523
  error. This error was caused by 2.0 not being updated when upstream
 
524
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
525
  ``done``. (Robert Collins, #571437)
 
526
 
 
527
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
528
  directory file handle after the chdir fails. Otherwise when passing many
 
529
  filenames into a command line ``bzr status`` we would leak descriptors.
 
530
  (John Arbash Meinel, #583486)
 
531
 
 
532
 
 
533
Testing
 
534
*******
 
535
 
 
536
* ``build_tree_contents`` can create symlinks.
 
537
  (Martin Pool, John Arbash Meinel)
 
538
 
 
539
 
 
540
bzr 2.2
 
541
#######
 
542
 
 
543
:Codename: La Hulpe
 
544
:2.2: 2010-08-06
 
545
 
 
546
This release marks the start of another long-term-stable series. From
 
547
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
 
548
while 2.3 will become our new development series. The 2.0 and 2.1 series
 
549
will also continue to get bugfixes. (Currently 2.0 is planned to be
 
550
supported for another 6 months.)
 
551
 
 
552
This is primarily a bugfix and polish release over the 2.1 series, with
 
553
a large number of bugs fixed (>120), and some performance improvements.
 
554
 
 
555
There are some compatibility changes in this release.  For users of bzrlib
 
556
as a library, we now request that they call ``bzrlib.initialize`` and use
 
557
the returned context manager appropriately. For commandline users we no
 
558
longer guess user identity for ``bzr commit``, users must specify their
 
559
identity using ``bzr whoami`` (you don't need to specify your identity for
 
560
readonly operations).
 
561
 
 
562
Users are encouraged to upgrade from the other stable series.
 
563
 
 
564
Compatibility Breaks
 
565
********************
 
566
 
 
567
* BzrError subclasses no longer support the name "message" to be used
 
568
  as an argument for __init__ or in _fmt format specification as this
 
569
  breaks in some Python versions. errors.LockError.__init__ argument
 
570
  is now named "msg" instead of earlier "message".
 
571
  (Parth Malwankar, #603461)
 
572
 
 
573
* The old ``bzr selftest --benchmark`` option has been removed.
 
574
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
575
  macrobenchmark suite.
 
576
  (Martin Pool)
 
577
 
 
578
Bug Fixes
 
579
*********
 
580
 
 
581
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
582
  ``InvalidPattern`` exception error message now shows faulting
 
583
  regular expression.
 
584
  (Parth Malwankar #300062)
 
585
 
 
586
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
587
  way which should help avoid problems with concurrent writers.
 
588
  (Vincent Ladeuil, #525571)
 
589
 
 
590
* Don't traceback trying to unversion children files of an already
 
591
  unversioned directory.  (Vincent Ladeuil, #494221)
 
592
 
 
593
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
 
594
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
595
 
 
596
* Progress bars prefer to truncate the text message rather than the
 
597
  counters.  The spinner is shown between the network transfer indicator
 
598
  and the progress message.  Progress bars are correctly cleared off when 
 
599
  they finish.  (Martin Pool, #611127)
 
600
 
 
601
* Recursive binding for checkouts is now detected by bzr. A clear error
 
602
  message is shown to the user. (Parth Malwankar, #405192)
 
603
 
 
604
Improvements
 
605
************
 
606
 
 
607
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
608
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
609
 
 
610
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
 
611
  GUI with out have a console open in the background.
 
612
  (Gary van der Merwe, #433781)
 
613
 
 
614
Documentation
 
615
*************
 
616
 
 
617
* ``bzr help patterns`` now explains case insensitive patterns and
 
618
  points to Python regular expression documentation.
 
619
  (Parth Malwankar, #594386)
 
620
 
 
621
API Changes
 
622
***********
 
623
 
 
624
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
625
 
 
626
Testing
 
627
*******
 
628
 
 
629
* Unit test added to ensure that "message" is not uses as a format variable
 
630
  name in BzrError subclasses as this conflicts with some Python versions.
 
631
  (Parth Malwankar, #603461)
 
632
 
 
633
bzr 2.2b4
 
634
#########
 
635
 
 
636
:Codename: Monkey Magic
 
637
:2.2b4: 2010-07-10
 
638
 
 
639
 
 
640
This fourth and final beta in the 2.2 series now stabilizes the internal
 
641
APIs. Plugin authors are recommended to ensure their releases are
 
642
compatible, so that 2.2rc1 can be a true release candidate, containing
 
643
stable and compatible plugin versions. 
 
644
 
 
645
For users of bzrlib as a library, one of the primary changes is to request
 
646
that they call ``bzrlib.initialize`` and use the returned context manager
 
647
appropriately.
 
648
 
 
649
Better interaction with ``bzr-loom`` to make sure branching from a loom
 
650
even over a smart server still yields a local loom. Not to mention lots of
 
651
bugfixes over 2.2b3.
 
652
 
 
653
Compatibility Breaks
 
654
********************
 
655
 
 
656
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
657
  the result of ``bzrlib.initialize``. This change was made when fixing
 
658
  the bad habit recent bzr versions have had of leaving progress bars 
 
659
  behind on the screen. That required calling another function before
 
660
  exiting the program, and it made sense to provide a full context
 
661
  manager at the same time. (Robert Collins)
 
662
 
 
663
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
664
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
665
  is such a manager, but third party UI factories which do not derive from
 
666
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
667
  end.
 
668
 
 
669
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
670
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
671
  scheme.  Previously these URLs would be treated as local paths.
 
672
  (Gordon Tyler)
 
673
 
 
674
 
 
675
New Features
 
676
************
 
677
 
 
678
* Support ``--directory`` option for a number of additional commands:
 
679
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
680
  unshelve, whoami. (Martin von Gagern, #527878)
 
681
 
 
682
Bug Fixes
 
683
*********
 
684
 
 
685
* ``bzr branch`` to a new repository with a default stacking policy no
 
686
  longer transfers the full history unnecessarily.
 
687
  (Andrew Bennetts, #597942)
 
688
 
 
689
* ``bzr init`` does not recursively scan directory contents anymore
 
690
  leading to faster init for directories with existing content.
 
691
  (Martin [gz], Parth Malwankar, #501307)
 
692
 
 
693
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
694
  linear ancetries. (Vincent Ladeuil, #575631)
 
695
 
 
696
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
697
  rather than trying to fetch the data locally and failing because of a
 
698
  readonly error. (Martin von Gagern, #149270)
 
699
 
 
700
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
701
  or pull location in locations.conf or branch.conf.
 
702
  (Gordon Tyler, #534787)
 
703
 
 
704
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
705
  smart server. (Andrew Bennetts, #551525)
 
706
 
 
707
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
708
  (Marius Kruger, Robert Collins)
 
709
 
 
710
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
711
  (Marius Kruger, Robert Collins)
 
712
 
 
713
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
714
  proper error messages. (Vincent Ladeuil, #591215)
 
715
 
 
716
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
717
  arguments on Windows, because bzr script does the same.
 
718
  (Alexander Belchenko, #588277)
 
719
 
 
720
* Fetching was slightly confused about the best code to use and was
 
721
  using a new code path for all branches, resulting in more lookups than
 
722
  necessary on old branches. (Robert Collins, #593515)
 
723
 
 
724
* Final fix for 'no help for command' issue. We now show a clean message
 
725
  when a command has no help, document how to set help more clearly, and
 
726
  test that all commands available to the test suite have help.
 
727
  (Robert Collins, #177500)
 
728
 
 
729
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
 
730
  ``InvalidPattern`` exception showing clear error message to the user.
 
731
  (Parth Malwankar #300062)
 
732
 
 
733
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
734
 
 
735
* Raise ValueError instead of a string exception.
 
736
  (John Arbash Meinel, #586926)
 
737
 
 
738
* Relative imports in plugins are now handled correctly when using
 
739
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
740
 
 
741
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
742
  which previously caused "SyntaxError: No command for line".
 
743
  (Martin Pool)
 
744
 
 
745
* Show unicode filenames in diff headers using terminal encoding. 
 
746
  (Alexander Belchenko, Bug #382699)
 
747
  NOTE for Windows users: If user need to save diff to file then user need to
 
748
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
749
  (e.g. ``chcp 1251`` for Russian Windows).
 
750
 
 
751
* URL displayed for use with ``break-lock`` when smart server sees lock
 
752
  contention are now valid. Default timeout for lock contention retry is
 
753
  now 30 seconds instead of 300 seconds.
 
754
  (Parth Malwankar, #250451)
 
755
 
 
756
* ``walkdirs`` now raises a useful message when the filenames are not using
 
757
  the filesystem encoding. (Eric Moritz, #488519)
 
758
 
 
759
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
760
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
761
  command line we get to be the same length as sys.argv.
 
762
  (Jason Spashett, Alexander Belchenko, #587868)
 
763
 
 
764
Improvements
 
765
************
 
766
 
 
767
* Bazaar now reads data from SSH connections more efficiently on platforms
 
768
  that provide the ``socketpair`` function, and when using paramiko.
 
769
  (Andrew Bennetts, #590637)
 
770
 
 
771
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
772
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
773
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
774
  (Robert Collins, #201613)
 
775
 
 
776
* ``Branch`` formats can now be loaded lazily by registering a
 
777
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
778
  cause the named format class to be loaded only when an enumeration of
 
779
  formats is needed or when the format string for the object is
 
780
  encountered. (Robert Collins, Jelmer Vernooij)
 
781
 
 
782
* The encoding that bzr uses to output things other than file content can
 
783
  now be overridden via the output_encoding configuration option.
 
784
  (Martin Pool, #340394)
 
785
 
 
786
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
787
  do not cause modules to be loaded unnecessarily just because the plugin
 
788
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
789
  in a default installation (with just the core plugins).
 
790
  (Andrew Bennetts)
 
791
 
 
792
Documentation
 
793
*************
 
794
 
 
795
* Added ``regression`` tag to our tags list. (Robert Collins)
 
796
 
 
797
* Improved our release checklist to have a bit less churn and leave things
 
798
  ready-to-go for the next action (including other people doing
 
799
  development). (Robert Collins)
 
800
 
 
801
* Remove obsolete discussion of PQM in documentation about how to
 
802
  contribute to Bazaar.  (Martin Pool, #588444)
 
803
 
 
804
API Changes
 
805
***********
 
806
 
 
807
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
808
  an iterable of format pairs, rather than just a single pair, permitting
 
809
  InterBranch objects that work with multiple permutations to be
 
810
  comprehensively tested. (Robert Collins)
 
811
 
 
812
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
813
  profiles when concurrent profile requests are made. Instead the profile
 
814
  requests will be serialised. Reentrant requests will now deadlock.
 
815
  (Robert Collins)
 
816
 
 
817
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
818
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
819
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
820
 
 
821
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
 
822
  ``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
 
823
  case the default error message not suitable for the use case.
 
824
  (Parth Malwankar)
 
825
 
 
826
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
827
  one method ``check_output``, and we now recommend checking command
 
828
  output using ``run_script``. (Martin Pool)
 
829
 
 
830
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
831
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
832
  Third-party implementations of ``SSHVendor`` may need to be updated
 
833
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
834
  need to be updated.  (Andrew Bennetts)
 
835
 
 
836
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
837
  changed to take an ``SSHParams`` instance (replacing many individual
 
838
  values).  (Andrew Bennetts)
 
839
 
 
840
Internals
 
841
*********
 
842
 
 
843
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
844
  selection when explicitly requested; this avoids many duplicate calls
 
845
  being logged when helpers, wrappers and older code that manually calls
 
846
  it are executed it is now logged deliberately by the ui setup code.
 
847
  (Robert Collins)
 
848
 
 
849
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
850
 
 
851
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
852
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
853
  accurate results. (Andrew Bennetts)
 
854
 
 
855
* The symbol_versioning module can now cleanup after itself -
 
856
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
857
  (Robert Collins)
 
858
 
 
859
Testing
 
860
*******
 
861
 
 
862
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
863
  to test.  (Martin Pool)
 
864
 
 
865
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
866
  (Vincent Ladeuil, #595587)
 
867
 
8
868
bzr 2.2b3
9
869
#########
10
870
 
11
 
:2.2b3: NOT RELEASED YET
 
871
:2.2b3: 2010-05-28
 
872
 
 
873
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
874
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
875
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
876
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
877
bash completion script and bzr will no longer guess at identity details -
 
878
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
879
For developers we have some API changes which may impact plugins as well
 
880
as a bunch of our regular improvements to internal clarity and test
 
881
support.
12
882
 
13
883
Compatibility Breaks
14
884
********************
15
885
 
 
886
* An API break has been made to the lock_write method of ``Branch`` and
 
887
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
888
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
889
  changing the API in future easier and permits some cleaner calling code.
 
890
  The lock_read method has also changed from having no defined return
 
891
  value to returning ``LogicalLockResult`` objects.
 
892
  (Robert Collins)
 
893
 
 
894
* ``bzr`` does not try to guess the username as ``username@hostname``
 
895
  and requires it to be explictly set. This can be set using ``bzr
 
896
  whoami``. (Parth Malwankar, #549310)
 
897
 
 
898
* ``bzrlib.commands.Command`` will now raise ValueError during
 
899
  construction if there is no __doc__ set. (Note, this will be reverted in
 
900
  2.2b4) (Robert Collins)
 
901
 
 
902
* The source tree no longer contains a contrib/zsh/_bzr completion
 
903
  script. The new file contrib/zsh/README suggests alternatives.
 
904
  (Martin von Gagern, #560030)
 
905
 
16
906
New Features
17
907
************
18
908
 
30
920
  pack operation.
31
921
  (Parth Malwankar, #304320)
32
922
 
 
923
* New command line option ``--authors`` to ``bzr log`` allows users to
 
924
  select which of the apparent authors and committer should be
 
925
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
926
 
 
927
* Support ``--directory`` option for a number of additional commands:
 
928
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
929
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
930
  re-sign, unbind, unknowns.
 
931
  (Martin von Gagern, #527878)
 
932
 
 
933
* The bash_completion plugin from the bzr-bash-completion project has
 
934
  been merged into the tree. It provides a bash-completion command and
 
935
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
936
  using the plugin. (Martin von Gagern, #560030)
 
937
 
 
938
* A new transport based on GIO (the gnome i/o library) provides access to
 
939
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
940
  use gio for some already existing transport methods as gio+file,
 
941
  gio+sftp, gio+ftp. 
 
942
  (Mattias Eriksson)
 
943
 
33
944
Bug Fixes
34
945
*********
35
946
 
 
947
* Alias information shown by ``bzr help`` is now accurate. This
 
948
  was showing an internal object name for some plugin aliases.
 
949
  (Parth Malwankar, #584650)
 
950
 
36
951
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
952
  group ownership from the containing directory. This allow bzr to work
38
953
  better with sudo.
39
954
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
955
 
 
956
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
957
  support of bzr-externals and scmproj plugins.
 
958
  (Alexander Belchenko, bug #572098)
 
959
 
 
960
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
961
  (Gordon Tyler, #572092)
 
962
 
41
963
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
964
  are part of Y ancestry but not part of X ancestry (aka the graph
43
965
  difference).
44
966
  (Vincent Ladeuil, #320119)
45
967
 
 
968
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
969
  servers a few commits ago has been reverted to use edge: there is a
 
970
  problem with using production which isn't trivially obvious, so we've
 
971
  filed a bug to track it, and until thats fixed will be using edge.
 
972
  (Robert Collins, #583667)
 
973
 
 
974
* ``bzr rm`` should not refuse to delete directories which contained a file
 
975
  which has been moved elsewhere in the tree after the previous commit.
 
976
  (Marius Kruger, Daniel Watkins, #129880)
 
977
 
46
978
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
979
  (Vincent Ladeuil, #566670)
48
980
 
49
981
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
982
  (Vincent Ladeuil, #563997)
51
983
 
 
984
* CommitBuilder refuses to create revisions whose trees have no root.
 
985
  (Aaron Bentley)
 
986
 
 
987
* Do not register a SIGWINCH signal handler, instead just poll for the
 
988
  terminal width as needed.  This avoids the "Interrupted System Call"
 
989
  problems that occur on POSIX with all currently released versions of
 
990
  Python.
 
991
  (Andrew Bennetts, #583941)
 
992
 
52
993
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
994
  (Vincent Ladeuil, #401599)
54
995
 
56
997
  versions before 1.6.
57
998
  (Andrew Bennetts, #528041)
58
999
 
 
1000
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
1001
  estimate of the number of records to be fetched vs actually fetched.
 
1002
  (Parth Malwankar, #374740, #538868)
 
1003
 
59
1004
* Reduce peak memory by one copy of compressed text.
60
1005
  (John Arbash Meinel, #566940)
61
1006
 
 
1007
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
1008
  read lock, rather than causing an ``AttributeError``.
 
1009
  (Andrew Bennetts, Данило Шеган, #582781)
 
1010
 
 
1011
* Selftest was failing with testtools 0.9.3, which caused an
 
1012
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
1013
  Error, breaking on of our test hygiene tests.
 
1014
  (Robert Collins, Vincent Ladeuil).
 
1015
 
 
1016
* ``set_user_option`` with a dict on remote branches no longer fails with
 
1017
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
1018
  to support this efficiently.
 
1019
  (Andrew Bennetts, #430382)
 
1020
  
62
1021
* Show the filenames when a file rename fails so that the error will be
63
1022
  more comprehensible.
64
1023
  (Martin Pool, #491763)
65
1024
 
 
1025
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1026
  (John Arbash Meinel, #582656)
 
1027
 
 
1028
* Unicode characters in aliases are now handled correctly and do not cause
 
1029
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
1030
 
 
1031
* Unicode commit messages that are the same as a file name no longer cause
 
1032
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
1033
  messages.
 
1034
  (Parth Malwankar, #563646)
 
1035
 
 
1036
* Using bzr with `lp:` urls behind an http proxy should work.
 
1037
  (Robert Collins, #558343)
 
1038
 
 
1039
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1040
  directory file handle after the chdir fails. Otherwise when passing many
 
1041
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1042
  (John Arbash Meinel, #583486)
 
1043
 
66
1044
Improvements
67
1045
************
68
1046
 
74
1052
  (case-sensitive) as false.
75
1053
  (Brian de Alwis, Vincent Ladeuil)
76
1054
 
 
1055
* ``bzr ls`` now supports short options for existing long options.
 
1056
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
1057
  (Parth Malwankar, #181124)
 
1058
 
77
1059
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
1060
  be interpreted as a boolean.
79
1061
  (Vincent Ladeuil)
80
1062
 
81
 
Documentation
82
 
*************
 
1063
* The all-in-one Windows installer will now be built with docstrings stripped
 
1064
  from the library zip, reducing the size and slightly improving cold startup
 
1065
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
1066
  plugins to an all-in-one installation, ensure they are compiled and
 
1067
  installed with -O1 or help may not work. (Martin [gz])
83
1068
 
84
1069
API Changes
85
1070
***********
96
1081
  implementations.
97
1082
  (Martin Pool)
98
1083
 
 
1084
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
1085
  expected to return an object which can be used to unlock them. This reduces
 
1086
  duplicate code when using cleanups. The previous 'tokens's returned by
 
1087
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
1088
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
1089
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
1090
 
 
1091
* ``Repository.refresh_data`` may now be called in a write group on
 
1092
  pack-based repositories.  Older repositories will still raise an error
 
1093
  in this case.  Subclasses of ``Repository`` can still override
 
1094
  ``Repository._refresh_data``, but are now responsible for raising
 
1095
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
1096
  ``refresh_data`` during a write group.
 
1097
  (Andrew Bennetts, #574236)
 
1098
 
99
1099
Internals
100
1100
*********
101
1101
 
 
1102
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
1103
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
1104
  potentially shave 5-10% time off during a large fetch. Related to bug
 
1105
  #562666. (John Arbash Meinel)
 
1106
 
 
1107
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
1108
  (Robert Collins)
 
1109
 
102
1110
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
1111
  suboptimal network behaviour is noticed; instead it just mutters to the
104
1112
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
1119
  stripped, the prefix ``__doc__ =`` should now be used.
112
1120
  (Martin <gzlist@googlemail.com>)
113
1121
 
 
1122
* No longer require zlib headers to build extensions, and remove the need
 
1123
  for seperate copy of zlib library on windows.
 
1124
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #566923)
 
1125
 
114
1126
Testing
115
1127
*******
116
1128
 
125
1137
  failures on Lucid, FreeBSD and gentoo.  
126
1138
  (Vincent Ladeuil, #528436)
127
1139
 
 
1140
* New class ``ExecutableFeature`` for checking the availability of
 
1141
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
1142
  (Martin von Gagern)
 
1143
 
 
1144
bzr 2.1.2
 
1145
#########
 
1146
 
 
1147
:2.1.2: 2010-05-28
 
1148
 
 
1149
This release fixes two critical networking issues with older servers and
 
1150
with interrupted system call errors when pushing or pulling.  We recommend
 
1151
upgrading to anyone running a 2.1.x version of bzr.
 
1152
 
 
1153
Bug Fixes
 
1154
*********
 
1155
 
 
1156
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1157
  support of bzr-externals and scmproj plugins.
 
1158
  (Alexander Belchenko, bug #572098)
 
1159
 
 
1160
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
1161
  (Aaron Bentley, #559436)
 
1162
 
 
1163
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1164
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1165
  problems that occur on POSIX with all currently released versions of
 
1166
  Python.
 
1167
  (Andrew Bennetts, #583941)
 
1168
 
 
1169
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
1170
  versions before 1.6.
 
1171
  (Andrew Bennetts, #528041)
 
1172
 
 
1173
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
1174
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
1175
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
1176
  errors compared to registering ``signal.signal`` directly.
 
1177
  (Andrew Bennetts)
 
1178
 
 
1179
* Reduce peak memory by one copy of compressed text.
 
1180
  (John Arbash Meinel, #566940)
 
1181
 
 
1182
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1183
  (John Arbash Meinel, #582656)
 
1184
 
 
1185
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1186
  directory file handle after the chdir fails. Otherwise when passing many
 
1187
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1188
  (John Arbash Meinel, #583486)
 
1189
 
 
1190
Internals
 
1191
*********
 
1192
 
 
1193
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
1194
  suboptimal network behaviour is noticed; instead it just mutters to the
 
1195
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
1196
  This was causing unnecessary aborts for performance bugs that are minor
 
1197
  at worst.
 
1198
  (Andrew Bennetts, #528041)
 
1199
 
 
1200
 
128
1201
bzr 2.2b2
129
1202
#########
130
1203
 
184
1257
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
1258
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
1259
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
1260
  errors compared to registering ``signal.signal`` directly.
188
1261
  (Andrew Bennetts)
189
1262
 
190
1263
* When invoked with a range revision, ``bzr log`` doesn't show revisions
193
1266
  (Vincent Ladeuil, #474807)
194
1267
 
195
1268
* Properly handle ``param_name`` attribute for ``ListOption``.
196
 
  (Martin von Gagern, 387117)
 
1269
  (Martin von Gagern, #387117)
197
1270
 
198
1271
Improvements
199
1272
************
232
1305
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
1306
  ``get_trees_and_branches_to_diff_locked`` instead.
234
1307
  (Andrew Bennetts)
 
1308
 
 
1309
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
1310
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
1311
  
236
1312
Internals
237
1313
*********
242
1318
  Command is now transient and only exists for the duration of ``run()``.
243
1319
  (Robert Collins)
244
1320
 
245
 
bzr 2.2.0b1
246
 
###########
247
 
 
248
 
:2.2.0b1: 2010-04-01
 
1321
bzr 2.2b1
 
1322
#########
 
1323
 
 
1324
:2.2b1: 2010-04-01
 
1325
 
 
1326
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
1327
release in July or August.  Beta releases are suitable for everyday use
 
1328
but may cause some incompatibilities with plugins.  Some plugins may need
 
1329
small updates to work with 2.2b1.
 
1330
 
 
1331
2.2b1 includes some changes to make merge conflicts easier to understand
 
1332
and resolve.  It also removes some old unnecessary code, and loads
 
1333
somewhat less code at startup.  It starts adding a common infrastructure
 
1334
for dealing with colocated named branches, which can be implemented in
 
1335
various ways in either bzr native or foreign formats.   On Ubuntu and
 
1336
other platforms with the apport bug-reporting library, there's an easier
 
1337
path to report problems with bzr.  We plan to continue with these themes
 
1338
through the 2.2 series.
 
1339
 
 
1340
Over thirty bugs have been fixed, including in the log command, exporting
 
1341
to tarballs, restarting interrupted system calls, portability of compiled
 
1342
extensions, making backups during upgrade, and locking on ftp.
249
1343
 
250
1344
Compatibility Breaks
251
1345
********************
291
1385
  without specific permission from the user.  (Martin Pool, #515052)
292
1386
 
293
1387
* Parsing of command lines, for example in ``diff --using``, no longer
294
 
  treats backslash as an escape character on Windows.   (Gordon Tyler,
295
 
  #392248)
 
1388
  treats backslash as an escape character on Windows.
 
1389
  (Gordon Tyler, #392428)
296
1390
 
297
1391
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
298
1392
  a list of plugin names separated by ':' (';' on windows).
527
1621
  happens, and another warning will be written if the log file could not
528
1622
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
529
1623
 
530
 
bzr 2.1.2
531
 
#########
532
 
 
533
 
:2.1.2: NOT RELEASED YET
534
 
 
535
 
Bug Fixes
536
 
*********
537
 
 
538
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
 
  (Aaron Bentley, #559436)
540
 
 
541
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
 
  versions before 1.6.
543
 
  (Andrew Bennetts, #528041)
544
 
 
545
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
549
 
  (Andrew Bennetts)
550
 
 
551
 
Internals
552
 
*********
553
 
 
554
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
555
 
  suboptimal network behaviour is noticed; instead it just mutters to the
556
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
557
 
  This was causing unnecessary aborts for performance bugs that are minor
558
 
  at worst.
559
 
  (Andrew Bennetts, #528041)
560
 
 
561
 
 
562
1624
bzr 2.1.1
563
1625
#########
564
1626
 
624
1686
  (Andrew Bennetts, #496813)
625
1687
 
626
1688
 
 
1689
bzr 2.0.5
 
1690
#########
 
1691
 
 
1692
:2.0.5: 2010-03-23
 
1693
 
 
1694
This fifth release in our 2.0 series addresses several user-inconvenience
 
1695
bugs.  None are critical, but upgrading is recommended for all users on
 
1696
earlier 2.0 releases.
 
1697
 
 
1698
Bug Fixes
 
1699
*********
 
1700
 
 
1701
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
1702
  (Martin Pool, #331095)
 
1703
 
 
1704
* Concurrent autopacking is more resilient to already-renamed pack files.
 
1705
  If we find that a file we are about to obsolete is already obsoleted, we
 
1706
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
1707
  The code is also fault tolerant if a file goes missing, assuming that
 
1708
  another process already removed the file.
 
1709
  (John Arbash Meinel, Gareth White, #507557)
 
1710
 
 
1711
* Cope with the lockdir ``held/info`` file being empty, which seems to
 
1712
  happen fairly often if the process is suddenly interrupted while taking
 
1713
  a lock.
 
1714
  (Martin Pool, #185103)
 
1715
 
 
1716
* Give the warning about potentially slow cross-format fetches much
 
1717
  earlier on in the fetch operation.  Don't show this message during
 
1718
  upgrades, and show the correct format indication for remote
 
1719
  repositories.
 
1720
  (Martin Pool, #456077, #515356, #513157)
 
1721
 
 
1722
* Handle renames correctly when there are files or directories that 
 
1723
  differ only in case.  (Chris Jones, Martin Pool, #368931)
 
1724
 
 
1725
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
 
1726
  error, report that error rather than failing with an unhelpful
 
1727
  ``UnboundLocalError``.
 
1728
  (Andrew Bennetts, #423563)
 
1729
 
 
1730
* Running ``bzr`` command without any arguments now shows bzr
 
1731
  version number along with rest of the help text.
 
1732
  (Parth Malwankar, #369501)
 
1733
 
 
1734
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
 
1735
  errors.
 
1736
  (Inada Naoki, #524560)
 
1737
 
 
1738
Documentation
 
1739
*************
 
1740
 
 
1741
* Added ``location-alias`` help topic.
 
1742
  (Andrew Bennetts, #337834)
 
1743
 
 
1744
* Fixed CHM generation by moving the NEWS section template into
 
1745
  a separate file. (Ian Clatworthy, #524184)
 
1746
 
 
1747
 
627
1748
bzr 2.1.0
628
1749
#########
629
1750
 
977
2098
  tests that 'failed' - they're all just failures.
978
2099
  (Martin Pool)
979
2100
 
980
 
bzr 2.0.6
981
 
#########
982
 
 
983
 
:2.0.6: NOT RELEASED YET
984
 
 
985
 
Bug Fixes
986
 
*********
987
 
 
988
 
* Additional merges after an unrelated branch has been merged with its
989
 
  history no longer crash when deleted files are involved.
990
 
  (Vincent Ladeuil, John Arbash Meinel, #375898)
991
 
 
992
 
* ``bzr revert`` now only takes write lock on working tree, instead of on 
993
 
  both working tree and branch.
994
 
  (Danny van Heumen, #498409)
995
 
 
996
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
997
 
  permissions as ``.bzr`` directory on a POSIX OS.
998
 
  (Parth Malwankar, #262450)
999
 
 
1000
 
* Repositories accessed via a smart server now reject being stacked on a
1001
 
  repository in an incompatible format, as is the case when accessing them
1002
 
  via other methods.  This was causing fetches from those repositories via
1003
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
 
  (Andrew Bennetts, #562380)
1005
 
 
1006
 
bzr 2.0.5
1007
 
#########
1008
 
 
1009
 
:2.0.5: 2010-03-23
1010
 
 
1011
 
This fifth release in our 2.0 series addresses several user-inconvenience
1012
 
bugs.  None are critical, but upgrading is recommended for all users on
1013
 
earlier 2.0 releases.
1014
 
 
1015
 
Bug Fixes
1016
 
*********
1017
 
 
1018
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1019
 
  (Martin Pool, #331095)
1020
 
 
1021
 
* Concurrent autopacking is more resilient to already-renamed pack files.
1022
 
  If we find that a file we are about to obsolete is already obsoleted, we
1023
 
  do not try to rename it, and we leave the file in ``obsolete_packs``.
1024
 
  The code is also fault tolerant if a file goes missing, assuming that
1025
 
  another process already removed the file.
1026
 
  (John Arbash Meinel, Gareth White, #507557)
1027
 
 
1028
 
* Cope with the lockdir ``held/info`` file being empty, which seems to
1029
 
  happen fairly often if the process is suddenly interrupted while taking
1030
 
  a lock.
1031
 
  (Martin Pool, #185103)
1032
 
 
1033
 
* Give the warning about potentially slow cross-format fetches much
1034
 
  earlier on in the fetch operation.  Don't show this message during
1035
 
  upgrades, and show the correct format indication for remote
1036
 
  repositories.
1037
 
  (Martin Pool, #456077, #515356, #513157)
1038
 
 
1039
 
* Handle renames correctly when there are files or directories that 
1040
 
  differ only in case.  (Chris Jones, Martin Pool, #368931)
1041
 
 
1042
 
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1043
 
  error, report that error rather than failing with an unhelpful
1044
 
  ``UnboundLocalError``.
1045
 
  (Andrew Bennetts, #423563)
1046
 
 
1047
 
* Running ``bzr`` command without any arguments now shows bzr
1048
 
  version number along with rest of the help text.
1049
 
  (Parth Malwankar, #369501)
1050
 
 
1051
 
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1052
 
  errors.
1053
 
  (Inada Naoki, #524560)
1054
 
 
1055
 
Documentation
1056
 
*************
1057
 
 
1058
 
* Added ``location-alias`` help topic.
1059
 
  (Andrew Bennetts, #337834)
1060
 
 
1061
 
* Fixed CHM generation by moving the NEWS section template into
1062
 
  a separate file. (Ian Clatworthy, #524184)
1063
 
 
1064
 
 
1065
2101
bzr 2.0.4
1066
2102
#########
1067
2103
 
2437
3473
  
2438
3474
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
2439
3475
  supported at the moment on workingtree formats that can do content
2440
 
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
3476
  filtering.  (See <https://bugs.launchpad.net/bzr/+bug/408193>.)
2441
3477
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
2442
3478
 
2443
3479
* There was a bug in ``osutils.relpath`` that was only triggered on
3702
4738
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3703
4739
 
3704
4740
* selftest now supports a --parallel option, with values of 'fork' or
3705
 
  'subprocess' to run the test suite in parallel. Currently only linux
3706
 
  machine work, other platforms need patches submitted. (Robert Collins,
 
4741
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4742
  machines work, other platforms need patches submitted. (Robert Collins,
3707
4743
  Vincent Ladeuil)
3708
4744
 
3709
4745
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
5299
6335
  when the path to the root of the tree has been given. Users of
5300
6336
  the internal ``show_tree_status`` function should be aware that
5301
6337
  the show_pending flag is now authoritative for showing pending
5302
 
  merges, as it was originally. (Robert Collins, #225204)
 
6338
  merges, as it was originally. (Robert Collins, #255204)
5303
6339
 
5304
6340
* Set valid default _param_name for Option so that ListOption can embed
5305
6341
  '-' in names. (Vincent Ladeuil, #263249)
6457
7493
 
6458
7494
* bzr main script cannot be imported (Benjamin Peterson)
6459
7495
 
6460
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
7496
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6461
7497
  directory. (Toshio Kuratomi)
6462
7498
 
6463
7499
* The ``set_rh`` branch hook is now deprecated. Please migrate
6800
7836
 
6801
7837
* BZR_LOG environment variable controls location of .bzr.log trace file.
6802
7838
  User can suppress writing messages to .bzr.log by using '/dev/null'
6803
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7839
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6804
7840
  is not defined but BZR_HOME is defined then default location
6805
7841
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6806
7842
  (Alexander Belchenko, #106117)
9215
10251
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
9216
10252
  iterator was using direct comparison and ``'abc/a'`` sorts after
9217
10253
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
9218
 
  (John Arbash Meinel, #111227)
 
10254
  (John Arbash Meinel, #111127)
9219
10255
 
9220
10256
* Handle when someone renames a file on disk without telling bzr.
9221
10257
  Previously we would report the first file as missing, but not show
10499
11535
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
10500
11536
  other branch, and will not push or pull between the two branches.
10501
11537
  API users will need to perform a push or pull or update operation if they
10502
 
  require branch synchronisation to take place. (Robert Collins, #47344)
 
11538
  require branch synchronisation to take place. (Robert Collins, #43744)
10503
11539
 
10504
11540
* When creating a tarball or zipfile export, export unicode names as utf-8
10505
11541
  paths. This may not work perfectly on all platforms, but has the best
10506
 
  chance of working in the common case. (John Arbash Meinel, #56816)
 
11542
  chance of working in the common case. (John Arbash Meinel, #56815)
10507
11543
 
10508
11544
* When committing, only files that exist in working tree or basis tree
10509
11545
  may be specified (Aaron Bentley, #50793)