/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: Martin Pool
  • Date: 2010-07-17 16:39:20 UTC
  • mto: (5050.3.10 2.2)
  • mto: This revision was merged to the branch mainline in revision 5365.
  • Revision ID: mbp@canonical.com-20100717163920-jff218s3q6qkknzo
Delete previously deprecated ProgressTask.note

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