~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Jelmer Vernooij
  • Date: 2010-08-02 14:14:13 UTC
  • mto: This revision was merged to the branch mainline in revision 5389.
  • Revision ID: jelmer@samba.org-20100802141413-z1bti7u0mtwdx1i6
Docstrings.

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