/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-06-23 08:19:28 UTC
  • mfrom: (5317 +trunk)
  • mto: (5247.1.11 first-try)
  • mto: This revision was merged to the branch mainline in revision 5326.
  • Revision ID: v.ladeuil+lp@free.fr-20100623081928-z9q18q30oo5as831
Merge bzr.dev into cleanup

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