/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-29 16:21:13 UTC
  • mfrom: (5325 +trunk)
  • mto: (5247.1.12 first-try)
  • mto: This revision was merged to the branch mainline in revision 5326.
  • Revision ID: v.ladeuil+lp@free.fr-20100629162113-xa6y33u17mfi024v
Merge bzr.dev into cleanup resolving conflicts

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