/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: John Arbash Meinel
  • Date: 2010-08-02 16:35:11 UTC
  • mto: This revision was merged to the branch mainline in revision 5369.
  • Revision ID: john@arbash-meinel.com-20100802163511-mb7oviwm3780iqa0
Use signed ints to avoid the compiler warning.

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