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