/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

(gz) Allow use of Python arguments preceding bzr script in Windows command
 lines (Jason Spashett)

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