/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: Martin Pool
  • Date: 2010-07-09 15:47:01 UTC
  • mto: (5050.3.10 2.2)
  • mto: This revision was merged to the branch mainline in revision 5365.
  • Revision ID: mbp@canonical.com-20100709154701-ine84xsdxz557sm8
Show the progress spinner between the transport rate and the message.

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