/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-08-13 08:09:53 UTC
  • mto: (5050.17.6 2.2)
  • mto: This revision was merged to the branch mainline in revision 5379.
  • Revision ID: mbp@sourcefrog.net-20100813080953-c00cm9l3qgu2flj9
Remove spuriously-resurrected test

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