/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Vincent Ladeuil
  • Date: 2010-07-20 14:36:42 UTC
  • mto: This revision was merged to the branch mainline in revision 5355.
  • Revision ID: v.ladeuil+lp@free.fr-20100720143642-u3x5uvkgny6iie2p
Set a Content-Length header on errors for HTTP/1.1.

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.3b1
 
9
#########
 
10
 
 
11
:Codename: ???
 
12
:2.3b1: NOT RELEASED YET
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
 
18
  longer raised.
 
19
  (Martin Pool)
 
20
 
 
21
* `tree_files` and `internal_tree_files` are now deprecated in favor of
 
22
  `WorkingTree.open_containing_paths`.
 
23
  (Martin Pool)
 
24
 
 
25
New Features
 
26
************
 
27
 
 
28
Bug Fixes
 
29
*********
 
30
 
 
31
* Check if both --diff-options and --using are set, and exit with error
 
32
  in this case. (Matthäus G. Chajdas, #234708)
 
33
 
 
34
* Don't print internal object name when print an invalid revision spec
 
35
  error.  (Neil Martinsen-Burrell, #598701)
 
36
 
 
37
* ``HTTP/1.1` test servers now set a ``Content-Length`` header to comply
 
38
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
39
 
 
40
* `PathNotChild` should not give a traceback.
 
41
  (Martin Pool, #98735)
 
42
 
 
43
* ``Transport.stat`` on a symlink, including a transport pointing directly
 
44
  to a symlink, now returns information about the symlink.
 
45
  (Martin Pool)
 
46
 
 
47
Improvements
 
48
************
 
49
 
 
50
Documentation
 
51
*************
 
52
 
 
53
API Changes
 
54
***********
 
55
 
 
56
Internals
 
57
*********
 
58
 
 
59
Testing
 
60
*******
 
61
 
 
62
 
 
63
bzr 2.2rc1
 
64
##########
 
65
 
 
66
:Codename: ???
 
67
:2.2rc1: NOT RELEASED YET
 
68
 
 
69
Compatibility Breaks
 
70
********************
 
71
 
 
72
New Features
 
73
************
 
74
 
 
75
Bug Fixes
 
76
*********
 
77
 
 
78
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
79
  way which should help avoid problems with concurrent writers.
 
80
  (Vincent Ladeuil, #525571)
 
81
 
 
82
* Don't traceback trying to unversion children files of an already
 
83
  unversioned directory.  (Vincent Ladeuil, #494221)
 
84
 
 
85
Improvements
 
86
************
 
87
 
 
88
Documentation
 
89
*************
 
90
 
 
91
API Changes
 
92
***********
 
93
 
 
94
Internals
 
95
*********
 
96
 
 
97
Testing
 
98
*******
 
99
 
 
100
 
 
101
bzr 2.2b4
 
102
#########
 
103
 
 
104
:Codename: Monkey Magic
 
105
:2.2b4: 2004-07-09
 
106
 
 
107
 
 
108
This fourth and final beta in the 2.2 series now stabilizes the internal
 
109
APIs. Plugin authors are recommended to ensure their releases are
 
110
compatible, so that 2.2rc1 can be a true release candidate, containing
 
111
stable and compatible plugin versions. 
 
112
 
 
113
For users of bzrlib as a library, one of the primary changes is to request
 
114
that they call ``bzrlib.initialize`` and use the returned context manager
 
115
appropriately.
 
116
 
 
117
Better interaction with ``bzr-loom`` to make sure branching from a loom
 
118
even over a smart server still yields a local loom. Not to mention lots of
 
119
bugfixes over 2.2b3.
 
120
 
 
121
Compatibility Breaks
 
122
********************
 
123
 
 
124
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
125
  the result of ``bzrlib.initialize``. This change was made when fixing
 
126
  the bad habit recent bzr versions have had of leaving progress bars 
 
127
  behind on the screen. That required calling another function before
 
128
  exiting the program, and it made sense to provide a full context
 
129
  manager at the same time. (Robert Collins)
 
130
 
 
131
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
132
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
133
  is such a manager, but third party UI factories which do not derive from
 
134
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
135
  end.
 
136
 
 
137
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
138
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
139
  scheme.  Previously these URLs would be treated as local paths.
 
140
  (Gordon Tyler)
 
141
 
 
142
 
 
143
New Features
 
144
************
 
145
 
 
146
* Support ``--directory`` option for a number of additional commands:
 
147
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
148
  unshelve, whoami. (Martin von Gagern, #527878)
 
149
 
 
150
Bug Fixes
 
151
*********
 
152
 
 
153
* ``bzr branch`` to a new repository with a default stacking policy no
 
154
  longer transfers the full history unnecessarily.
 
155
  (Andrew Bennetts, #597942)
 
156
 
 
157
* ``bzr init`` does not recursively scan directory contents anymore
 
158
  leading to faster init for directories with existing content.
 
159
  (Martin [gz], Parth Malwankar, #501307)
 
160
 
 
161
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
162
  linear ancetries. (Vincent Ladeuil, #575631)
 
163
 
 
164
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
165
  rather than trying to fetch the data locally and failing because of a
 
166
  readonly error. (Martin von Gagern, #149270)
 
167
 
 
168
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
169
  or pull location in locations.conf or branch.conf.
 
170
  (Gordon Tyler, #534787)
 
171
 
 
172
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
173
  smart server. (Andrew Bennetts, #551525)
 
174
 
 
175
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
176
  (Marius Kruger, Robert Collins)
 
177
 
 
178
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
179
  (Marius Kruger, Robert Collins)
 
180
 
 
181
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
182
  proper error messages. (Vincent Ladeuil, #591215)
 
183
 
 
184
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
185
  arguments on Windows, because bzr script does the same.
 
186
  (Alexander Belchenko, #588277)
 
187
 
 
188
* Fetching was slightly confused about the best code to use and was
 
189
  using a new code path for all branches, resulting in more lookups than
 
190
  necessary on old branches. (Robert Collins, #593515)
 
191
 
 
192
* Final fix for 'no help for command' issue. We now show a clean message
 
193
  when a command has no help, document how to set help more clearly, and
 
194
  test that all commands available to the test suite have help.
 
195
  (Robert Collins, #177500)
 
196
 
 
197
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
 
198
  ``InvalidPattern`` exception showing clear error message to the user.
 
199
  (Parth Malwankar #300062)
 
200
 
 
201
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
202
 
 
203
* Raise ValueError instead of a string exception.
 
204
  (John Arbash Meinel, #586926)
 
205
 
 
206
* Relative imports in plugins are now handled correctly when using
 
207
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
208
 
 
209
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
210
  which previously caused "SyntaxError: No command for line".
 
211
  (Martin Pool)
 
212
 
 
213
* Show unicode filenames in diff headers using terminal encoding. 
 
214
  (Alexander Belchenko, Bug #382699)
 
215
  NOTE for Windows users: If user need to save diff to file then user need to
 
216
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
217
  (e.g. ``chcp 1251`` for Russian Windows).
 
218
 
 
219
* URL displayed for use with ``break-lock`` when smart server sees lock
 
220
  contention are now valid. Default timeout for lock contention retry is
 
221
  now 30 seconds instead of 300 seconds.
 
222
  (Parth Malwankar, #250451)
 
223
 
 
224
* ``walkdirs`` now raises a useful message when the filenames are not using
 
225
  the filesystem encoding. (Eric Moritz, #488519)
 
226
 
 
227
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
228
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
229
  command line we get to be the same length as sys.argv.
 
230
  (Jason Spashett, Alexander Belchenko, #587868)
 
231
 
 
232
Improvements
 
233
************
 
234
 
 
235
* Bazaar now reads data from SSH connections more efficiently on platforms
 
236
  that provide the ``socketpair`` function, and when using paramiko.
 
237
  (Andrew Bennetts, #590637)
 
238
 
 
239
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
240
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
241
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
242
  (Robert Collins, #201613)
 
243
 
 
244
* ``Branch`` formats can now be loaded lazily by registering a
 
245
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
246
  cause the named format class to be loaded only when an enumeration of
 
247
  formats is needed or when the format string for the object is
 
248
  encountered. (Robert Collins, Jelmer Vernooij)
 
249
 
 
250
* The encoding that bzr uses to output things other than file content can
 
251
  now be overridden via the output_encoding configuration option.
 
252
  (Martin Pool, #340394)
 
253
 
 
254
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
255
  do not cause modules to be loaded unnecessarily just because the plugin
 
256
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
257
  in a default installation (with just the core plugins).
 
258
  (Andrew Bennetts)
 
259
 
 
260
Documentation
 
261
*************
 
262
 
 
263
* Added ``regression`` tag to our tags list. (Robert Collins)
 
264
 
 
265
* Improved our release checklist to have a bit less churn and leave things
 
266
  ready-to-go for the next action (including other people doing
 
267
  development). (Robert Collins)
 
268
 
 
269
* Remove obsolete discussion of PQM in documentation about how to
 
270
  contribute to Bazaar.  (Martin Pool, #588444)
 
271
 
 
272
API Changes
 
273
***********
 
274
 
 
275
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
276
  an iterable of format pairs, rather than just a single pair, permitting
 
277
  InterBranch objects that work with multiple permutations to be
 
278
  comprehensively tested. (Robert Collins)
 
279
 
 
280
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
281
  profiles when concurrent profile requests are made. Instead the profile
 
282
  requests will be serialised. Reentrant requests will now deadlock.
 
283
  (Robert Collins)
 
284
 
 
285
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
286
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
287
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
288
 
 
289
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
 
290
  ``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
 
291
  case the default error message not suitable for the use case.
 
292
  (Parth Malwankar)
 
293
 
 
294
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
295
  one method ``check_output``, and we now recommend checking command
 
296
  output using ``run_script``. (Martin Pool)
 
297
 
 
298
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
299
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
300
  Third-party implementations of ``SSHVendor`` may need to be updated
 
301
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
302
  need to be updated.  (Andrew Bennetts)
 
303
 
 
304
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
305
  changed to take an ``SSHParams`` instance (replacing many individual
 
306
  values).  (Andrew Bennetts)
 
307
 
 
308
Internals
 
309
*********
 
310
 
 
311
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
312
  selection when explicitly requested; this avoids many duplicate calls
 
313
  being logged when helpers, wrappers and older code that manually calls
 
314
  it are executed it is now logged deliberately by the ui setup code.
 
315
  (Robert Collins)
 
316
 
 
317
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
318
 
 
319
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
320
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
321
  accurate results. (Andrew Bennetts)
 
322
 
 
323
* The symbol_versioning module can now cleanup after itself -
 
324
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
325
  (Robert Collins)
 
326
 
 
327
Testing
 
328
*******
 
329
 
 
330
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
331
  to test.  (Martin Pool)
 
332
 
 
333
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
334
  (Vincent Ladeuil, #595587)
 
335
 
8
336
bzr 2.2b3
9
337
#########
10
338
 
11
 
:2.2b3: NOT RELEASED YET
 
339
:2.2b3: 2010-05-28
 
340
 
 
341
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
342
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
343
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
344
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
345
bash completion script and bzr will no longer guess at identity details -
 
346
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
347
For developers we have some API changes which may impact plugins as well
 
348
as a bunch of our regular improvements to internal clarity and test
 
349
support.
12
350
 
13
351
Compatibility Breaks
14
352
********************
15
353
 
 
354
* An API break has been made to the lock_write method of ``Branch`` and
 
355
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
356
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
357
  changing the API in future easier and permits some cleaner calling code.
 
358
  The lock_read method has also changed from having no defined return
 
359
  value to returning ``LogicalLockResult`` objects.
 
360
  (Robert Collins)
 
361
 
 
362
* ``bzr`` does not try to guess the username as ``username@hostname``
 
363
  and requires it to be explictly set. This can be set using ``bzr
 
364
  whoami``. (Parth Malwankar, #549310)
 
365
 
 
366
* ``bzrlib.commands.Command`` will now raise ValueError during
 
367
  construction if there is no __doc__ set. (Note, this will be reverted in
 
368
  2.2b4) (Robert Collins)
 
369
 
 
370
* The source tree no longer contains a contrib/zsh/_bzr completion
 
371
  script. The new file contrib/zsh/README suggests alternatives.
 
372
  (Martin von Gagern, #560030)
 
373
 
16
374
New Features
17
375
************
18
376
 
30
388
  pack operation.
31
389
  (Parth Malwankar, #304320)
32
390
 
 
391
* New command line option ``--authors`` to ``bzr log`` allows users to
 
392
  select which of the apparent authors and committer should be
 
393
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
394
 
 
395
* Support ``--directory`` option for a number of additional commands:
 
396
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
397
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
398
  re-sign, unbind, unknowns.
 
399
  (Martin von Gagern, #527878)
 
400
 
 
401
* The bash_completion plugin from the bzr-bash-completion project has
 
402
  been merged into the tree. It provides a bash-completion command and
 
403
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
404
  using the plugin. (Martin von Gagern, #560030)
 
405
 
 
406
* A new transport based on GIO (the gnome i/o library) provides access to
 
407
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
408
  use gio for some already existing transport methods as gio+file,
 
409
  gio+sftp, gio+ftp. 
 
410
  (Mattias Eriksson)
 
411
 
33
412
Bug Fixes
34
413
*********
35
414
 
 
415
* Alias information shown by ``bzr help`` is now accurate. This
 
416
  was showing an internal object name for some plugin aliases.
 
417
  (Parth Malwankar, #584650)
 
418
 
36
419
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
420
  group ownership from the containing directory. This allow bzr to work
38
421
  better with sudo.
39
422
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
423
 
 
424
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
425
  support of bzr-externals and scmproj plugins.
 
426
  (Alexander Belchenko, bug #572098)
 
427
 
 
428
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
429
  (Gordon Tyler, #572092)
 
430
 
41
431
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
432
  are part of Y ancestry but not part of X ancestry (aka the graph
43
433
  difference).
44
434
  (Vincent Ladeuil, #320119)
45
435
 
 
436
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
437
  servers a few commits ago has been reverted to use edge: there is a
 
438
  problem with using production which isn't trivially obvious, so we've
 
439
  filed a bug to track it, and until thats fixed will be using edge.
 
440
  (Robert Collins, #583667)
 
441
 
 
442
* ``bzr rm`` should not refuse to delete directories which contained a file
 
443
  which has been moved elsewhere in the tree after the previous commit.
 
444
  (Marius Kruger, Daniel Watkins, #129880)
 
445
 
46
446
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
447
  (Vincent Ladeuil, #566670)
48
448
 
49
449
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
450
  (Vincent Ladeuil, #563997)
51
451
 
 
452
* CommitBuilder refuses to create revisions whose trees have no root.
 
453
  (Aaron Bentley)
 
454
 
 
455
* Do not register a SIGWINCH signal handler, instead just poll for the
 
456
  terminal width as needed.  This avoids the "Interrupted System Call"
 
457
  problems that occur on POSIX with all currently released versions of
 
458
  Python.
 
459
  (Andrew Bennetts, #583941)
 
460
 
52
461
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
462
  (Vincent Ladeuil, #401599)
54
463
 
56
465
  versions before 1.6.
57
466
  (Andrew Bennetts, #528041)
58
467
 
 
468
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
469
  estimate of the number of records to be fetched vs actually fetched.
 
470
  (Parth Malwankar, #374740, #538868)
 
471
 
59
472
* Reduce peak memory by one copy of compressed text.
60
473
  (John Arbash Meinel, #566940)
61
474
 
 
475
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
476
  read lock, rather than causing an ``AttributeError``.
 
477
  (Andrew Bennetts, Данило Шеган, #582781)
 
478
 
 
479
* Selftest was failing with testtools 0.9.3, which caused an
 
480
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
481
  Error, breaking on of our test hygiene tests.
 
482
  (Robert Collins, Vincent Ladeuil).
 
483
 
 
484
* ``set_user_option`` with a dict on remote branches no longer fails with
 
485
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
486
  to support this efficiently.
 
487
  (Andrew Bennetts, #430382)
 
488
  
62
489
* Show the filenames when a file rename fails so that the error will be
63
490
  more comprehensible.
64
491
  (Martin Pool, #491763)
65
492
 
 
493
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
494
  (John Arbash Meinel, #582656)
 
495
 
 
496
* Unicode characters in aliases are now handled correctly and do not cause
 
497
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
498
 
 
499
* Unicode commit messages that are the same as a file name no longer cause
 
500
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
501
  messages.
 
502
  (Parth Malwankar, #563646)
 
503
 
 
504
* Using bzr with `lp:` urls behind an http proxy should work.
 
505
  (Robert Collins, #558343)
 
506
 
 
507
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
508
  directory file handle after the chdir fails. Otherwise when passing many
 
509
  filenames into a command line ``bzr status`` we would leak descriptors.
 
510
  (John Arbash Meinel, #583486)
 
511
 
66
512
Improvements
67
513
************
68
514
 
74
520
  (case-sensitive) as false.
75
521
  (Brian de Alwis, Vincent Ladeuil)
76
522
 
 
523
* ``bzr ls`` now supports short options for existing long options.
 
524
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
525
  (Parth Malwankar, #181124)
 
526
 
77
527
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
528
  be interpreted as a boolean.
79
529
  (Vincent Ladeuil)
80
530
 
 
531
* The all-in-one Windows installer will now be built with docstrings stripped
 
532
  from the library zip, reducing the size and slightly improving cold startup
 
533
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
534
  plugins to an all-in-one installation, ensure they are compiled and
 
535
  installed with -O1 or help may not work. (Martin [gz])
 
536
 
81
537
Documentation
82
538
*************
83
539
 
96
552
  implementations.
97
553
  (Martin Pool)
98
554
 
 
555
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
556
  expected to return an object which can be used to unlock them. This reduces
 
557
  duplicate code when using cleanups. The previous 'tokens's returned by
 
558
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
559
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
560
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
561
 
 
562
* ``Repository.refresh_data`` may now be called in a write group on
 
563
  pack-based repositories.  Older repositories will still raise an error
 
564
  in this case.  Subclasses of ``Repository`` can still override
 
565
  ``Repository._refresh_data``, but are now responsible for raising
 
566
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
567
  ``refresh_data`` during a write group.
 
568
  (Andrew Bennetts, #574236)
 
569
 
99
570
Internals
100
571
*********
101
572
 
 
573
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
574
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
575
  potentially shave 5-10% time off during a large fetch. Related to bug
 
576
  #562666. (John Arbash Meinel)
 
577
 
 
578
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
579
  (Robert Collins)
 
580
 
102
581
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
582
  suboptimal network behaviour is noticed; instead it just mutters to the
104
583
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
590
  stripped, the prefix ``__doc__ =`` should now be used.
112
591
  (Martin <gzlist@googlemail.com>)
113
592
 
 
593
* No longer require zlib headers to build extensions, and remove the need
 
594
  for seperate copy of zlib library on windows.
 
595
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
596
 
114
597
Testing
115
598
*******
116
599
 
125
608
  failures on Lucid, FreeBSD and gentoo.  
126
609
  (Vincent Ladeuil, #528436)
127
610
 
 
611
* New class ``ExecutableFeature`` for checking the availability of
 
612
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
613
  (Martin von Gagern)
 
614
 
128
615
bzr 2.2b2
129
616
#########
130
617
 
184
671
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
672
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
673
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
674
  errors compared to registering ``signal.signal`` directly.
188
675
  (Andrew Bennetts)
189
676
 
190
677
* When invoked with a range revision, ``bzr log`` doesn't show revisions
232
719
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
720
  ``get_trees_and_branches_to_diff_locked`` instead.
234
721
  (Andrew Bennetts)
 
722
 
 
723
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
724
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
725
  
236
726
Internals
237
727
*********
242
732
  Command is now transient and only exists for the duration of ``run()``.
243
733
  (Robert Collins)
244
734
 
245
 
bzr 2.2.0b1
246
 
###########
247
 
 
248
 
:2.2.0b1: 2010-04-01
 
735
bzr 2.2b1
 
736
#########
 
737
 
 
738
:2.2b1: 2010-04-01
 
739
 
 
740
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
741
release in July or August.  Beta releases are suitable for everyday use
 
742
but may cause some incompatibilities with plugins.  Some plugins may need
 
743
small updates to work with 2.2b1.
 
744
 
 
745
2.2b1 includes some changes to make merge conflicts easier to understand
 
746
and resolve.  It also removes some old unnecessary code, and loads
 
747
somewhat less code at startup.  It starts adding a common infrastructure
 
748
for dealing with colocated named branches, which can be implemented in
 
749
various ways in either bzr native or foreign formats.   On Ubuntu and
 
750
other platforms with the apport bug-reporting library, there's an easier
 
751
path to report problems with bzr.  We plan to continue with these themes
 
752
through the 2.2 series.
 
753
 
 
754
Over thirty bugs have been fixed, including in the log command, exporting
 
755
to tarballs, restarting interrupted system calls, portability of compiled
 
756
extensions, making backups during upgrade, and locking on ftp.
249
757
 
250
758
Compatibility Breaks
251
759
********************
527
1035
  happens, and another warning will be written if the log file could not
528
1036
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
529
1037
 
 
1038
bzr 2.1.3
 
1039
#########
 
1040
 
 
1041
:Codename: Do run run
 
1042
:2.1.3: NOT RELEASED YET
 
1043
 
 
1044
Compatibility Breaks
 
1045
********************
 
1046
 
 
1047
New Features
 
1048
************
 
1049
 
 
1050
Bug Fixes
 
1051
*********
 
1052
 
 
1053
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
1054
  way which should help avoid problems with concurrent writers.
 
1055
  (Vincent Ladeuil, #525571)
 
1056
 
 
1057
* Don't traceback trying to unversion children files of an already
 
1058
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1059
 
 
1060
* Raise ValueError instead of a string exception.
 
1061
  (John Arbash Meinel, #586926)
 
1062
 
 
1063
Improvements
 
1064
************
 
1065
 
 
1066
Documentation
 
1067
*************
 
1068
 
 
1069
API Changes
 
1070
***********
 
1071
 
 
1072
Internals
 
1073
*********
 
1074
 
 
1075
Testing
 
1076
*******
 
1077
 
530
1078
bzr 2.1.2
531
1079
#########
532
1080
 
533
 
:2.1.2: NOT RELEASED YET
 
1081
:2.1.2: 2010-05-28
 
1082
 
 
1083
This release fixes two critical networking issues with older servers and
 
1084
with interrupted system call errors when pushing or pulling.  We recommend
 
1085
upgrading to anyone running a 2.1.x version of bzr.
534
1086
 
535
1087
Bug Fixes
536
1088
*********
537
1089
 
 
1090
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1091
  support of bzr-externals and scmproj plugins.
 
1092
  (Alexander Belchenko, bug #572098)
 
1093
 
538
1094
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
1095
  (Aaron Bentley, #559436)
540
1096
 
 
1097
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1098
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1099
  problems that occur on POSIX with all currently released versions of
 
1100
  Python.
 
1101
  (Andrew Bennetts, #583941)
 
1102
 
541
1103
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
1104
  versions before 1.6.
543
1105
  (Andrew Bennetts, #528041)
545
1107
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
1108
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
1109
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
 
1110
  errors compared to registering ``signal.signal`` directly.
549
1111
  (Andrew Bennetts)
550
1112
 
 
1113
* Reduce peak memory by one copy of compressed text.
 
1114
  (John Arbash Meinel, #566940)
 
1115
 
 
1116
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1117
  (John Arbash Meinel, #582656)
 
1118
 
 
1119
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1120
  directory file handle after the chdir fails. Otherwise when passing many
 
1121
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1122
  (John Arbash Meinel, #583486)
 
1123
 
551
1124
Internals
552
1125
*********
553
1126
 
989
1562
  history no longer crash when deleted files are involved.
990
1563
  (Vincent Ladeuil, John Arbash Meinel, #375898)
991
1564
 
 
1565
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
1566
  target of the symlink.
 
1567
  (Martin Pool, John Arbash Meinel, #128562)
 
1568
 
992
1569
* ``bzr revert`` now only takes write lock on working tree, instead of on 
993
1570
  both working tree and branch.
994
1571
  (Danny van Heumen, #498409)
997
1574
  permissions as ``.bzr`` directory on a POSIX OS.
998
1575
  (Parth Malwankar, #262450)
999
1576
 
 
1577
* Don't traceback trying to unversion children files of an already
 
1578
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1579
 
 
1580
* Raise ValueError instead of a string exception.
 
1581
  (John Arbash Meinel, #586926)
 
1582
 
 
1583
* Reduce peak memory by one copy of compressed text.
 
1584
  (John Arbash Meinel, #566940)
 
1585
 
1000
1586
* Repositories accessed via a smart server now reject being stacked on a
1001
1587
  repository in an incompatible format, as is the case when accessing them
1002
1588
  via other methods.  This was causing fetches from those repositories via
1003
1589
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1590
  (Andrew Bennetts, #562380)
1005
1591
 
 
1592
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1593
  error. This error was caused by 2.0 not being updated when upstream
 
1594
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1595
  ``done``. (Robert Collins, #571437)
 
1596
 
 
1597
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1598
  directory file handle after the chdir fails. Otherwise when passing many
 
1599
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1600
  (John Arbash Meinel, #583486)
 
1601
 
 
1602
 
 
1603
Testing
 
1604
*******
 
1605
 
 
1606
* ``build_tree_contents`` can create symlinks.
 
1607
  (Martin Pool, John Arbash Meinel)
 
1608
 
 
1609
 
1006
1610
bzr 2.0.5
1007
1611
#########
1008
1612
 
3702
4306
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3703
4307
 
3704
4308
* 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,
 
4309
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4310
  machines work, other platforms need patches submitted. (Robert Collins,
3707
4311
  Vincent Ladeuil)
3708
4312
 
3709
4313
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
6457
7061
 
6458
7062
* bzr main script cannot be imported (Benjamin Peterson)
6459
7063
 
6460
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
7064
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6461
7065
  directory. (Toshio Kuratomi)
6462
7066
 
6463
7067
* The ``set_rh`` branch hook is now deprecated. Please migrate
6800
7404
 
6801
7405
* BZR_LOG environment variable controls location of .bzr.log trace file.
6802
7406
  User can suppress writing messages to .bzr.log by using '/dev/null'
6803
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7407
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6804
7408
  is not defined but BZR_HOME is defined then default location
6805
7409
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6806
7410
  (Alexander Belchenko, #106117)