/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-07-06 19:48:05 UTC
  • mto: This revision was merged to the branch mainline in revision 5336.
  • Revision ID: robertc@robertcollins.net-20100706194805-gh5op6nd3p9545dg
Add note that basedir is a unicode object as per John's review.

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