/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-23 17:51:17 UTC
  • mto: This revision was merged to the branch mainline in revision 5390.
  • Revision ID: john@arbash-meinel.com-20100823175117-hr3b7p8gkw4ap8bb
Change the _test names to _get and _py so that it doesn't provoke bad smells :)

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
* BzrError subclasses no longer support the name "message" to be used
 
18
  as an argument for __init__ or in _fmt format specification as this
 
19
  breaks in some Python versions. errors.LockError.__init__ argument
 
20
  is now named "msg" instead of earlier "message".
 
21
  (Parth Malwankar, #603461)
 
22
 
 
23
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
 
24
  longer raised.
 
25
  (Martin Pool)
 
26
 
 
27
* `tree_files` and `internal_tree_files` are now deprecated in favor of
 
28
  `WorkingTree.open_containing_paths`.
 
29
  (Martin Pool)
 
30
 
 
31
* The old ``bzr selftest --benchmark`` option has been removed.
 
32
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
33
  macrobenchmark suite.
 
34
  (Martin Pool)
 
35
 
 
36
New Features
 
37
************
 
38
 
 
39
* The ``lp:`` prefix will now use your known username (from
 
40
  ``bzr launchpad-login``) to expand ``~`` to your username.  For example:
 
41
  ``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
 
42
  push to ``lp:~user/project/branch``.  (John Arbash Meinel)
 
43
 
 
44
Bug Fixes
 
45
*********
 
46
 
 
47
* Check if both --diff-options and --using are set, and exit with error
 
48
  in this case. (Matthäus G. Chajdas, #234708)
 
49
 
 
50
* Don't print internal object name when print an invalid revision spec
 
51
  error.  (Neil Martinsen-Burrell, #598701)
 
52
 
 
53
* ``HTTP/1.1` test servers now set a ``Content-Length`` header to comply
 
54
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
55
 
 
56
* `PathNotChild` should not give a traceback.
 
57
  (Martin Pool, #98735)
 
58
 
 
59
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
60
  which can result in "missing referenced chk root keys" errors when
 
61
  fetching from repositories with affected revisions.
 
62
  (Andrew Bennetts, #522637)
 
63
 
 
64
* ``Transport.stat`` on a symlink, including a transport pointing directly
 
65
  to a symlink, now returns information about the symlink.
 
66
  (Martin Pool)
 
67
 
 
68
Improvements
 
69
************
 
70
 
 
71
* When building new working trees, default to reading from the repository
 
72
  rather than the source tree unless explicitly requested. (via
 
73
  ``--files-from`` and ``--hardlink`` for ``bzr branch`` and
 
74
  ``bzr checkout``. Generally, 2a format repositories extract
 
75
  content faster than seeking and reading content from another tree,
 
76
  especially in cold-cache situations. (John Arbash Meinel, #607298)
 
77
 
 
78
Documentation
 
79
*************
 
80
 
 
81
API Changes
 
82
***********
 
83
 
 
84
Internals
 
85
*********
 
86
 
 
87
Testing
 
88
*******
 
89
 
 
90
 
 
91
bzr 2.2rc1
 
92
##########
 
93
 
 
94
:Codename: ???
 
95
:2.2rc1: NOT RELEASED YET
 
96
 
 
97
Compatibility Breaks
 
98
********************
 
99
 
 
100
* BzrError subclasses no longer support the name "message" to be used
 
101
  as an argument for __init__ or in _fmt format specification as this
 
102
  breaks in some Python versions. errors.LockError.__init__ argument
 
103
  is now named "msg" instead of earlier "message".
 
104
  (Parth Malwankar, #603461)
 
105
 
 
106
* The old ``bzr selftest --benchmark`` option has been removed.
 
107
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
108
  macrobenchmark suite.
 
109
  (Martin Pool)
 
110
 
 
111
New Features
 
112
************
 
113
 
 
114
Bug Fixes
 
115
*********
 
116
 
 
117
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
118
  ``InvalidPattern`` exception error message now shows faulting
 
119
  regular expression.
 
120
  (Parth Malwankar #300062)
 
121
 
 
122
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
123
  way which should help avoid problems with concurrent writers.
 
124
  (Vincent Ladeuil, #525571)
 
125
 
 
126
* Don't traceback trying to unversion children files of an already
 
127
  unversioned directory.  (Vincent Ladeuil, #494221)
 
128
 
 
129
Improvements
 
130
************
 
131
 
 
132
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
133
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
134
 
 
135
Documentation
 
136
*************
 
137
 
 
138
* ``bzr help patterns`` now explains case insensitive patterns and
 
139
  points to Python regular expression documentation.
 
140
  (Parth Malwankar, #594386)
 
141
 
 
142
API Changes
 
143
***********
 
144
 
 
145
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
146
 
 
147
Internals
 
148
*********
 
149
 
 
150
Testing
 
151
*******
 
152
 
 
153
* Unit test added to ensure that "message" is not uses as a format variable
 
154
  name in BzrError subclasses as this conflicts with some Python versions.
 
155
  (Parth Malwankar, #603461)
 
156
 
 
157
bzr 2.2b4
 
158
#########
 
159
 
 
160
:Codename: Monkey Magic
 
161
:2.2b4: 2004-07-09
 
162
 
 
163
 
 
164
This fourth and final beta in the 2.2 series now stabilizes the internal
 
165
APIs. Plugin authors are recommended to ensure their releases are
 
166
compatible, so that 2.2rc1 can be a true release candidate, containing
 
167
stable and compatible plugin versions. 
 
168
 
 
169
For users of bzrlib as a library, one of the primary changes is to request
 
170
that they call ``bzrlib.initialize`` and use the returned context manager
 
171
appropriately.
 
172
 
 
173
Better interaction with ``bzr-loom`` to make sure branching from a loom
 
174
even over a smart server still yields a local loom. Not to mention lots of
 
175
bugfixes over 2.2b3.
 
176
 
 
177
Compatibility Breaks
 
178
********************
 
179
 
 
180
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
181
  the result of ``bzrlib.initialize``. This change was made when fixing
 
182
  the bad habit recent bzr versions have had of leaving progress bars 
 
183
  behind on the screen. That required calling another function before
 
184
  exiting the program, and it made sense to provide a full context
 
185
  manager at the same time. (Robert Collins)
 
186
 
 
187
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
188
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
189
  is such a manager, but third party UI factories which do not derive from
 
190
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
191
  end.
 
192
 
 
193
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
194
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
195
  scheme.  Previously these URLs would be treated as local paths.
 
196
  (Gordon Tyler)
 
197
 
 
198
 
 
199
New Features
 
200
************
 
201
 
 
202
* Support ``--directory`` option for a number of additional commands:
 
203
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
204
  unshelve, whoami. (Martin von Gagern, #527878)
 
205
 
 
206
Bug Fixes
 
207
*********
 
208
 
 
209
* ``bzr branch`` to a new repository with a default stacking policy no
 
210
  longer transfers the full history unnecessarily.
 
211
  (Andrew Bennetts, #597942)
 
212
 
 
213
* ``bzr init`` does not recursively scan directory contents anymore
 
214
  leading to faster init for directories with existing content.
 
215
  (Martin [gz], Parth Malwankar, #501307)
 
216
 
 
217
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
218
  linear ancetries. (Vincent Ladeuil, #575631)
 
219
 
 
220
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
221
  rather than trying to fetch the data locally and failing because of a
 
222
  readonly error. (Martin von Gagern, #149270)
 
223
 
 
224
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
225
  or pull location in locations.conf or branch.conf.
 
226
  (Gordon Tyler, #534787)
 
227
 
 
228
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
229
  smart server. (Andrew Bennetts, #551525)
 
230
 
 
231
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
232
  (Marius Kruger, Robert Collins)
 
233
 
 
234
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
235
  (Marius Kruger, Robert Collins)
 
236
 
 
237
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
238
  proper error messages. (Vincent Ladeuil, #591215)
 
239
 
 
240
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
241
  arguments on Windows, because bzr script does the same.
 
242
  (Alexander Belchenko, #588277)
 
243
 
 
244
* Fetching was slightly confused about the best code to use and was
 
245
  using a new code path for all branches, resulting in more lookups than
 
246
  necessary on old branches. (Robert Collins, #593515)
 
247
 
 
248
* Final fix for 'no help for command' issue. We now show a clean message
 
249
  when a command has no help, document how to set help more clearly, and
 
250
  test that all commands available to the test suite have help.
 
251
  (Robert Collins, #177500)
 
252
 
 
253
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
 
254
  ``InvalidPattern`` exception showing clear error message to the user.
 
255
  (Parth Malwankar #300062)
 
256
 
 
257
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
258
 
 
259
* Raise ValueError instead of a string exception.
 
260
  (John Arbash Meinel, #586926)
 
261
 
 
262
* Relative imports in plugins are now handled correctly when using
 
263
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
264
 
 
265
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
266
  which previously caused "SyntaxError: No command for line".
 
267
  (Martin Pool)
 
268
 
 
269
* Show unicode filenames in diff headers using terminal encoding. 
 
270
  (Alexander Belchenko, Bug #382699)
 
271
  NOTE for Windows users: If user need to save diff to file then user need to
 
272
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
273
  (e.g. ``chcp 1251`` for Russian Windows).
 
274
 
 
275
* URL displayed for use with ``break-lock`` when smart server sees lock
 
276
  contention are now valid. Default timeout for lock contention retry is
 
277
  now 30 seconds instead of 300 seconds.
 
278
  (Parth Malwankar, #250451)
 
279
 
 
280
* ``walkdirs`` now raises a useful message when the filenames are not using
 
281
  the filesystem encoding. (Eric Moritz, #488519)
 
282
 
 
283
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
284
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
285
  command line we get to be the same length as sys.argv.
 
286
  (Jason Spashett, Alexander Belchenko, #587868)
 
287
 
 
288
Improvements
 
289
************
 
290
 
 
291
* Bazaar now reads data from SSH connections more efficiently on platforms
 
292
  that provide the ``socketpair`` function, and when using paramiko.
 
293
  (Andrew Bennetts, #590637)
 
294
 
 
295
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
296
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
297
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
298
  (Robert Collins, #201613)
 
299
 
 
300
* ``Branch`` formats can now be loaded lazily by registering a
 
301
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
302
  cause the named format class to be loaded only when an enumeration of
 
303
  formats is needed or when the format string for the object is
 
304
  encountered. (Robert Collins, Jelmer Vernooij)
 
305
 
 
306
* The encoding that bzr uses to output things other than file content can
 
307
  now be overridden via the output_encoding configuration option.
 
308
  (Martin Pool, #340394)
 
309
 
 
310
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
311
  do not cause modules to be loaded unnecessarily just because the plugin
 
312
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
313
  in a default installation (with just the core plugins).
 
314
  (Andrew Bennetts)
 
315
 
 
316
Documentation
 
317
*************
 
318
 
 
319
* Added ``regression`` tag to our tags list. (Robert Collins)
 
320
 
 
321
* Improved our release checklist to have a bit less churn and leave things
 
322
  ready-to-go for the next action (including other people doing
 
323
  development). (Robert Collins)
 
324
 
 
325
* Remove obsolete discussion of PQM in documentation about how to
 
326
  contribute to Bazaar.  (Martin Pool, #588444)
 
327
 
 
328
API Changes
 
329
***********
 
330
 
 
331
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
332
  an iterable of format pairs, rather than just a single pair, permitting
 
333
  InterBranch objects that work with multiple permutations to be
 
334
  comprehensively tested. (Robert Collins)
 
335
 
 
336
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
337
  profiles when concurrent profile requests are made. Instead the profile
 
338
  requests will be serialised. Reentrant requests will now deadlock.
 
339
  (Robert Collins)
 
340
 
 
341
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
342
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
343
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
344
 
 
345
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
 
346
  ``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
 
347
  case the default error message not suitable for the use case.
 
348
  (Parth Malwankar)
 
349
 
 
350
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
351
  one method ``check_output``, and we now recommend checking command
 
352
  output using ``run_script``. (Martin Pool)
 
353
 
 
354
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
355
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
356
  Third-party implementations of ``SSHVendor`` may need to be updated
 
357
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
358
  need to be updated.  (Andrew Bennetts)
 
359
 
 
360
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
361
  changed to take an ``SSHParams`` instance (replacing many individual
 
362
  values).  (Andrew Bennetts)
 
363
 
 
364
Internals
 
365
*********
 
366
 
 
367
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
368
  selection when explicitly requested; this avoids many duplicate calls
 
369
  being logged when helpers, wrappers and older code that manually calls
 
370
  it are executed it is now logged deliberately by the ui setup code.
 
371
  (Robert Collins)
 
372
 
 
373
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
374
 
 
375
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
376
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
377
  accurate results. (Andrew Bennetts)
 
378
 
 
379
* The symbol_versioning module can now cleanup after itself -
 
380
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
381
  (Robert Collins)
 
382
 
 
383
Testing
 
384
*******
 
385
 
 
386
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
387
  to test.  (Martin Pool)
 
388
 
 
389
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
390
  (Vincent Ladeuil, #595587)
 
391
 
8
392
bzr 2.2b3
9
393
#########
10
394
 
11
 
:2.2b3: NOT RELEASED YET
 
395
:2.2b3: 2010-05-28
 
396
 
 
397
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
398
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
399
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
400
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
401
bash completion script and bzr will no longer guess at identity details -
 
402
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
403
For developers we have some API changes which may impact plugins as well
 
404
as a bunch of our regular improvements to internal clarity and test
 
405
support.
12
406
 
13
407
Compatibility Breaks
14
408
********************
15
409
 
 
410
* An API break has been made to the lock_write method of ``Branch`` and
 
411
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
412
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
413
  changing the API in future easier and permits some cleaner calling code.
 
414
  The lock_read method has also changed from having no defined return
 
415
  value to returning ``LogicalLockResult`` objects.
 
416
  (Robert Collins)
 
417
 
 
418
* ``bzr`` does not try to guess the username as ``username@hostname``
 
419
  and requires it to be explictly set. This can be set using ``bzr
 
420
  whoami``. (Parth Malwankar, #549310)
 
421
 
 
422
* ``bzrlib.commands.Command`` will now raise ValueError during
 
423
  construction if there is no __doc__ set. (Note, this will be reverted in
 
424
  2.2b4) (Robert Collins)
 
425
 
 
426
* The source tree no longer contains a contrib/zsh/_bzr completion
 
427
  script. The new file contrib/zsh/README suggests alternatives.
 
428
  (Martin von Gagern, #560030)
 
429
 
16
430
New Features
17
431
************
18
432
 
30
444
  pack operation.
31
445
  (Parth Malwankar, #304320)
32
446
 
 
447
* New command line option ``--authors`` to ``bzr log`` allows users to
 
448
  select which of the apparent authors and committer should be
 
449
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
450
 
 
451
* Support ``--directory`` option for a number of additional commands:
 
452
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
453
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
454
  re-sign, unbind, unknowns.
 
455
  (Martin von Gagern, #527878)
 
456
 
 
457
* The bash_completion plugin from the bzr-bash-completion project has
 
458
  been merged into the tree. It provides a bash-completion command and
 
459
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
460
  using the plugin. (Martin von Gagern, #560030)
 
461
 
 
462
* A new transport based on GIO (the gnome i/o library) provides access to
 
463
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
464
  use gio for some already existing transport methods as gio+file,
 
465
  gio+sftp, gio+ftp. 
 
466
  (Mattias Eriksson)
 
467
 
33
468
Bug Fixes
34
469
*********
35
470
 
 
471
* Alias information shown by ``bzr help`` is now accurate. This
 
472
  was showing an internal object name for some plugin aliases.
 
473
  (Parth Malwankar, #584650)
 
474
 
36
475
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
476
  group ownership from the containing directory. This allow bzr to work
38
477
  better with sudo.
39
478
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
479
 
 
480
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
481
  support of bzr-externals and scmproj plugins.
 
482
  (Alexander Belchenko, bug #572098)
 
483
 
 
484
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
485
  (Gordon Tyler, #572092)
 
486
 
41
487
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
488
  are part of Y ancestry but not part of X ancestry (aka the graph
43
489
  difference).
44
490
  (Vincent Ladeuil, #320119)
45
491
 
 
492
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
493
  servers a few commits ago has been reverted to use edge: there is a
 
494
  problem with using production which isn't trivially obvious, so we've
 
495
  filed a bug to track it, and until thats fixed will be using edge.
 
496
  (Robert Collins, #583667)
 
497
 
 
498
* ``bzr rm`` should not refuse to delete directories which contained a file
 
499
  which has been moved elsewhere in the tree after the previous commit.
 
500
  (Marius Kruger, Daniel Watkins, #129880)
 
501
 
46
502
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
503
  (Vincent Ladeuil, #566670)
48
504
 
49
505
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
506
  (Vincent Ladeuil, #563997)
51
507
 
 
508
* CommitBuilder refuses to create revisions whose trees have no root.
 
509
  (Aaron Bentley)
 
510
 
 
511
* Do not register a SIGWINCH signal handler, instead just poll for the
 
512
  terminal width as needed.  This avoids the "Interrupted System Call"
 
513
  problems that occur on POSIX with all currently released versions of
 
514
  Python.
 
515
  (Andrew Bennetts, #583941)
 
516
 
52
517
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
518
  (Vincent Ladeuil, #401599)
54
519
 
56
521
  versions before 1.6.
57
522
  (Andrew Bennetts, #528041)
58
523
 
 
524
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
525
  estimate of the number of records to be fetched vs actually fetched.
 
526
  (Parth Malwankar, #374740, #538868)
 
527
 
59
528
* Reduce peak memory by one copy of compressed text.
60
529
  (John Arbash Meinel, #566940)
61
530
 
 
531
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
532
  read lock, rather than causing an ``AttributeError``.
 
533
  (Andrew Bennetts, Данило Шеган, #582781)
 
534
 
 
535
* Selftest was failing with testtools 0.9.3, which caused an
 
536
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
537
  Error, breaking on of our test hygiene tests.
 
538
  (Robert Collins, Vincent Ladeuil).
 
539
 
 
540
* ``set_user_option`` with a dict on remote branches no longer fails with
 
541
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
542
  to support this efficiently.
 
543
  (Andrew Bennetts, #430382)
 
544
  
62
545
* Show the filenames when a file rename fails so that the error will be
63
546
  more comprehensible.
64
547
  (Martin Pool, #491763)
65
548
 
 
549
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
550
  (John Arbash Meinel, #582656)
 
551
 
 
552
* Unicode characters in aliases are now handled correctly and do not cause
 
553
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
554
 
 
555
* Unicode commit messages that are the same as a file name no longer cause
 
556
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
557
  messages.
 
558
  (Parth Malwankar, #563646)
 
559
 
 
560
* Using bzr with `lp:` urls behind an http proxy should work.
 
561
  (Robert Collins, #558343)
 
562
 
 
563
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
564
  directory file handle after the chdir fails. Otherwise when passing many
 
565
  filenames into a command line ``bzr status`` we would leak descriptors.
 
566
  (John Arbash Meinel, #583486)
 
567
 
66
568
Improvements
67
569
************
68
570
 
74
576
  (case-sensitive) as false.
75
577
  (Brian de Alwis, Vincent Ladeuil)
76
578
 
 
579
* ``bzr ls`` now supports short options for existing long options.
 
580
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
581
  (Parth Malwankar, #181124)
 
582
 
77
583
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
584
  be interpreted as a boolean.
79
585
  (Vincent Ladeuil)
80
586
 
 
587
* The all-in-one Windows installer will now be built with docstrings stripped
 
588
  from the library zip, reducing the size and slightly improving cold startup
 
589
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
590
  plugins to an all-in-one installation, ensure they are compiled and
 
591
  installed with -O1 or help may not work. (Martin [gz])
 
592
 
81
593
Documentation
82
594
*************
83
595
 
 
596
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
 
597
  to make the tests conditional.
 
598
  (Vincent Ladeuil)
 
599
 
 
600
* Added a builder/writer sphinx extension that can generate texinfo files. The
 
601
  generated files are syntactically correct but the info navigation nodes
 
602
  needs more work. (Vincent Ladeuil, #219334)
 
603
 
84
604
API Changes
85
605
***********
86
606
 
96
616
  implementations.
97
617
  (Martin Pool)
98
618
 
 
619
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
620
  expected to return an object which can be used to unlock them. This reduces
 
621
  duplicate code when using cleanups. The previous 'tokens's returned by
 
622
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
623
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
624
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
625
 
 
626
* ``Repository.refresh_data`` may now be called in a write group on
 
627
  pack-based repositories.  Older repositories will still raise an error
 
628
  in this case.  Subclasses of ``Repository`` can still override
 
629
  ``Repository._refresh_data``, but are now responsible for raising
 
630
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
631
  ``refresh_data`` during a write group.
 
632
  (Andrew Bennetts, #574236)
 
633
 
99
634
Internals
100
635
*********
101
636
 
 
637
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
638
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
639
  potentially shave 5-10% time off during a large fetch. Related to bug
 
640
  #562666. (John Arbash Meinel)
 
641
 
 
642
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
643
  (Robert Collins)
 
644
 
102
645
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
646
  suboptimal network behaviour is noticed; instead it just mutters to the
104
647
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
654
  stripped, the prefix ``__doc__ =`` should now be used.
112
655
  (Martin <gzlist@googlemail.com>)
113
656
 
 
657
* No longer require zlib headers to build extensions, and remove the need
 
658
  for seperate copy of zlib library on windows.
 
659
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
660
 
114
661
Testing
115
662
*******
116
663
 
125
672
  failures on Lucid, FreeBSD and gentoo.  
126
673
  (Vincent Ladeuil, #528436)
127
674
 
 
675
* New class ``ExecutableFeature`` for checking the availability of
 
676
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
677
  (Martin von Gagern)
 
678
 
128
679
bzr 2.2b2
129
680
#########
130
681
 
184
735
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
736
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
737
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
738
  errors compared to registering ``signal.signal`` directly.
188
739
  (Andrew Bennetts)
189
740
 
190
741
* When invoked with a range revision, ``bzr log`` doesn't show revisions
232
783
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
784
  ``get_trees_and_branches_to_diff_locked`` instead.
234
785
  (Andrew Bennetts)
 
786
 
 
787
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
788
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
789
  
236
790
Internals
237
791
*********
242
796
  Command is now transient and only exists for the duration of ``run()``.
243
797
  (Robert Collins)
244
798
 
245
 
bzr 2.2.0b1
246
 
###########
247
 
 
248
 
:2.2.0b1: 2010-04-01
 
799
bzr 2.2b1
 
800
#########
 
801
 
 
802
:2.2b1: 2010-04-01
 
803
 
 
804
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
805
release in July or August.  Beta releases are suitable for everyday use
 
806
but may cause some incompatibilities with plugins.  Some plugins may need
 
807
small updates to work with 2.2b1.
 
808
 
 
809
2.2b1 includes some changes to make merge conflicts easier to understand
 
810
and resolve.  It also removes some old unnecessary code, and loads
 
811
somewhat less code at startup.  It starts adding a common infrastructure
 
812
for dealing with colocated named branches, which can be implemented in
 
813
various ways in either bzr native or foreign formats.   On Ubuntu and
 
814
other platforms with the apport bug-reporting library, there's an easier
 
815
path to report problems with bzr.  We plan to continue with these themes
 
816
through the 2.2 series.
 
817
 
 
818
Over thirty bugs have been fixed, including in the log command, exporting
 
819
to tarballs, restarting interrupted system calls, portability of compiled
 
820
extensions, making backups during upgrade, and locking on ftp.
249
821
 
250
822
Compatibility Breaks
251
823
********************
527
1099
  happens, and another warning will be written if the log file could not
528
1100
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
529
1101
 
 
1102
bzr 2.1.3
 
1103
#########
 
1104
 
 
1105
:Codename: Do run run
 
1106
:2.1.3: NOT RELEASED YET
 
1107
 
 
1108
Compatibility Breaks
 
1109
********************
 
1110
 
 
1111
New Features
 
1112
************
 
1113
 
 
1114
Bug Fixes
 
1115
*********
 
1116
 
 
1117
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
1118
  ``InvalidPattern`` exception error message now shows faulting
 
1119
  regular expression.
 
1120
  (Parth Malwankar #300062)
 
1121
 
 
1122
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
1123
  way which should help avoid problems with concurrent writers.
 
1124
  (Vincent Ladeuil, #525571)
 
1125
 
 
1126
* Don't traceback trying to unversion children files of an already
 
1127
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1128
 
 
1129
* ``HTTP/1.1` test servers now set a ``Content-Length`` header to comply
 
1130
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
1131
 
 
1132
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1133
  which can result in "missing referenced chk root keys" errors when
 
1134
  fetching from repositories with affected revisions.
 
1135
  (Andrew Bennetts, #522637)
 
1136
 
 
1137
* Progress bars prefer to truncate the text message rather than the
 
1138
  counters.  The spinner is shown between the network transfer indicator
 
1139
  and the progress message.  (Martin Pool)
 
1140
 
 
1141
* Raise ValueError instead of a string exception.
 
1142
  (John Arbash Meinel, #586926)
 
1143
 
 
1144
* Recursive binding for checkouts is now detected by bzr. A clear error
 
1145
  message is shown to the user. (Parth Malwankar, #405192)
 
1146
 
 
1147
Improvements
 
1148
************
 
1149
 
 
1150
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
1151
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
1152
 
 
1153
Documentation
 
1154
*************
 
1155
 
 
1156
* ``bzr help patterns`` now explains case insensitive patterns and
 
1157
  points to Python regular expression documentation.
 
1158
  (Parth Malwankar, #594386)
 
1159
 
 
1160
API Changes
 
1161
***********
 
1162
 
 
1163
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
1164
 
 
1165
Internals
 
1166
*********
 
1167
 
 
1168
Testing
 
1169
*******
 
1170
 
 
1171
* Unit test added to ensure that "message" is not uses as a format variable
 
1172
  name in BzrError subclasses as this conflicts with some Python versions.
 
1173
  (Parth Malwankar, #603461)
 
1174
 
530
1175
bzr 2.1.2
531
1176
#########
532
1177
 
533
 
:2.1.2: NOT RELEASED YET
 
1178
:2.1.2: 2010-05-28
 
1179
 
 
1180
This release fixes two critical networking issues with older servers and
 
1181
with interrupted system call errors when pushing or pulling.  We recommend
 
1182
upgrading to anyone running a 2.1.x version of bzr.
534
1183
 
535
1184
Bug Fixes
536
1185
*********
537
1186
 
 
1187
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1188
  support of bzr-externals and scmproj plugins.
 
1189
  (Alexander Belchenko, bug #572098)
 
1190
 
538
1191
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
1192
  (Aaron Bentley, #559436)
540
1193
 
 
1194
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1195
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1196
  problems that occur on POSIX with all currently released versions of
 
1197
  Python.
 
1198
  (Andrew Bennetts, #583941)
 
1199
 
541
1200
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
1201
  versions before 1.6.
543
1202
  (Andrew Bennetts, #528041)
545
1204
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
1205
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
1206
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
 
1207
  errors compared to registering ``signal.signal`` directly.
549
1208
  (Andrew Bennetts)
550
1209
 
 
1210
* Reduce peak memory by one copy of compressed text.
 
1211
  (John Arbash Meinel, #566940)
 
1212
 
 
1213
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1214
  (John Arbash Meinel, #582656)
 
1215
 
 
1216
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1217
  directory file handle after the chdir fails. Otherwise when passing many
 
1218
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1219
  (John Arbash Meinel, #583486)
 
1220
 
551
1221
Internals
552
1222
*********
553
1223
 
989
1659
  history no longer crash when deleted files are involved.
990
1660
  (Vincent Ladeuil, John Arbash Meinel, #375898)
991
1661
 
 
1662
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
1663
  target of the symlink.
 
1664
  (Martin Pool, John Arbash Meinel, #128562)
 
1665
 
992
1666
* ``bzr revert`` now only takes write lock on working tree, instead of on 
993
1667
  both working tree and branch.
994
1668
  (Danny van Heumen, #498409)
997
1671
  permissions as ``.bzr`` directory on a POSIX OS.
998
1672
  (Parth Malwankar, #262450)
999
1673
 
 
1674
* Don't traceback trying to unversion children files of an already
 
1675
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1676
 
 
1677
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1678
  which can result in "missing referenced chk root keys" errors when
 
1679
  fetching from repositories with affected revisions.
 
1680
  (Andrew Bennetts, #522637)
 
1681
 
 
1682
* Raise ValueError instead of a string exception.
 
1683
  (John Arbash Meinel, #586926)
 
1684
 
 
1685
* Reduce peak memory by one copy of compressed text.
 
1686
  (John Arbash Meinel, #566940)
 
1687
 
1000
1688
* Repositories accessed via a smart server now reject being stacked on a
1001
1689
  repository in an incompatible format, as is the case when accessing them
1002
1690
  via other methods.  This was causing fetches from those repositories via
1003
1691
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1692
  (Andrew Bennetts, #562380)
1005
1693
 
 
1694
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1695
  error. This error was caused by 2.0 not being updated when upstream
 
1696
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1697
  ``done``. (Robert Collins, #571437)
 
1698
 
 
1699
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1700
  directory file handle after the chdir fails. Otherwise when passing many
 
1701
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1702
  (John Arbash Meinel, #583486)
 
1703
 
 
1704
 
 
1705
Testing
 
1706
*******
 
1707
 
 
1708
* ``build_tree_contents`` can create symlinks.
 
1709
  (Martin Pool, John Arbash Meinel)
 
1710
 
 
1711
 
1006
1712
bzr 2.0.5
1007
1713
#########
1008
1714
 
3702
4408
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3703
4409
 
3704
4410
* 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,
 
4411
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4412
  machines work, other platforms need patches submitted. (Robert Collins,
3707
4413
  Vincent Ladeuil)
3708
4414
 
3709
4415
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
6457
7163
 
6458
7164
* bzr main script cannot be imported (Benjamin Peterson)
6459
7165
 
6460
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
7166
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6461
7167
  directory. (Toshio Kuratomi)
6462
7168
 
6463
7169
* The ``set_rh`` branch hook is now deprecated. Please migrate
6800
7506
 
6801
7507
* BZR_LOG environment variable controls location of .bzr.log trace file.
6802
7508
  User can suppress writing messages to .bzr.log by using '/dev/null'
6803
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7509
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6804
7510
  is not defined but BZR_HOME is defined then default location
6805
7511
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6806
7512
  (Alexander Belchenko, #106117)