/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: Robert Collins
  • Date: 2010-06-21 01:30:45 UTC
  • mfrom: (5309 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5310.
  • Revision ID: robertc@robertcollins.net-20100621013045-s59nfjps3rkcn53j
Merge trunk to fix NEWS sections.

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.2b4
 
9
#########
 
10
 
 
11
:Codename: Monkey Magic
 
12
:2.2b4: NOT RELEASED YET
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
18
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
19
  is such a manager, but third party UI factories which do not derive from
 
20
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
21
  end. (Robert Collins, Aaron Bentley)
 
22
 
 
23
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
24
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
25
  scheme.  Previously these URLs would be treated as local paths.
 
26
  (Gordon Tyler)
 
27
 
 
28
 
 
29
New Features
 
30
************
 
31
 
 
32
* Support ``--directory`` option for a number of additional commands:
 
33
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
34
  unshelve, whoami. (Martin von Gagern, #527878)
 
35
 
 
36
Bug Fixes
 
37
*********
 
38
 
 
39
* ``bzr init`` does not recursively scan directory contents anymore
 
40
  leading to faster init for directories with existing content.
 
41
  (Martin [gz], Parth Malwankar, #501307)
 
42
 
 
43
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
44
  linear ancetries. (Vincent Ladeuil, #575631)
 
45
 
 
46
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
47
  or pull location in locations.conf or branch.conf.
 
48
  (Gordon Tyler, #534787)
 
49
 
 
50
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
51
  proper error messages. (Vincent Ladeuil, #591215)
 
52
 
 
53
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
54
  arguments on Windows, because bzr script does the same.
 
55
  (Alexander Belchenko, #588277)
 
56
 
 
57
* Fetching was slightly confused about the best code to use and was
 
58
  using a new code path for all branches, resulting in more lookups than
 
59
  necessary on old branches. (Robert Collins, #593515)
 
60
 
 
61
* Final fix for 'no help for command' issue. We now show a clean message
 
62
  when a command has no help, document how to set help more clearly, and
 
63
  test that all commands available to the test suite have help.
 
64
  (Robert Collins, #177500)
 
65
 
 
66
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
67
 
 
68
* Raise ValueError instead of a string exception.
 
69
  (John Arbash Meinel, #586926)
 
70
 
 
71
* Relative imports in plugins are now handled correctly when using
 
72
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
73
 
 
74
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
75
  which previously caused "SyntaxError: No command for line".
 
76
  (Martin Pool)
 
77
 
 
78
* Show unicode filenames in diff headers using terminal encoding. 
 
79
  (Alexander Belchenko, Bug #382699)
 
80
  NOTE for Windows users: If user need to save diff to file then user need to
 
81
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
82
  (e.g. ``chcp 1251`` for Russian Windows).
 
83
 
 
84
* URL displayed for use with ``break-lock`` when smart server sees lock
 
85
  contention are now valid. Default timeout for lock contention retry is
 
86
  now 30 seconds instead of 300 seconds.
 
87
  (Parth Malwankar, #250451)
 
88
 
 
89
* ``walkdirs`` now raises a useful message when the filenames are not using
 
90
  the filesystem encoding. (Eric Moritz, #488519)
 
91
 
 
92
Improvements
 
93
************
 
94
 
 
95
* Bazaar now reads data from SSH connections more efficiently on platforms
 
96
  that provide the ``socketpair`` function, and when using paramiko.
 
97
  (Andrew Bennetts, #590637)
 
98
 
 
99
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
100
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
101
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
102
  (Robert Collins, #201613)
 
103
 
 
104
* ``Branch`` formats can now be loaded lazily by registering a
 
105
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
106
  cause the named format class to be loaded only when an enumeration of
 
107
  formats is needed or when the format string for the object is
 
108
  encountered. (Robert Collins, Jelmer Vernooij)
 
109
 
 
110
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
111
  do not cause modules to be loaded unnecessarily just because the plugin
 
112
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
113
  in a default installation (with just the core plugins).
 
114
  (Andrew Bennetts)
 
115
 
 
116
Documentation
 
117
*************
 
118
 
 
119
* Added ``regression`` tag to our tags list. (Robert Collins)
 
120
 
 
121
* Improved our release checklist to have a bit less churn and leave things
 
122
  ready-to-go for the next action (including other people doing
 
123
  development). (Robert Collins)
 
124
 
 
125
* Remove obsolete discussion of PQM in documentation about how to
 
126
  contribute to Bazaar.  (Martin Pool, #588444)
 
127
 
 
128
API Changes
 
129
***********
 
130
 
 
131
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
132
  an iterable of format pairs, rather than just a single pair, permitting
 
133
  InterBranch objects that work with multiple permutations to be
 
134
  comprehensively tested. (Robert Collins)
 
135
 
 
136
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
137
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
138
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
139
 
 
140
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
141
  one method ``check_output``, and we now recommend checking command
 
142
  output using ``run_script``. (Martin Pool)
 
143
 
 
144
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
145
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
146
  Third-party implementations of ``SSHVendor`` may need to be updated
 
147
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
148
  need to be updated.  (Andrew Bennetts)
 
149
 
 
150
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
151
  changed to take an ``SSHParams`` instance (replacing many individual
 
152
  values).  (Andrew Bennetts)
 
153
 
 
154
Internals
 
155
*********
 
156
 
 
157
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
158
 
 
159
Testing
 
160
*******
 
161
 
 
162
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
163
  (Vincent Ladeuil, #595587)
 
164
 
8
165
bzr 2.2b3
9
166
#########
10
167
 
11
 
:2.2b3: NOT RELEASED YET
 
168
:2.2b3: 2010-05-28
 
169
 
 
170
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
171
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
172
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
173
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
174
bash completion script and bzr will no longer guess at identity details -
 
175
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
176
For developers we have some API changes which may impact plugins as well
 
177
as a bunch of our regular improvements to internal clarity and test
 
178
support.
12
179
 
13
180
Compatibility Breaks
14
181
********************
15
182
 
 
183
* An API break has been made to the lock_write method of ``Branch`` and
 
184
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
185
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
186
  changing the API in future easier and permits some cleaner calling code.
 
187
  The lock_read method has also changed from having no defined return
 
188
  value to returning ``LogicalLockResult`` objects.
 
189
  (Robert Collins)
 
190
 
 
191
* ``bzr`` does not try to guess the username as ``username@hostname``
 
192
  and requires it to be explictly set. This can be set using ``bzr
 
193
  whoami``. (Parth Malwankar, #549310)
 
194
 
 
195
* ``bzrlib.commands.Command`` will now raise ValueError during
 
196
  construction if there is no __doc__ set. (Note, this will be reverted in
 
197
  2.2b4) (Robert Collins)
 
198
 
 
199
* The source tree no longer contains a contrib/zsh/_bzr completion
 
200
  script. The new file contrib/zsh/README suggests alternatives.
 
201
  (Martin von Gagern, #560030)
 
202
 
16
203
New Features
17
204
************
18
205
 
30
217
  pack operation.
31
218
  (Parth Malwankar, #304320)
32
219
 
 
220
* New command line option ``--authors`` to ``bzr log`` allows users to
 
221
  select which of the apparent authors and committer should be
 
222
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
223
 
 
224
* Support ``--directory`` option for a number of additional commands:
 
225
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
226
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
227
  re-sign, unbind, unknowns.
 
228
  (Martin von Gagern, #527878)
 
229
 
 
230
* The bash_completion plugin from the bzr-bash-completion project has
 
231
  been merged into the tree. It provides a bash-completion command and
 
232
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
233
  using the plugin. (Martin von Gagern, #560030)
 
234
 
 
235
* A new transport based on GIO (the gnome i/o library) provides access to
 
236
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
237
  use gio for some already existing transport methods as gio+file,
 
238
  gio+sftp, gio+ftp. 
 
239
  (Mattias Eriksson)
 
240
 
33
241
Bug Fixes
34
242
*********
35
243
 
 
244
* Alias information shown by ``bzr help`` is now accurate. This
 
245
  was showing an internal object name for some plugin aliases.
 
246
  (Parth Malwankar, #584650)
 
247
 
36
248
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
249
  group ownership from the containing directory. This allow bzr to work
38
250
  better with sudo.
39
251
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
252
 
 
253
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
254
  support of bzr-externals and scmproj plugins.
 
255
  (Alexander Belchenko, bug #572098)
 
256
 
 
257
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
258
  (Gordon Tyler, #572092)
 
259
 
41
260
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
261
  are part of Y ancestry but not part of X ancestry (aka the graph
43
262
  difference).
44
263
  (Vincent Ladeuil, #320119)
45
264
 
 
265
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
266
  servers a few commits ago has been reverted to use edge: there is a
 
267
  problem with using production which isn't trivially obvious, so we've
 
268
  filed a bug to track it, and until thats fixed will be using edge.
 
269
  (Robert Collins, #583667)
 
270
 
 
271
* ``bzr rm`` should not refuse to delete directories which contained a file
 
272
  which has been moved elsewhere in the tree after the previous commit.
 
273
  (Marius Kruger, Daniel Watkins, #129880)
 
274
 
46
275
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
276
  (Vincent Ladeuil, #566670)
48
277
 
49
278
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
279
  (Vincent Ladeuil, #563997)
51
280
 
 
281
* CommitBuilder refuses to create revisions whose trees have no root.
 
282
  (Aaron Bentley)
 
283
 
 
284
* Do not register a SIGWINCH signal handler, instead just poll for the
 
285
  terminal width as needed.  This avoids the "Interrupted System Call"
 
286
  problems that occur on POSIX with all currently released versions of
 
287
  Python.
 
288
  (Andrew Bennetts, #583941)
 
289
 
52
290
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
291
  (Vincent Ladeuil, #401599)
54
292
 
56
294
  versions before 1.6.
57
295
  (Andrew Bennetts, #528041)
58
296
 
 
297
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
298
  estimate of the number of records to be fetched vs actually fetched.
 
299
  (Parth Malwankar, #374740, #538868)
 
300
 
59
301
* Reduce peak memory by one copy of compressed text.
60
302
  (John Arbash Meinel, #566940)
61
303
 
 
304
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
305
  read lock, rather than causing an ``AttributeError``.
 
306
  (Andrew Bennetts, Данило Шеган, #582781)
 
307
 
 
308
* Selftest was failing with testtools 0.9.3, which caused an
 
309
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
310
  Error, breaking on of our test hygiene tests.
 
311
  (Robert Collins, Vincent Ladeuil).
 
312
 
 
313
* ``set_user_option`` with a dict on remote branches no longer fails with
 
314
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
315
  to support this efficiently.
 
316
  (Andrew Bennetts, #430382)
 
317
  
62
318
* Show the filenames when a file rename fails so that the error will be
63
319
  more comprehensible.
64
320
  (Martin Pool, #491763)
65
321
 
 
322
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
323
  (John Arbash Meinel, #582656)
 
324
 
 
325
* Unicode characters in aliases are now handled correctly and do not cause
 
326
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
327
 
 
328
* Unicode commit messages that are the same as a file name no longer cause
 
329
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
330
  messages.
 
331
  (Parth Malwankar, #563646)
 
332
 
 
333
* Using bzr with `lp:` urls behind an http proxy should work.
 
334
  (Robert Collins, #558343)
 
335
 
 
336
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
337
  directory file handle after the chdir fails. Otherwise when passing many
 
338
  filenames into a command line ``bzr status`` we would leak descriptors.
 
339
  (John Arbash Meinel, #583486)
 
340
 
66
341
Improvements
67
342
************
68
343
 
74
349
  (case-sensitive) as false.
75
350
  (Brian de Alwis, Vincent Ladeuil)
76
351
 
 
352
* ``bzr ls`` now supports short options for existing long options.
 
353
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
354
  (Parth Malwankar, #181124)
 
355
 
77
356
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
357
  be interpreted as a boolean.
79
358
  (Vincent Ladeuil)
80
359
 
 
360
* The all-in-one Windows installer will now be built with docstrings stripped
 
361
  from the library zip, reducing the size and slightly improving cold startup
 
362
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
363
  plugins to an all-in-one installation, ensure they are compiled and
 
364
  installed with -O1 or help may not work. (Martin [gz])
 
365
 
81
366
Documentation
82
367
*************
83
368
 
96
381
  implementations.
97
382
  (Martin Pool)
98
383
 
 
384
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
385
  expected to return an object which can be used to unlock them. This reduces
 
386
  duplicate code when using cleanups. The previous 'tokens's returned by
 
387
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
388
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
389
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
390
 
 
391
* ``Repository.refresh_data`` may now be called in a write group on
 
392
  pack-based repositories.  Older repositories will still raise an error
 
393
  in this case.  Subclasses of ``Repository`` can still override
 
394
  ``Repository._refresh_data``, but are now responsible for raising
 
395
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
396
  ``refresh_data`` during a write group.
 
397
  (Andrew Bennetts, #574236)
 
398
 
99
399
Internals
100
400
*********
101
401
 
 
402
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
403
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
404
  potentially shave 5-10% time off during a large fetch. Related to bug
 
405
  #562666. (John Arbash Meinel)
 
406
 
 
407
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
408
  (Robert Collins)
 
409
 
102
410
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
411
  suboptimal network behaviour is noticed; instead it just mutters to the
104
412
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
419
  stripped, the prefix ``__doc__ =`` should now be used.
112
420
  (Martin <gzlist@googlemail.com>)
113
421
 
 
422
* No longer require zlib headers to build extensions, and remove the need
 
423
  for seperate copy of zlib library on windows.
 
424
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
425
 
114
426
Testing
115
427
*******
116
428
 
 
429
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
 
430
  our first in-tree matcher. See the module docstring for details.
 
431
  (Robert Collins)
 
432
 
117
433
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
118
434
   (Gordon Tyler, #551332)
119
435
 
121
437
  failures on Lucid, FreeBSD and gentoo.  
122
438
  (Vincent Ladeuil, #528436)
123
439
 
 
440
* New class ``ExecutableFeature`` for checking the availability of
 
441
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
442
  (Martin von Gagern)
 
443
 
124
444
bzr 2.2b2
125
445
#########
126
446
 
180
500
* Reset ``siginterrupt`` flag to False every time we handle a signal
181
501
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
182
502
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
183
 
  errors after two window resizes.
 
503
  errors compared to registering ``signal.signal`` directly.
184
504
  (Andrew Bennetts)
185
505
 
186
506
* When invoked with a range revision, ``bzr log`` doesn't show revisions
228
548
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
229
549
  ``get_trees_and_branches_to_diff_locked`` instead.
230
550
  (Andrew Bennetts)
 
551
 
 
552
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
553
  auto-determines branch nick if not supplied.  (Aaron Bentley)
231
554
  
232
555
Internals
233
556
*********
238
561
  Command is now transient and only exists for the duration of ``run()``.
239
562
  (Robert Collins)
240
563
 
241
 
bzr 2.2.0b1
242
 
###########
243
 
 
244
 
:2.2.0b1: 2010-04-01
 
564
bzr 2.2b1
 
565
#########
 
566
 
 
567
:2.2b1: 2010-04-01
 
568
 
 
569
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
570
release in July or August.  Beta releases are suitable for everyday use
 
571
but may cause some incompatibilities with plugins.  Some plugins may need
 
572
small updates to work with 2.2b1.
 
573
 
 
574
2.2b1 includes some changes to make merge conflicts easier to understand
 
575
and resolve.  It also removes some old unnecessary code, and loads
 
576
somewhat less code at startup.  It starts adding a common infrastructure
 
577
for dealing with colocated named branches, which can be implemented in
 
578
various ways in either bzr native or foreign formats.   On Ubuntu and
 
579
other platforms with the apport bug-reporting library, there's an easier
 
580
path to report problems with bzr.  We plan to continue with these themes
 
581
through the 2.2 series.
 
582
 
 
583
Over thirty bugs have been fixed, including in the log command, exporting
 
584
to tarballs, restarting interrupted system calls, portability of compiled
 
585
extensions, making backups during upgrade, and locking on ftp.
245
586
 
246
587
Compatibility Breaks
247
588
********************
523
864
  happens, and another warning will be written if the log file could not
524
865
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
525
866
 
 
867
bzr 2.1.3
 
868
#########
 
869
 
 
870
:Codename: Do run run
 
871
:2.1.3: NOT RELEASED YET
 
872
 
 
873
Compatibility Breaks
 
874
********************
 
875
 
 
876
New Features
 
877
************
 
878
 
 
879
Bug Fixes
 
880
*********
 
881
 
 
882
* Raise ValueError instead of a string exception.
 
883
  (John Arbash Meinel, #586926)
 
884
 
 
885
Improvements
 
886
************
 
887
 
 
888
Documentation
 
889
*************
 
890
 
 
891
API Changes
 
892
***********
 
893
 
 
894
Internals
 
895
*********
 
896
 
 
897
Testing
 
898
*******
 
899
 
526
900
bzr 2.1.2
527
901
#########
528
902
 
529
 
:2.1.2: NOT RELEASED YET
 
903
:2.1.2: 2010-05-28
 
904
 
 
905
This release fixes two critical networking issues with older servers and
 
906
with interrupted system call errors when pushing or pulling.  We recommend
 
907
upgrading to anyone running a 2.1.x version of bzr.
530
908
 
531
909
Bug Fixes
532
910
*********
533
911
 
 
912
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
913
  support of bzr-externals and scmproj plugins.
 
914
  (Alexander Belchenko, bug #572098)
 
915
 
534
916
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
535
917
  (Aaron Bentley, #559436)
536
918
 
 
919
* Do not register a SIGWINCH signal handler, instead just poll for the
 
920
  terminal width as needed.  This avoids the "Interrupted System Call"
 
921
  problems that occur on POSIX with all currently released versions of
 
922
  Python.
 
923
  (Andrew Bennetts, #583941)
 
924
 
537
925
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
538
926
  versions before 1.6.
539
927
  (Andrew Bennetts, #528041)
541
929
* Reset ``siginterrupt`` flag to False every time we handle a signal
542
930
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
543
931
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
544
 
  errors after two window resizes.
 
932
  errors compared to registering ``signal.signal`` directly.
545
933
  (Andrew Bennetts)
546
934
 
 
935
* Reduce peak memory by one copy of compressed text.
 
936
  (John Arbash Meinel, #566940)
 
937
 
 
938
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
939
  (John Arbash Meinel, #582656)
 
940
 
 
941
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
942
  directory file handle after the chdir fails. Otherwise when passing many
 
943
  filenames into a command line ``bzr status`` we would leak descriptors.
 
944
  (John Arbash Meinel, #583486)
 
945
 
547
946
Internals
548
947
*********
549
948
 
993
1392
  permissions as ``.bzr`` directory on a POSIX OS.
994
1393
  (Parth Malwankar, #262450)
995
1394
 
 
1395
* Raise ValueError instead of a string exception.
 
1396
  (John Arbash Meinel, #586926)
 
1397
 
 
1398
* Reduce peak memory by one copy of compressed text.
 
1399
  (John Arbash Meinel, #566940)
 
1400
 
996
1401
* Repositories accessed via a smart server now reject being stacked on a
997
1402
  repository in an incompatible format, as is the case when accessing them
998
1403
  via other methods.  This was causing fetches from those repositories via
999
1404
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1000
1405
  (Andrew Bennetts, #562380)
1001
1406
 
 
1407
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1408
  error. This error was caused by 2.0 not being updated when upstream
 
1409
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1410
  ``done``. (Robert Collins, #571437)
 
1411
 
 
1412
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1413
  directory file handle after the chdir fails. Otherwise when passing many
 
1414
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1415
  (John Arbash Meinel, #583486)
 
1416
 
 
1417
 
1002
1418
bzr 2.0.5
1003
1419
#########
1004
1420
 
3698
4114
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3699
4115
 
3700
4116
* selftest now supports a --parallel option, with values of 'fork' or
3701
 
  'subprocess' to run the test suite in parallel. Currently only linux
3702
 
  machine work, other platforms need patches submitted. (Robert Collins,
 
4117
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4118
  machines work, other platforms need patches submitted. (Robert Collins,
3703
4119
  Vincent Ladeuil)
3704
4120
 
3705
4121
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
6453
6869
 
6454
6870
* bzr main script cannot be imported (Benjamin Peterson)
6455
6871
 
6456
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
6872
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6457
6873
  directory. (Toshio Kuratomi)
6458
6874
 
6459
6875
* The ``set_rh`` branch hook is now deprecated. Please migrate
6796
7212
 
6797
7213
* BZR_LOG environment variable controls location of .bzr.log trace file.
6798
7214
  User can suppress writing messages to .bzr.log by using '/dev/null'
6799
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7215
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6800
7216
  is not defined but BZR_HOME is defined then default location
6801
7217
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6802
7218
  (Alexander Belchenko, #106117)