/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-11 01:31:11 UTC
  • mto: This revision was merged to the branch mainline in revision 5376.
  • Revision ID: john@arbash-meinel.com-20100811013111-wdrv1hp03kir7gf2
change slots back to a list.

It actually works the way it was written, but I assume it is some
sort of DWIM in the python code, so we'll try to be more standard
about it.

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
* Decrease peak memory during ``bzr send``. The old code was caching all
 
51
  text content and all inventory strings for all revisions before
 
52
  computing the diffs. Now we only cache as long as there is a child that
 
53
  will need them. Sending 2000 bzr revisions drops from 1.2GB peak to
 
54
  256MB peak. (John Arbash Meinel, #614576)
 
55
 
 
56
* Don't print internal object name when print an invalid revision spec
 
57
  error.  (Neil Martinsen-Burrell, #598701)
 
58
 
 
59
* ``HTTP/1.1` test servers now set a ``Content-Length`` header to comply
 
60
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
61
 
 
62
* `PathNotChild` should not give a traceback.
 
63
  (Martin Pool, #98735)
 
64
 
 
65
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
66
  which can result in "missing referenced chk root keys" errors when
 
67
  fetching from repositories with affected revisions.
 
68
  (Andrew Bennetts, #522637)
 
69
 
 
70
* ``Transport.stat`` on a symlink, including a transport pointing directly
 
71
  to a symlink, now returns information about the symlink.
 
72
  (Martin Pool)
 
73
 
 
74
Improvements
 
75
************
 
76
 
 
77
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
 
78
  have dropped from 68 bytes to 40, and directory entries from 120 bytes
 
79
  to 48).  (Andrew Bennetts)
 
80
 
 
81
* When building new working trees, default to reading from the repository
 
82
  rather than the source tree unless explicitly requested. (via
 
83
  ``--files-from`` and ``--hardlink`` for ``bzr branch`` and
 
84
  ``bzr checkout``. Generally, 2a format repositories extract
 
85
  content faster than seeking and reading content from another tree,
 
86
  especially in cold-cache situations. (John Arbash Meinel, #607298)
 
87
 
 
88
Documentation
 
89
*************
 
90
 
 
91
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
 
92
  to make the tests conditional.
 
93
  (Vincent Ladeuil)
 
94
 
 
95
* Added a builder/writer sphinx extension that can generate texinfo files. The
 
96
  generated files are syntactically correct but the info navigation nodes
 
97
  needs more work. (Vincent Ladeuil, #219334)
 
98
 
 
99
 
 
100
API Changes
 
101
***********
 
102
 
 
103
* InventoryEntry instances now raise AttributeError if you try to assign
 
104
  to attributes that are irrelevant to that kind of entry.  e.g. setting
 
105
  ``symlink_target`` on an InventoryFile will fail.  It is still okay to
 
106
  read those attributes on any kind of InventoryEntry.  The complete list
 
107
  of affected attributes is: ``executable``, ``text_id``, ``text_sha1``,
 
108
  ``text_size`` (only valid for kind == file); ``symlink_target`` (only
 
109
  valid for kind == link); and ``reference_revision`` (only valid for kind
 
110
  == tree-reference).  (Andrew Bennetts)
 
111
 
 
112
Internals
 
113
*********
 
114
 
 
115
Testing
 
116
*******
 
117
 
 
118
* The way ``bzr selftest --parallel`` generates N partitions of tests to
 
119
  run in parallel has changed.  Instead of splitting the list of tests at
 
120
  N-1 points, it distributes the tests one-by-one into the partitions in a
 
121
  round robin fashion.  This reduces the total time to run the tests in
 
122
  parallel because a series of slow tests in the test suite will be
 
123
  distributed evenly among the parallel test suites, rather than slowing
 
124
  down just one suite.  (Andrew Bennetts)
 
125
 
 
126
 
 
127
bzr 2.2
 
128
#######
 
129
 
 
130
:Codename: La Hulpe
 
131
:2.2: 2010-08-06
 
132
 
 
133
This release marks the start of another long-term-stable series. From
 
134
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
 
135
while 2.3 will become our new development series. The 2.0 and 2.1 series
 
136
will also continue to get bugfixes. (Currently 2.0 is planned to be
 
137
supported for another 6 months.)
 
138
 
 
139
This is primarily a bugfix and polish release over the 2.1 series, with
 
140
a large number of bugs fixed (>120), and some performance improvements.
 
141
 
 
142
There are some compatibility changes in this release.  For users of bzrlib
 
143
as a library, we now request that they call ``bzrlib.initialize`` and use
 
144
the returned context manager appropriately. For commandline users we no
 
145
longer guess user identity for ``bzr commit``, users must specify their
 
146
identity using ``bzr whoami`` (you don't need to specify your identity for
 
147
readonly operations).
 
148
 
 
149
Users are encouraged to upgrade from the other stable series.
 
150
 
 
151
Compatibility Breaks
 
152
********************
 
153
 
 
154
* BzrError subclasses no longer support the name "message" to be used
 
155
  as an argument for __init__ or in _fmt format specification as this
 
156
  breaks in some Python versions. errors.LockError.__init__ argument
 
157
  is now named "msg" instead of earlier "message".
 
158
  (Parth Malwankar, #603461)
 
159
 
 
160
* The old ``bzr selftest --benchmark`` option has been removed.
 
161
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
162
  macrobenchmark suite.
 
163
  (Martin Pool)
 
164
 
 
165
Bug Fixes
 
166
*********
 
167
 
 
168
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
169
  ``InvalidPattern`` exception error message now shows faulting
 
170
  regular expression.
 
171
  (Parth Malwankar #300062)
 
172
 
 
173
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
174
  way which should help avoid problems with concurrent writers.
 
175
  (Vincent Ladeuil, #525571)
 
176
 
 
177
* Don't traceback trying to unversion children files of an already
 
178
  unversioned directory.  (Vincent Ladeuil, #494221)
 
179
 
 
180
* ``HTTP/1.1` test servers now set a ``Content-Length`` header to comply
 
181
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
182
 
 
183
* Progress bars prefer to truncate the text message rather than the
 
184
  counters.  The spinner is shown between the network transfer indicator
 
185
  and the progress message.  Progress bars are correctly cleared off when 
 
186
  they finish.  (Martin Pool, #611127)
 
187
 
 
188
* Recursive binding for checkouts is now detected by bzr. A clear error
 
189
  message is shown to the user. (Parth Malwankar, #405192)
 
190
 
 
191
Improvements
 
192
************
 
193
 
 
194
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
195
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
196
 
 
197
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
 
198
  GUI with out have a console open in the background.
 
199
  (Gary van der Merwe, #433781)
 
200
 
 
201
Documentation
 
202
*************
 
203
 
 
204
* ``bzr help patterns`` now explains case insensitive patterns and
 
205
  points to Python regular expression documentation.
 
206
  (Parth Malwankar, #594386)
 
207
 
 
208
API Changes
 
209
***********
 
210
 
 
211
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
212
 
 
213
Testing
 
214
*******
 
215
 
 
216
* Unit test added to ensure that "message" is not uses as a format variable
 
217
  name in BzrError subclasses as this conflicts with some Python versions.
 
218
  (Parth Malwankar, #603461)
 
219
 
 
220
bzr 2.2b4
 
221
#########
 
222
 
 
223
:Codename: Monkey Magic
 
224
:2.2b4: 2004-07-09
 
225
 
 
226
 
 
227
This fourth and final beta in the 2.2 series now stabilizes the internal
 
228
APIs. Plugin authors are recommended to ensure their releases are
 
229
compatible, so that 2.2rc1 can be a true release candidate, containing
 
230
stable and compatible plugin versions. 
 
231
 
 
232
For users of bzrlib as a library, one of the primary changes is to request
 
233
that they call ``bzrlib.initialize`` and use the returned context manager
 
234
appropriately.
 
235
 
 
236
Better interaction with ``bzr-loom`` to make sure branching from a loom
 
237
even over a smart server still yields a local loom. Not to mention lots of
 
238
bugfixes over 2.2b3.
 
239
 
 
240
Compatibility Breaks
 
241
********************
 
242
 
 
243
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
244
  the result of ``bzrlib.initialize``. This change was made when fixing
 
245
  the bad habit recent bzr versions have had of leaving progress bars 
 
246
  behind on the screen. That required calling another function before
 
247
  exiting the program, and it made sense to provide a full context
 
248
  manager at the same time. (Robert Collins)
 
249
 
 
250
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
251
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
252
  is such a manager, but third party UI factories which do not derive from
 
253
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
254
  end.
 
255
 
 
256
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
257
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
258
  scheme.  Previously these URLs would be treated as local paths.
 
259
  (Gordon Tyler)
 
260
 
 
261
 
 
262
New Features
 
263
************
 
264
 
 
265
* Support ``--directory`` option for a number of additional commands:
 
266
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
267
  unshelve, whoami. (Martin von Gagern, #527878)
 
268
 
 
269
Bug Fixes
 
270
*********
 
271
 
 
272
* ``bzr branch`` to a new repository with a default stacking policy no
 
273
  longer transfers the full history unnecessarily.
 
274
  (Andrew Bennetts, #597942)
 
275
 
 
276
* ``bzr init`` does not recursively scan directory contents anymore
 
277
  leading to faster init for directories with existing content.
 
278
  (Martin [gz], Parth Malwankar, #501307)
 
279
 
 
280
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
281
  linear ancetries. (Vincent Ladeuil, #575631)
 
282
 
 
283
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
284
  rather than trying to fetch the data locally and failing because of a
 
285
  readonly error. (Martin von Gagern, #149270)
 
286
 
 
287
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
288
  or pull location in locations.conf or branch.conf.
 
289
  (Gordon Tyler, #534787)
 
290
 
 
291
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
292
  smart server. (Andrew Bennetts, #551525)
 
293
 
 
294
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
295
  (Marius Kruger, Robert Collins)
 
296
 
 
297
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
298
  (Marius Kruger, Robert Collins)
 
299
 
 
300
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
301
  proper error messages. (Vincent Ladeuil, #591215)
 
302
 
 
303
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
304
  arguments on Windows, because bzr script does the same.
 
305
  (Alexander Belchenko, #588277)
 
306
 
 
307
* Fetching was slightly confused about the best code to use and was
 
308
  using a new code path for all branches, resulting in more lookups than
 
309
  necessary on old branches. (Robert Collins, #593515)
 
310
 
 
311
* Final fix for 'no help for command' issue. We now show a clean message
 
312
  when a command has no help, document how to set help more clearly, and
 
313
  test that all commands available to the test suite have help.
 
314
  (Robert Collins, #177500)
 
315
 
 
316
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
 
317
  ``InvalidPattern`` exception showing clear error message to the user.
 
318
  (Parth Malwankar #300062)
 
319
 
 
320
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
321
 
 
322
* Raise ValueError instead of a string exception.
 
323
  (John Arbash Meinel, #586926)
 
324
 
 
325
* Relative imports in plugins are now handled correctly when using
 
326
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
327
 
 
328
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
329
  which previously caused "SyntaxError: No command for line".
 
330
  (Martin Pool)
 
331
 
 
332
* Show unicode filenames in diff headers using terminal encoding. 
 
333
  (Alexander Belchenko, Bug #382699)
 
334
  NOTE for Windows users: If user need to save diff to file then user need to
 
335
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
336
  (e.g. ``chcp 1251`` for Russian Windows).
 
337
 
 
338
* URL displayed for use with ``break-lock`` when smart server sees lock
 
339
  contention are now valid. Default timeout for lock contention retry is
 
340
  now 30 seconds instead of 300 seconds.
 
341
  (Parth Malwankar, #250451)
 
342
 
 
343
* ``walkdirs`` now raises a useful message when the filenames are not using
 
344
  the filesystem encoding. (Eric Moritz, #488519)
 
345
 
 
346
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
347
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
348
  command line we get to be the same length as sys.argv.
 
349
  (Jason Spashett, Alexander Belchenko, #587868)
 
350
 
 
351
Improvements
 
352
************
 
353
 
 
354
* Bazaar now reads data from SSH connections more efficiently on platforms
 
355
  that provide the ``socketpair`` function, and when using paramiko.
 
356
  (Andrew Bennetts, #590637)
 
357
 
 
358
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
359
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
360
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
361
  (Robert Collins, #201613)
 
362
 
 
363
* ``Branch`` formats can now be loaded lazily by registering a
 
364
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
365
  cause the named format class to be loaded only when an enumeration of
 
366
  formats is needed or when the format string for the object is
 
367
  encountered. (Robert Collins, Jelmer Vernooij)
 
368
 
 
369
* The encoding that bzr uses to output things other than file content can
 
370
  now be overridden via the output_encoding configuration option.
 
371
  (Martin Pool, #340394)
 
372
 
 
373
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
374
  do not cause modules to be loaded unnecessarily just because the plugin
 
375
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
376
  in a default installation (with just the core plugins).
 
377
  (Andrew Bennetts)
 
378
 
 
379
Documentation
 
380
*************
 
381
 
 
382
* Added ``regression`` tag to our tags list. (Robert Collins)
 
383
 
 
384
* Improved our release checklist to have a bit less churn and leave things
 
385
  ready-to-go for the next action (including other people doing
 
386
  development). (Robert Collins)
 
387
 
 
388
* Remove obsolete discussion of PQM in documentation about how to
 
389
  contribute to Bazaar.  (Martin Pool, #588444)
 
390
 
 
391
API Changes
 
392
***********
 
393
 
 
394
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
395
  an iterable of format pairs, rather than just a single pair, permitting
 
396
  InterBranch objects that work with multiple permutations to be
 
397
  comprehensively tested. (Robert Collins)
 
398
 
 
399
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
400
  profiles when concurrent profile requests are made. Instead the profile
 
401
  requests will be serialised. Reentrant requests will now deadlock.
 
402
  (Robert Collins)
 
403
 
 
404
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
405
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
406
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
407
 
 
408
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
 
409
  ``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
 
410
  case the default error message not suitable for the use case.
 
411
  (Parth Malwankar)
 
412
 
 
413
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
414
  one method ``check_output``, and we now recommend checking command
 
415
  output using ``run_script``. (Martin Pool)
 
416
 
 
417
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
418
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
419
  Third-party implementations of ``SSHVendor`` may need to be updated
 
420
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
421
  need to be updated.  (Andrew Bennetts)
 
422
 
 
423
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
424
  changed to take an ``SSHParams`` instance (replacing many individual
 
425
  values).  (Andrew Bennetts)
 
426
 
 
427
Internals
 
428
*********
 
429
 
 
430
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
431
  selection when explicitly requested; this avoids many duplicate calls
 
432
  being logged when helpers, wrappers and older code that manually calls
 
433
  it are executed it is now logged deliberately by the ui setup code.
 
434
  (Robert Collins)
 
435
 
 
436
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
437
 
 
438
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
439
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
440
  accurate results. (Andrew Bennetts)
 
441
 
 
442
* The symbol_versioning module can now cleanup after itself -
 
443
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
444
  (Robert Collins)
 
445
 
 
446
Testing
 
447
*******
 
448
 
 
449
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
450
  to test.  (Martin Pool)
 
451
 
 
452
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
453
  (Vincent Ladeuil, #595587)
 
454
 
8
455
bzr 2.2b3
9
456
#########
10
457
 
11
 
:2.2b3: NOT RELEASED YET
 
458
:2.2b3: 2010-05-28
 
459
 
 
460
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
461
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
462
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
463
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
464
bash completion script and bzr will no longer guess at identity details -
 
465
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
466
For developers we have some API changes which may impact plugins as well
 
467
as a bunch of our regular improvements to internal clarity and test
 
468
support.
12
469
 
13
470
Compatibility Breaks
14
471
********************
15
472
 
 
473
* An API break has been made to the lock_write method of ``Branch`` and
 
474
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
475
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
476
  changing the API in future easier and permits some cleaner calling code.
 
477
  The lock_read method has also changed from having no defined return
 
478
  value to returning ``LogicalLockResult`` objects.
 
479
  (Robert Collins)
 
480
 
 
481
* ``bzr`` does not try to guess the username as ``username@hostname``
 
482
  and requires it to be explictly set. This can be set using ``bzr
 
483
  whoami``. (Parth Malwankar, #549310)
 
484
 
 
485
* ``bzrlib.commands.Command`` will now raise ValueError during
 
486
  construction if there is no __doc__ set. (Note, this will be reverted in
 
487
  2.2b4) (Robert Collins)
 
488
 
 
489
* The source tree no longer contains a contrib/zsh/_bzr completion
 
490
  script. The new file contrib/zsh/README suggests alternatives.
 
491
  (Martin von Gagern, #560030)
 
492
 
16
493
New Features
17
494
************
18
495
 
30
507
  pack operation.
31
508
  (Parth Malwankar, #304320)
32
509
 
 
510
* New command line option ``--authors`` to ``bzr log`` allows users to
 
511
  select which of the apparent authors and committer should be
 
512
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
513
 
 
514
* Support ``--directory`` option for a number of additional commands:
 
515
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
516
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
517
  re-sign, unbind, unknowns.
 
518
  (Martin von Gagern, #527878)
 
519
 
 
520
* The bash_completion plugin from the bzr-bash-completion project has
 
521
  been merged into the tree. It provides a bash-completion command and
 
522
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
523
  using the plugin. (Martin von Gagern, #560030)
 
524
 
 
525
* A new transport based on GIO (the gnome i/o library) provides access to
 
526
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
527
  use gio for some already existing transport methods as gio+file,
 
528
  gio+sftp, gio+ftp. 
 
529
  (Mattias Eriksson)
 
530
 
33
531
Bug Fixes
34
532
*********
35
533
 
 
534
* Alias information shown by ``bzr help`` is now accurate. This
 
535
  was showing an internal object name for some plugin aliases.
 
536
  (Parth Malwankar, #584650)
 
537
 
36
538
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
539
  group ownership from the containing directory. This allow bzr to work
38
540
  better with sudo.
39
541
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
542
 
 
543
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
544
  support of bzr-externals and scmproj plugins.
 
545
  (Alexander Belchenko, bug #572098)
 
546
 
 
547
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
548
  (Gordon Tyler, #572092)
 
549
 
41
550
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
551
  are part of Y ancestry but not part of X ancestry (aka the graph
43
552
  difference).
44
553
  (Vincent Ladeuil, #320119)
45
554
 
 
555
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
556
  servers a few commits ago has been reverted to use edge: there is a
 
557
  problem with using production which isn't trivially obvious, so we've
 
558
  filed a bug to track it, and until thats fixed will be using edge.
 
559
  (Robert Collins, #583667)
 
560
 
 
561
* ``bzr rm`` should not refuse to delete directories which contained a file
 
562
  which has been moved elsewhere in the tree after the previous commit.
 
563
  (Marius Kruger, Daniel Watkins, #129880)
 
564
 
46
565
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
566
  (Vincent Ladeuil, #566670)
48
567
 
49
568
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
569
  (Vincent Ladeuil, #563997)
51
570
 
 
571
* CommitBuilder refuses to create revisions whose trees have no root.
 
572
  (Aaron Bentley)
 
573
 
 
574
* Do not register a SIGWINCH signal handler, instead just poll for the
 
575
  terminal width as needed.  This avoids the "Interrupted System Call"
 
576
  problems that occur on POSIX with all currently released versions of
 
577
  Python.
 
578
  (Andrew Bennetts, #583941)
 
579
 
52
580
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
581
  (Vincent Ladeuil, #401599)
54
582
 
56
584
  versions before 1.6.
57
585
  (Andrew Bennetts, #528041)
58
586
 
 
587
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
588
  estimate of the number of records to be fetched vs actually fetched.
 
589
  (Parth Malwankar, #374740, #538868)
 
590
 
59
591
* Reduce peak memory by one copy of compressed text.
60
592
  (John Arbash Meinel, #566940)
61
593
 
 
594
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
595
  read lock, rather than causing an ``AttributeError``.
 
596
  (Andrew Bennetts, Данило Шеган, #582781)
 
597
 
 
598
* Selftest was failing with testtools 0.9.3, which caused an
 
599
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
600
  Error, breaking on of our test hygiene tests.
 
601
  (Robert Collins, Vincent Ladeuil).
 
602
 
 
603
* ``set_user_option`` with a dict on remote branches no longer fails with
 
604
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
605
  to support this efficiently.
 
606
  (Andrew Bennetts, #430382)
 
607
  
62
608
* Show the filenames when a file rename fails so that the error will be
63
609
  more comprehensible.
64
610
  (Martin Pool, #491763)
65
611
 
 
612
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
613
  (John Arbash Meinel, #582656)
 
614
 
 
615
* Unicode characters in aliases are now handled correctly and do not cause
 
616
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
617
 
 
618
* Unicode commit messages that are the same as a file name no longer cause
 
619
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
620
  messages.
 
621
  (Parth Malwankar, #563646)
 
622
 
 
623
* Using bzr with `lp:` urls behind an http proxy should work.
 
624
  (Robert Collins, #558343)
 
625
 
 
626
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
627
  directory file handle after the chdir fails. Otherwise when passing many
 
628
  filenames into a command line ``bzr status`` we would leak descriptors.
 
629
  (John Arbash Meinel, #583486)
 
630
 
66
631
Improvements
67
632
************
68
633
 
74
639
  (case-sensitive) as false.
75
640
  (Brian de Alwis, Vincent Ladeuil)
76
641
 
 
642
* ``bzr ls`` now supports short options for existing long options.
 
643
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
644
  (Parth Malwankar, #181124)
 
645
 
77
646
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
647
  be interpreted as a boolean.
79
648
  (Vincent Ladeuil)
80
649
 
81
 
Documentation
82
 
*************
 
650
* The all-in-one Windows installer will now be built with docstrings stripped
 
651
  from the library zip, reducing the size and slightly improving cold startup
 
652
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
653
  plugins to an all-in-one installation, ensure they are compiled and
 
654
  installed with -O1 or help may not work. (Martin [gz])
83
655
 
84
656
API Changes
85
657
***********
96
668
  implementations.
97
669
  (Martin Pool)
98
670
 
 
671
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
672
  expected to return an object which can be used to unlock them. This reduces
 
673
  duplicate code when using cleanups. The previous 'tokens's returned by
 
674
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
675
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
676
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
677
 
 
678
* ``Repository.refresh_data`` may now be called in a write group on
 
679
  pack-based repositories.  Older repositories will still raise an error
 
680
  in this case.  Subclasses of ``Repository`` can still override
 
681
  ``Repository._refresh_data``, but are now responsible for raising
 
682
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
683
  ``refresh_data`` during a write group.
 
684
  (Andrew Bennetts, #574236)
 
685
 
99
686
Internals
100
687
*********
101
688
 
 
689
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
690
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
691
  potentially shave 5-10% time off during a large fetch. Related to bug
 
692
  #562666. (John Arbash Meinel)
 
693
 
 
694
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
695
  (Robert Collins)
 
696
 
102
697
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
698
  suboptimal network behaviour is noticed; instead it just mutters to the
104
699
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
706
  stripped, the prefix ``__doc__ =`` should now be used.
112
707
  (Martin <gzlist@googlemail.com>)
113
708
 
 
709
* No longer require zlib headers to build extensions, and remove the need
 
710
  for seperate copy of zlib library on windows.
 
711
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #566923)
 
712
 
114
713
Testing
115
714
*******
116
715
 
125
724
  failures on Lucid, FreeBSD and gentoo.  
126
725
  (Vincent Ladeuil, #528436)
127
726
 
 
727
* New class ``ExecutableFeature`` for checking the availability of
 
728
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
729
  (Martin von Gagern)
 
730
 
128
731
bzr 2.2b2
129
732
#########
130
733
 
184
787
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
788
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
789
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
790
  errors compared to registering ``signal.signal`` directly.
188
791
  (Andrew Bennetts)
189
792
 
190
793
* When invoked with a range revision, ``bzr log`` doesn't show revisions
193
796
  (Vincent Ladeuil, #474807)
194
797
 
195
798
* Properly handle ``param_name`` attribute for ``ListOption``.
196
 
  (Martin von Gagern, 387117)
 
799
  (Martin von Gagern, #387117)
197
800
 
198
801
Improvements
199
802
************
232
835
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
836
  ``get_trees_and_branches_to_diff_locked`` instead.
234
837
  (Andrew Bennetts)
 
838
 
 
839
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
840
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
841
  
236
842
Internals
237
843
*********
242
848
  Command is now transient and only exists for the duration of ``run()``.
243
849
  (Robert Collins)
244
850
 
245
 
bzr 2.2.0b1
246
 
###########
247
 
 
248
 
:2.2.0b1: 2010-04-01
 
851
bzr 2.2b1
 
852
#########
 
853
 
 
854
:2.2b1: 2010-04-01
 
855
 
 
856
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
857
release in July or August.  Beta releases are suitable for everyday use
 
858
but may cause some incompatibilities with plugins.  Some plugins may need
 
859
small updates to work with 2.2b1.
 
860
 
 
861
2.2b1 includes some changes to make merge conflicts easier to understand
 
862
and resolve.  It also removes some old unnecessary code, and loads
 
863
somewhat less code at startup.  It starts adding a common infrastructure
 
864
for dealing with colocated named branches, which can be implemented in
 
865
various ways in either bzr native or foreign formats.   On Ubuntu and
 
866
other platforms with the apport bug-reporting library, there's an easier
 
867
path to report problems with bzr.  We plan to continue with these themes
 
868
through the 2.2 series.
 
869
 
 
870
Over thirty bugs have been fixed, including in the log command, exporting
 
871
to tarballs, restarting interrupted system calls, portability of compiled
 
872
extensions, making backups during upgrade, and locking on ftp.
249
873
 
250
874
Compatibility Breaks
251
875
********************
292
916
 
293
917
* Parsing of command lines, for example in ``diff --using``, no longer
294
918
  treats backslash as an escape character on Windows.   (Gordon Tyler,
295
 
  #392248)
 
919
  #392428)
296
920
 
297
921
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
298
922
  a list of plugin names separated by ':' (';' on windows).
527
1151
  happens, and another warning will be written if the log file could not
528
1152
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
529
1153
 
 
1154
bzr 2.1.3
 
1155
#########
 
1156
 
 
1157
:Codename: Do run run
 
1158
:2.1.3: NOT RELEASED YET
 
1159
 
 
1160
Compatibility Breaks
 
1161
********************
 
1162
 
 
1163
New Features
 
1164
************
 
1165
 
 
1166
Bug Fixes
 
1167
*********
 
1168
 
 
1169
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
1170
  ``InvalidPattern`` exception error message now shows faulting
 
1171
  regular expression.
 
1172
  (Parth Malwankar #300062)
 
1173
 
 
1174
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
1175
  way which should help avoid problems with concurrent writers.
 
1176
  (Vincent Ladeuil, #525571)
 
1177
 
 
1178
* Don't traceback trying to unversion children files of an already
 
1179
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1180
 
 
1181
* ``HTTP/1.1` test servers now set a ``Content-Length`` header to comply
 
1182
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
1183
 
 
1184
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1185
  which can result in "missing referenced chk root keys" errors when
 
1186
  fetching from repositories with affected revisions.
 
1187
  (Andrew Bennetts, #522637)
 
1188
 
 
1189
* Progress bars prefer to truncate the text message rather than the
 
1190
  counters.  The spinner is shown between the network transfer indicator
 
1191
  and the progress message.  (Martin Pool)
 
1192
 
 
1193
* Raise ValueError instead of a string exception.
 
1194
  (John Arbash Meinel, #586926)
 
1195
 
 
1196
* Recursive binding for checkouts is now detected by bzr. A clear error
 
1197
  message is shown to the user. (Parth Malwankar, #405192)
 
1198
 
 
1199
Improvements
 
1200
************
 
1201
 
 
1202
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
1203
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
1204
 
 
1205
Documentation
 
1206
*************
 
1207
 
 
1208
* ``bzr help patterns`` now explains case insensitive patterns and
 
1209
  points to Python regular expression documentation.
 
1210
  (Parth Malwankar, #594386)
 
1211
 
 
1212
API Changes
 
1213
***********
 
1214
 
 
1215
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
1216
 
 
1217
Internals
 
1218
*********
 
1219
 
 
1220
Testing
 
1221
*******
 
1222
 
 
1223
* Unit test added to ensure that "message" is not uses as a format variable
 
1224
  name in BzrError subclasses as this conflicts with some Python versions.
 
1225
  (Parth Malwankar, #603461)
 
1226
 
530
1227
bzr 2.1.2
531
1228
#########
532
1229
 
533
 
:2.1.2: NOT RELEASED YET
 
1230
:2.1.2: 2010-05-28
 
1231
 
 
1232
This release fixes two critical networking issues with older servers and
 
1233
with interrupted system call errors when pushing or pulling.  We recommend
 
1234
upgrading to anyone running a 2.1.x version of bzr.
534
1235
 
535
1236
Bug Fixes
536
1237
*********
537
1238
 
 
1239
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1240
  support of bzr-externals and scmproj plugins.
 
1241
  (Alexander Belchenko, bug #572098)
 
1242
 
538
1243
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
1244
  (Aaron Bentley, #559436)
540
1245
 
 
1246
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1247
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1248
  problems that occur on POSIX with all currently released versions of
 
1249
  Python.
 
1250
  (Andrew Bennetts, #583941)
 
1251
 
541
1252
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
1253
  versions before 1.6.
543
1254
  (Andrew Bennetts, #528041)
545
1256
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
1257
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
1258
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
 
1259
  errors compared to registering ``signal.signal`` directly.
549
1260
  (Andrew Bennetts)
550
1261
 
 
1262
* Reduce peak memory by one copy of compressed text.
 
1263
  (John Arbash Meinel, #566940)
 
1264
 
 
1265
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1266
  (John Arbash Meinel, #582656)
 
1267
 
 
1268
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1269
  directory file handle after the chdir fails. Otherwise when passing many
 
1270
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1271
  (John Arbash Meinel, #583486)
 
1272
 
551
1273
Internals
552
1274
*********
553
1275
 
989
1711
  history no longer crash when deleted files are involved.
990
1712
  (Vincent Ladeuil, John Arbash Meinel, #375898)
991
1713
 
 
1714
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
1715
  target of the symlink.
 
1716
  (Martin Pool, John Arbash Meinel, #128562)
 
1717
 
992
1718
* ``bzr revert`` now only takes write lock on working tree, instead of on 
993
1719
  both working tree and branch.
994
1720
  (Danny van Heumen, #498409)
997
1723
  permissions as ``.bzr`` directory on a POSIX OS.
998
1724
  (Parth Malwankar, #262450)
999
1725
 
 
1726
* Don't traceback trying to unversion children files of an already
 
1727
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1728
 
 
1729
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1730
  which can result in "missing referenced chk root keys" errors when
 
1731
  fetching from repositories with affected revisions.
 
1732
  (Andrew Bennetts, #522637)
 
1733
 
 
1734
* Raise ValueError instead of a string exception.
 
1735
  (John Arbash Meinel, #586926)
 
1736
 
 
1737
* Reduce peak memory by one copy of compressed text.
 
1738
  (John Arbash Meinel, #566940)
 
1739
 
1000
1740
* Repositories accessed via a smart server now reject being stacked on a
1001
1741
  repository in an incompatible format, as is the case when accessing them
1002
1742
  via other methods.  This was causing fetches from those repositories via
1003
1743
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1744
  (Andrew Bennetts, #562380)
1005
1745
 
 
1746
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1747
  error. This error was caused by 2.0 not being updated when upstream
 
1748
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1749
  ``done``. (Robert Collins, #571437)
 
1750
 
 
1751
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1752
  directory file handle after the chdir fails. Otherwise when passing many
 
1753
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1754
  (John Arbash Meinel, #583486)
 
1755
 
 
1756
 
 
1757
Testing
 
1758
*******
 
1759
 
 
1760
* ``build_tree_contents`` can create symlinks.
 
1761
  (Martin Pool, John Arbash Meinel)
 
1762
 
 
1763
 
1006
1764
bzr 2.0.5
1007
1765
#########
1008
1766
 
3702
4460
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3703
4461
 
3704
4462
* 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,
 
4463
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4464
  machines work, other platforms need patches submitted. (Robert Collins,
3707
4465
  Vincent Ladeuil)
3708
4466
 
3709
4467
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
6457
7215
 
6458
7216
* bzr main script cannot be imported (Benjamin Peterson)
6459
7217
 
6460
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
7218
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6461
7219
  directory. (Toshio Kuratomi)
6462
7220
 
6463
7221
* The ``set_rh`` branch hook is now deprecated. Please migrate
6800
7558
 
6801
7559
* BZR_LOG environment variable controls location of .bzr.log trace file.
6802
7560
  User can suppress writing messages to .bzr.log by using '/dev/null'
6803
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7561
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6804
7562
  is not defined but BZR_HOME is defined then default location
6805
7563
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6806
7564
  (Alexander Belchenko, #106117)