/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Vincent Ladeuil
  • Date: 2010-07-15 12:37:32 UTC
  • mto: This revision was merged to the branch mainline in revision 5347.
  • Revision ID: v.ladeuil+lp@free.fr-20100715123732-3d41ur2zrficjso3
Delete Revision.get_apparent_author.

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.3b1
 
9
#########
 
10
 
 
11
:Codename: ???
 
12
:2.3b1: NOT RELEASED YET
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
New Features
 
18
************
 
19
 
 
20
Bug Fixes
 
21
*********
 
22
 
 
23
Improvements
 
24
************
 
25
 
 
26
Documentation
 
27
*************
 
28
 
 
29
API Changes
 
30
***********
 
31
 
 
32
Internals
 
33
*********
 
34
 
 
35
Testing
 
36
*******
 
37
 
 
38
 
 
39
bzr 2.2rc1
 
40
##########
 
41
 
 
42
:Codename: ???
 
43
:2.2rc1: NOT RELEASED YET
 
44
 
 
45
Compatibility Breaks
 
46
********************
 
47
 
 
48
New Features
 
49
************
 
50
 
 
51
Bug Fixes
 
52
*********
 
53
 
 
54
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
55
  way which should help avoid problems with concurrent writers.
 
56
  (Vincent Ladeuil, #525571)
 
57
 
 
58
* Don't traceback trying to unversion children files of an already
 
59
  unversioned directory.  (Vincent Ladeuil, #494221)
 
60
 
 
61
Improvements
 
62
************
 
63
 
 
64
Documentation
 
65
*************
 
66
 
 
67
API Changes
 
68
***********
 
69
 
 
70
Internals
 
71
*********
 
72
 
 
73
Testing
 
74
*******
 
75
 
 
76
 
 
77
bzr 2.2b4
 
78
#########
 
79
 
 
80
:Codename: Monkey Magic
 
81
:2.2b4: 2004-07-09
 
82
 
 
83
 
 
84
This fourth and final beta in the 2.2 series now stabilizes the internal
 
85
APIs. Plugin authors are recommended to ensure their releases are
 
86
compatible, so that 2.2rc1 can be a true release candidate, containing
 
87
stable and compatible plugin versions. 
 
88
 
 
89
For users of bzrlib as a library, one of the primary changes is to request
 
90
that they call ``bzrlib.initialize`` and use the returned context manager
 
91
appropriately.
 
92
 
 
93
Better interaction with ``bzr-loom`` to make sure branching from a loom
 
94
even over a smart server still yields a local loom. Not to mention lots of
 
95
bugfixes over 2.2b3.
 
96
 
 
97
Compatibility Breaks
 
98
********************
 
99
 
 
100
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
101
  the result of ``bzrlib.initialize``. This change was made when fixing
 
102
  the bad habit recent bzr versions have had of leaving progress bars 
 
103
  behind on the screen. That required calling another function before
 
104
  exiting the program, and it made sense to provide a full context
 
105
  manager at the same time. (Robert Collins)
 
106
 
 
107
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
108
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
109
  is such a manager, but third party UI factories which do not derive from
 
110
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
111
  end.
 
112
 
 
113
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
114
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
115
  scheme.  Previously these URLs would be treated as local paths.
 
116
  (Gordon Tyler)
 
117
 
 
118
 
 
119
New Features
 
120
************
 
121
 
 
122
* Support ``--directory`` option for a number of additional commands:
 
123
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
124
  unshelve, whoami. (Martin von Gagern, #527878)
 
125
 
 
126
Bug Fixes
 
127
*********
 
128
 
 
129
* ``bzr branch`` to a new repository with a default stacking policy no
 
130
  longer transfers the full history unnecessarily.
 
131
  (Andrew Bennetts, #597942)
 
132
 
 
133
* ``bzr init`` does not recursively scan directory contents anymore
 
134
  leading to faster init for directories with existing content.
 
135
  (Martin [gz], Parth Malwankar, #501307)
 
136
 
 
137
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
138
  linear ancetries. (Vincent Ladeuil, #575631)
 
139
 
 
140
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
141
  rather than trying to fetch the data locally and failing because of a
 
142
  readonly error. (Martin von Gagern, #149270)
 
143
 
 
144
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
145
  or pull location in locations.conf or branch.conf.
 
146
  (Gordon Tyler, #534787)
 
147
 
 
148
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
149
  smart server. (Andrew Bennetts, #551525)
 
150
 
 
151
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
152
  (Marius Kruger, Robert Collins)
 
153
 
 
154
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
155
  (Marius Kruger, Robert Collins)
 
156
 
 
157
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
158
  proper error messages. (Vincent Ladeuil, #591215)
 
159
 
 
160
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
161
  arguments on Windows, because bzr script does the same.
 
162
  (Alexander Belchenko, #588277)
 
163
 
 
164
* Fetching was slightly confused about the best code to use and was
 
165
  using a new code path for all branches, resulting in more lookups than
 
166
  necessary on old branches. (Robert Collins, #593515)
 
167
 
 
168
* Final fix for 'no help for command' issue. We now show a clean message
 
169
  when a command has no help, document how to set help more clearly, and
 
170
  test that all commands available to the test suite have help.
 
171
  (Robert Collins, #177500)
 
172
 
 
173
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
 
174
  ``InvalidPattern`` exception showing clear error message to the user.
 
175
  (Parth Malwankar #300062)
 
176
 
 
177
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
178
 
 
179
* Raise ValueError instead of a string exception.
 
180
  (John Arbash Meinel, #586926)
 
181
 
 
182
* Relative imports in plugins are now handled correctly when using
 
183
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
184
 
 
185
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
186
  which previously caused "SyntaxError: No command for line".
 
187
  (Martin Pool)
 
188
 
 
189
* Show unicode filenames in diff headers using terminal encoding. 
 
190
  (Alexander Belchenko, Bug #382699)
 
191
  NOTE for Windows users: If user need to save diff to file then user need to
 
192
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
193
  (e.g. ``chcp 1251`` for Russian Windows).
 
194
 
 
195
* URL displayed for use with ``break-lock`` when smart server sees lock
 
196
  contention are now valid. Default timeout for lock contention retry is
 
197
  now 30 seconds instead of 300 seconds.
 
198
  (Parth Malwankar, #250451)
 
199
 
 
200
* ``walkdirs`` now raises a useful message when the filenames are not using
 
201
  the filesystem encoding. (Eric Moritz, #488519)
 
202
 
 
203
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
204
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
205
  command line we get to be the same length as sys.argv.
 
206
  (Jason Spashett, Alexander Belchenko, #587868)
 
207
 
 
208
Improvements
 
209
************
 
210
 
 
211
* Bazaar now reads data from SSH connections more efficiently on platforms
 
212
  that provide the ``socketpair`` function, and when using paramiko.
 
213
  (Andrew Bennetts, #590637)
 
214
 
 
215
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
216
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
217
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
218
  (Robert Collins, #201613)
 
219
 
 
220
* ``Branch`` formats can now be loaded lazily by registering a
 
221
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
222
  cause the named format class to be loaded only when an enumeration of
 
223
  formats is needed or when the format string for the object is
 
224
  encountered. (Robert Collins, Jelmer Vernooij)
 
225
 
 
226
* The encoding that bzr uses to output things other than file content can
 
227
  now be overridden via the output_encoding configuration option.
 
228
  (Martin Pool, #340394)
 
229
 
 
230
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
231
  do not cause modules to be loaded unnecessarily just because the plugin
 
232
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
233
  in a default installation (with just the core plugins).
 
234
  (Andrew Bennetts)
 
235
 
 
236
Documentation
 
237
*************
 
238
 
 
239
* Added ``regression`` tag to our tags list. (Robert Collins)
 
240
 
 
241
* Improved our release checklist to have a bit less churn and leave things
 
242
  ready-to-go for the next action (including other people doing
 
243
  development). (Robert Collins)
 
244
 
 
245
* Remove obsolete discussion of PQM in documentation about how to
 
246
  contribute to Bazaar.  (Martin Pool, #588444)
 
247
 
 
248
API Changes
 
249
***********
 
250
 
 
251
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
252
  an iterable of format pairs, rather than just a single pair, permitting
 
253
  InterBranch objects that work with multiple permutations to be
 
254
  comprehensively tested. (Robert Collins)
 
255
 
 
256
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
257
  profiles when concurrent profile requests are made. Instead the profile
 
258
  requests will be serialised. Reentrant requests will now deadlock.
 
259
  (Robert Collins)
 
260
 
 
261
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
262
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
263
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
264
 
 
265
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
 
266
  ``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
 
267
  case the default error message not suitable for the use case.
 
268
  (Parth Malwankar)
 
269
 
 
270
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
271
  one method ``check_output``, and we now recommend checking command
 
272
  output using ``run_script``. (Martin Pool)
 
273
 
 
274
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
275
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
276
  Third-party implementations of ``SSHVendor`` may need to be updated
 
277
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
278
  need to be updated.  (Andrew Bennetts)
 
279
 
 
280
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
281
  changed to take an ``SSHParams`` instance (replacing many individual
 
282
  values).  (Andrew Bennetts)
 
283
 
 
284
Internals
 
285
*********
 
286
 
 
287
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
288
  selection when explicitly requested; this avoids many duplicate calls
 
289
  being logged when helpers, wrappers and older code that manually calls
 
290
  it are executed it is now logged deliberately by the ui setup code.
 
291
  (Robert Collins)
 
292
 
 
293
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
294
 
 
295
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
296
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
297
  accurate results. (Andrew Bennetts)
 
298
 
 
299
* The symbol_versioning module can now cleanup after itself -
 
300
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
301
  (Robert Collins)
 
302
 
 
303
Testing
 
304
*******
 
305
 
 
306
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
307
  to test.  (Martin Pool)
 
308
 
 
309
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
310
  (Vincent Ladeuil, #595587)
 
311
 
8
312
bzr 2.2b3
9
313
#########
10
314
 
11
 
:2.2b3: NOT RELEASED YET
 
315
:2.2b3: 2010-05-28
 
316
 
 
317
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
318
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
319
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
320
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
321
bash completion script and bzr will no longer guess at identity details -
 
322
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
323
For developers we have some API changes which may impact plugins as well
 
324
as a bunch of our regular improvements to internal clarity and test
 
325
support.
12
326
 
13
327
Compatibility Breaks
14
328
********************
15
329
 
 
330
* An API break has been made to the lock_write method of ``Branch`` and
 
331
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
332
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
333
  changing the API in future easier and permits some cleaner calling code.
 
334
  The lock_read method has also changed from having no defined return
 
335
  value to returning ``LogicalLockResult`` objects.
 
336
  (Robert Collins)
 
337
 
 
338
* ``bzr`` does not try to guess the username as ``username@hostname``
 
339
  and requires it to be explictly set. This can be set using ``bzr
 
340
  whoami``. (Parth Malwankar, #549310)
 
341
 
 
342
* ``bzrlib.commands.Command`` will now raise ValueError during
 
343
  construction if there is no __doc__ set. (Note, this will be reverted in
 
344
  2.2b4) (Robert Collins)
 
345
 
 
346
* The source tree no longer contains a contrib/zsh/_bzr completion
 
347
  script. The new file contrib/zsh/README suggests alternatives.
 
348
  (Martin von Gagern, #560030)
 
349
 
16
350
New Features
17
351
************
18
352
 
30
364
  pack operation.
31
365
  (Parth Malwankar, #304320)
32
366
 
 
367
* New command line option ``--authors`` to ``bzr log`` allows users to
 
368
  select which of the apparent authors and committer should be
 
369
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
370
 
 
371
* Support ``--directory`` option for a number of additional commands:
 
372
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
373
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
374
  re-sign, unbind, unknowns.
 
375
  (Martin von Gagern, #527878)
 
376
 
 
377
* The bash_completion plugin from the bzr-bash-completion project has
 
378
  been merged into the tree. It provides a bash-completion command and
 
379
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
380
  using the plugin. (Martin von Gagern, #560030)
 
381
 
 
382
* A new transport based on GIO (the gnome i/o library) provides access to
 
383
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
384
  use gio for some already existing transport methods as gio+file,
 
385
  gio+sftp, gio+ftp. 
 
386
  (Mattias Eriksson)
 
387
 
33
388
Bug Fixes
34
389
*********
35
390
 
 
391
* Alias information shown by ``bzr help`` is now accurate. This
 
392
  was showing an internal object name for some plugin aliases.
 
393
  (Parth Malwankar, #584650)
 
394
 
36
395
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
396
  group ownership from the containing directory. This allow bzr to work
38
397
  better with sudo.
39
398
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
399
 
 
400
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
401
  support of bzr-externals and scmproj plugins.
 
402
  (Alexander Belchenko, bug #572098)
 
403
 
 
404
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
405
  (Gordon Tyler, #572092)
 
406
 
41
407
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
408
  are part of Y ancestry but not part of X ancestry (aka the graph
43
409
  difference).
44
410
  (Vincent Ladeuil, #320119)
45
411
 
 
412
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
413
  servers a few commits ago has been reverted to use edge: there is a
 
414
  problem with using production which isn't trivially obvious, so we've
 
415
  filed a bug to track it, and until thats fixed will be using edge.
 
416
  (Robert Collins, #583667)
 
417
 
 
418
* ``bzr rm`` should not refuse to delete directories which contained a file
 
419
  which has been moved elsewhere in the tree after the previous commit.
 
420
  (Marius Kruger, Daniel Watkins, #129880)
 
421
 
46
422
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
423
  (Vincent Ladeuil, #566670)
48
424
 
49
425
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
426
  (Vincent Ladeuil, #563997)
51
427
 
 
428
* CommitBuilder refuses to create revisions whose trees have no root.
 
429
  (Aaron Bentley)
 
430
 
 
431
* Do not register a SIGWINCH signal handler, instead just poll for the
 
432
  terminal width as needed.  This avoids the "Interrupted System Call"
 
433
  problems that occur on POSIX with all currently released versions of
 
434
  Python.
 
435
  (Andrew Bennetts, #583941)
 
436
 
52
437
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
438
  (Vincent Ladeuil, #401599)
54
439
 
56
441
  versions before 1.6.
57
442
  (Andrew Bennetts, #528041)
58
443
 
 
444
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
445
  estimate of the number of records to be fetched vs actually fetched.
 
446
  (Parth Malwankar, #374740, #538868)
 
447
 
59
448
* Reduce peak memory by one copy of compressed text.
60
449
  (John Arbash Meinel, #566940)
61
450
 
 
451
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
452
  read lock, rather than causing an ``AttributeError``.
 
453
  (Andrew Bennetts, Данило Шеган, #582781)
 
454
 
 
455
* Selftest was failing with testtools 0.9.3, which caused an
 
456
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
457
  Error, breaking on of our test hygiene tests.
 
458
  (Robert Collins, Vincent Ladeuil).
 
459
 
 
460
* ``set_user_option`` with a dict on remote branches no longer fails with
 
461
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
462
  to support this efficiently.
 
463
  (Andrew Bennetts, #430382)
 
464
  
62
465
* Show the filenames when a file rename fails so that the error will be
63
466
  more comprehensible.
64
467
  (Martin Pool, #491763)
65
468
 
 
469
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
470
  (John Arbash Meinel, #582656)
 
471
 
 
472
* Unicode characters in aliases are now handled correctly and do not cause
 
473
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
474
 
 
475
* Unicode commit messages that are the same as a file name no longer cause
 
476
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
477
  messages.
 
478
  (Parth Malwankar, #563646)
 
479
 
 
480
* Using bzr with `lp:` urls behind an http proxy should work.
 
481
  (Robert Collins, #558343)
 
482
 
 
483
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
484
  directory file handle after the chdir fails. Otherwise when passing many
 
485
  filenames into a command line ``bzr status`` we would leak descriptors.
 
486
  (John Arbash Meinel, #583486)
 
487
 
66
488
Improvements
67
489
************
68
490
 
74
496
  (case-sensitive) as false.
75
497
  (Brian de Alwis, Vincent Ladeuil)
76
498
 
 
499
* ``bzr ls`` now supports short options for existing long options.
 
500
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
501
  (Parth Malwankar, #181124)
 
502
 
77
503
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
504
  be interpreted as a boolean.
79
505
  (Vincent Ladeuil)
80
506
 
 
507
* The all-in-one Windows installer will now be built with docstrings stripped
 
508
  from the library zip, reducing the size and slightly improving cold startup
 
509
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
510
  plugins to an all-in-one installation, ensure they are compiled and
 
511
  installed with -O1 or help may not work. (Martin [gz])
 
512
 
81
513
Documentation
82
514
*************
83
515
 
96
528
  implementations.
97
529
  (Martin Pool)
98
530
 
 
531
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
532
  expected to return an object which can be used to unlock them. This reduces
 
533
  duplicate code when using cleanups. The previous 'tokens's returned by
 
534
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
535
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
536
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
537
 
 
538
* ``Repository.refresh_data`` may now be called in a write group on
 
539
  pack-based repositories.  Older repositories will still raise an error
 
540
  in this case.  Subclasses of ``Repository`` can still override
 
541
  ``Repository._refresh_data``, but are now responsible for raising
 
542
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
543
  ``refresh_data`` during a write group.
 
544
  (Andrew Bennetts, #574236)
 
545
 
99
546
Internals
100
547
*********
101
548
 
 
549
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
550
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
551
  potentially shave 5-10% time off during a large fetch. Related to bug
 
552
  #562666. (John Arbash Meinel)
 
553
 
 
554
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
555
  (Robert Collins)
 
556
 
102
557
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
558
  suboptimal network behaviour is noticed; instead it just mutters to the
104
559
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
566
  stripped, the prefix ``__doc__ =`` should now be used.
112
567
  (Martin <gzlist@googlemail.com>)
113
568
 
 
569
* No longer require zlib headers to build extensions, and remove the need
 
570
  for seperate copy of zlib library on windows.
 
571
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
572
 
114
573
Testing
115
574
*******
116
575
 
 
576
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
 
577
  our first in-tree matcher. See the module docstring for details.
 
578
  (Robert Collins)
 
579
 
117
580
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
118
581
   (Gordon Tyler, #551332)
119
582
 
121
584
  failures on Lucid, FreeBSD and gentoo.  
122
585
  (Vincent Ladeuil, #528436)
123
586
 
 
587
* New class ``ExecutableFeature`` for checking the availability of
 
588
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
589
  (Martin von Gagern)
 
590
 
124
591
bzr 2.2b2
125
592
#########
126
593
 
180
647
* Reset ``siginterrupt`` flag to False every time we handle a signal
181
648
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
182
649
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
183
 
  errors after two window resizes.
 
650
  errors compared to registering ``signal.signal`` directly.
184
651
  (Andrew Bennetts)
185
652
 
186
653
* When invoked with a range revision, ``bzr log`` doesn't show revisions
228
695
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
229
696
  ``get_trees_and_branches_to_diff_locked`` instead.
230
697
  (Andrew Bennetts)
 
698
 
 
699
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
700
  auto-determines branch nick if not supplied.  (Aaron Bentley)
231
701
  
232
702
Internals
233
703
*********
238
708
  Command is now transient and only exists for the duration of ``run()``.
239
709
  (Robert Collins)
240
710
 
241
 
bzr 2.2.0b1
242
 
###########
243
 
 
244
 
:2.2.0b1: 2010-04-01
 
711
bzr 2.2b1
 
712
#########
 
713
 
 
714
:2.2b1: 2010-04-01
 
715
 
 
716
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
717
release in July or August.  Beta releases are suitable for everyday use
 
718
but may cause some incompatibilities with plugins.  Some plugins may need
 
719
small updates to work with 2.2b1.
 
720
 
 
721
2.2b1 includes some changes to make merge conflicts easier to understand
 
722
and resolve.  It also removes some old unnecessary code, and loads
 
723
somewhat less code at startup.  It starts adding a common infrastructure
 
724
for dealing with colocated named branches, which can be implemented in
 
725
various ways in either bzr native or foreign formats.   On Ubuntu and
 
726
other platforms with the apport bug-reporting library, there's an easier
 
727
path to report problems with bzr.  We plan to continue with these themes
 
728
through the 2.2 series.
 
729
 
 
730
Over thirty bugs have been fixed, including in the log command, exporting
 
731
to tarballs, restarting interrupted system calls, portability of compiled
 
732
extensions, making backups during upgrade, and locking on ftp.
245
733
 
246
734
Compatibility Breaks
247
735
********************
523
1011
  happens, and another warning will be written if the log file could not
524
1012
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
525
1013
 
 
1014
bzr 2.1.3
 
1015
#########
 
1016
 
 
1017
:Codename: Do run run
 
1018
:2.1.3: NOT RELEASED YET
 
1019
 
 
1020
Compatibility Breaks
 
1021
********************
 
1022
 
 
1023
New Features
 
1024
************
 
1025
 
 
1026
Bug Fixes
 
1027
*********
 
1028
 
 
1029
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
1030
  way which should help avoid problems with concurrent writers.
 
1031
  (Vincent Ladeuil, #525571)
 
1032
 
 
1033
* Don't traceback trying to unversion children files of an already
 
1034
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1035
 
 
1036
* Raise ValueError instead of a string exception.
 
1037
  (John Arbash Meinel, #586926)
 
1038
 
 
1039
Improvements
 
1040
************
 
1041
 
 
1042
Documentation
 
1043
*************
 
1044
 
 
1045
API Changes
 
1046
***********
 
1047
 
 
1048
Internals
 
1049
*********
 
1050
 
 
1051
Testing
 
1052
*******
 
1053
 
526
1054
bzr 2.1.2
527
1055
#########
528
1056
 
529
 
:2.1.2: NOT RELEASED YET
 
1057
:2.1.2: 2010-05-28
 
1058
 
 
1059
This release fixes two critical networking issues with older servers and
 
1060
with interrupted system call errors when pushing or pulling.  We recommend
 
1061
upgrading to anyone running a 2.1.x version of bzr.
530
1062
 
531
1063
Bug Fixes
532
1064
*********
533
1065
 
 
1066
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1067
  support of bzr-externals and scmproj plugins.
 
1068
  (Alexander Belchenko, bug #572098)
 
1069
 
534
1070
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
535
1071
  (Aaron Bentley, #559436)
536
1072
 
 
1073
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1074
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1075
  problems that occur on POSIX with all currently released versions of
 
1076
  Python.
 
1077
  (Andrew Bennetts, #583941)
 
1078
 
537
1079
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
538
1080
  versions before 1.6.
539
1081
  (Andrew Bennetts, #528041)
541
1083
* Reset ``siginterrupt`` flag to False every time we handle a signal
542
1084
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
543
1085
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
544
 
  errors after two window resizes.
 
1086
  errors compared to registering ``signal.signal`` directly.
545
1087
  (Andrew Bennetts)
546
1088
 
 
1089
* Reduce peak memory by one copy of compressed text.
 
1090
  (John Arbash Meinel, #566940)
 
1091
 
 
1092
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1093
  (John Arbash Meinel, #582656)
 
1094
 
 
1095
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1096
  directory file handle after the chdir fails. Otherwise when passing many
 
1097
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1098
  (John Arbash Meinel, #583486)
 
1099
 
547
1100
Internals
548
1101
*********
549
1102
 
993
1546
  permissions as ``.bzr`` directory on a POSIX OS.
994
1547
  (Parth Malwankar, #262450)
995
1548
 
 
1549
* Don't traceback trying to unversion children files of an already
 
1550
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1551
 
 
1552
* Raise ValueError instead of a string exception.
 
1553
  (John Arbash Meinel, #586926)
 
1554
 
 
1555
* Reduce peak memory by one copy of compressed text.
 
1556
  (John Arbash Meinel, #566940)
 
1557
 
996
1558
* Repositories accessed via a smart server now reject being stacked on a
997
1559
  repository in an incompatible format, as is the case when accessing them
998
1560
  via other methods.  This was causing fetches from those repositories via
999
1561
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1000
1562
  (Andrew Bennetts, #562380)
1001
1563
 
 
1564
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1565
  error. This error was caused by 2.0 not being updated when upstream
 
1566
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1567
  ``done``. (Robert Collins, #571437)
 
1568
 
 
1569
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1570
  directory file handle after the chdir fails. Otherwise when passing many
 
1571
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1572
  (John Arbash Meinel, #583486)
 
1573
 
 
1574
 
1002
1575
bzr 2.0.5
1003
1576
#########
1004
1577
 
3698
4271
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3699
4272
 
3700
4273
* 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,
 
4274
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4275
  machines work, other platforms need patches submitted. (Robert Collins,
3703
4276
  Vincent Ladeuil)
3704
4277
 
3705
4278
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
6453
7026
 
6454
7027
* bzr main script cannot be imported (Benjamin Peterson)
6455
7028
 
6456
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
7029
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6457
7030
  directory. (Toshio Kuratomi)
6458
7031
 
6459
7032
* The ``set_rh`` branch hook is now deprecated. Please migrate
6796
7369
 
6797
7370
* BZR_LOG environment variable controls location of .bzr.log trace file.
6798
7371
  User can suppress writing messages to .bzr.log by using '/dev/null'
6799
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7372
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6800
7373
  is not defined but BZR_HOME is defined then default location
6801
7374
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6802
7375
  (Alexander Belchenko, #106117)