/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-25 20:34:05 UTC
  • mto: This revision was merged to the branch mainline in revision 5324.
  • Revision ID: robertc@robertcollins.net-20100625203405-c74lxd3enklhaqf9
``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
selection when explicitly requested; this avoids many duplicate calls
being logged when helpers, wrappers and older code that manually calls
it are executed it is now logged deliberately by the ui setup code.
(Robert Collins)

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