/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: Marius Kruger
  • Date: 2010-07-10 21:28:56 UTC
  • mto: (5384.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5385.
  • Revision ID: marius.kruger@enerweb.co.za-20100710212856-uq4ji3go0u5se7hx
* Update documentation
* add NEWS

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