/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: Gary van der Merwe
  • Date: 2010-08-02 19:56:52 UTC
  • mfrom: (5050.3.18 2.2)
  • mto: (5050.3.19 2.2)
  • mto: This revision was merged to the branch mainline in revision 5371.
  • Revision ID: garyvdm@gmail.com-20100802195652-o1ppjemhwrr98i61
MergeĀ lp:bzr/2.2.

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