/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-10 20:03:44 UTC
  • mto: This revision was merged to the branch mainline in revision 5376.
  • Revision ID: john@arbash-meinel.com-20100810200344-6muerwvkafqu7w47
Rework things a bit so the logic can be shared.

It turns out that some of the peak memory is actually during the inventory
to string to bundle translations. So re-use the refcount logic there.
This actually does show a decrease in peak memory.
Specifically 'cd bzr.dev; bzr send ../2.2' drops from 221MB peak to 156MB.

We don't speed anything up (16.5s both ways), but peak memory is quite
a bit better.

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