~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: John Arbash Meinel
  • Date: 2010-05-11 10:45:26 UTC
  • mto: This revision was merged to the branch mainline in revision 5225.
  • Revision ID: john@arbash-meinel.com-20100511104526-zxnstcxta22hzw2n
Implement a compiled extension for parsing the text key out of a CHKInventory value.

Related to bug #562666. This seems to shave 5-10% out of the time spent doing a complete
branch of bzr.dev/launchpad/etc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
====================
 
1
####################
2
2
Bazaar Release Notes
3
 
====================
4
 
 
 
3
####################
5
4
 
6
5
.. contents:: List of Releases
7
6
   :depth: 1
8
7
 
9
 
In Development
10
 
##############
11
 
 
12
 
Compatibility Breaks
13
 
********************
 
8
bzr 2.2b3
 
9
#########
 
10
 
 
11
:2.2b3: NOT RELEASED YET
 
12
 
 
13
Compatibility Breaks
 
14
********************
 
15
 
 
16
* ``bzr`` does not try to guess the username as ``username@hostname``
 
17
  and requires it to be explictly set. This can be set using ``bzr
 
18
  whoami``.
 
19
  (Parth Malwankar, #549310)
 
20
 
 
21
New Features
 
22
************
 
23
 
 
24
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
 
25
  ``--show-diff``.
 
26
  (Parth Malwankar, #571467)
 
27
  
 
28
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
 
29
  the default ignore rules used by bzr. The flag ``--old-default-rules``
 
30
  is no longer supported by ``ignore``.
 
31
  (Parth Malwankar, #538703)
 
32
 
 
33
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
 
34
  can save disk space by deleting obsolete pack files created during the
 
35
  pack operation.
 
36
  (Parth Malwankar, #304320)
 
37
 
 
38
* New command line option ``--authors`` to ``bzr log`` allows users to
 
39
  select which of the apparent authors and committer should be
 
40
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
41
 
 
42
* Support ``--directory`` option for a number of additional commands:
 
43
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
44
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
45
  re-sign, unbind, unknowns.
 
46
  (Martin von Gagern, #527878)
 
47
 
 
48
Bug Fixes
 
49
*********
 
50
 
 
51
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
 
52
  group ownership from the containing directory. This allow bzr to work
 
53
  better with sudo.
 
54
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
 
55
 
 
56
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
57
  support of bzr-externals and scmproj plugins.
 
58
  (Alexander Belchenko, bug #572098)
 
59
 
 
60
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
61
  (Gordon Tyler, #572092)
 
62
 
 
63
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
 
64
  are part of Y ancestry but not part of X ancestry (aka the graph
 
65
  difference).
 
66
  (Vincent Ladeuil, #320119)
 
67
 
 
68
* ``bzr rm`` should not refuse to delete directories which contained a file
 
69
  which has been moved elsewhere in the tree after the previous commit.
 
70
  (Marius Kruger, Daniel Watkins, #129880)
 
71
 
 
72
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
 
73
  (Vincent Ladeuil, #566670)
 
74
 
 
75
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
 
76
  (Vincent Ladeuil, #563997)
 
77
 
 
78
* Don't mention --no-strict when we just issue the warning about unclean trees.
 
79
  (Vincent Ladeuil, #401599)
 
80
 
 
81
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
82
  versions before 1.6.
 
83
  (Andrew Bennetts, #528041)
 
84
 
 
85
* Heavyweight checkout operation now shows a message to the user indicating
 
86
  history is being copied.
 
87
  (Parth Malwankar, #538868)
 
88
 
 
89
* Reduce peak memory by one copy of compressed text.
 
90
  (John Arbash Meinel, #566940)
 
91
 
 
92
* Show the filenames when a file rename fails so that the error will be
 
93
  more comprehensible.
 
94
  (Martin Pool, #491763)
 
95
 
 
96
* Unicode characters in aliases are now handled correctly and do not cause
 
97
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
98
 
 
99
* Unicode commit messages that are the same as a file name no longer cause
 
100
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
101
  messages.
 
102
  (Parth Malwankar, #563646)
 
103
 
 
104
Improvements
 
105
************
 
106
 
 
107
* ``append_revisions_only`` will now be interpreted as a boolean and a
 
108
  warning emitted if illegal values are used. Note that for projects
 
109
  that needs to maintain compatibility with previsous bzr versions,
 
110
  only 'True' and 'False' strings must be used (previous versions of
 
111
  bzr will interpret all strings differing from 'True'
 
112
  (case-sensitive) as false.
 
113
  (Brian de Alwis, Vincent Ladeuil)
 
114
 
 
115
* ``bzr ls`` now supports short options for existing long options.
 
116
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
117
  (Parth Malwankar, #181124)
 
118
 
 
119
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
 
120
  be interpreted as a boolean.
 
121
  (Vincent Ladeuil)
 
122
 
 
123
Documentation
 
124
*************
 
125
 
 
126
API Changes
 
127
***********
 
128
 
 
129
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
 
130
  some kinds of ``merge_file_content`` hook functions.
 
131
  (Andrew Bennetts)
 
132
  
 
133
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
 
134
  `user_transport`, `control_url` and `control_transport` members pointing
 
135
  respectively to the directory containing the ``.bzr`` control directory, 
 
136
  and to the directory within ``.bzr`` used for the particular component.
 
137
  All of them inherit from `ControlComponent` which provides default
 
138
  implementations.
 
139
  (Martin Pool)
 
140
 
 
141
* ``Repository.refresh_data`` may now be called in a write group on
 
142
  pack-based repositories.  Older repositories will still raise an error
 
143
  in this case.  Subclasses of ``Repository`` can still override
 
144
  ``Repository._refresh_data``, but are now responsible for raising
 
145
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
146
  ``refresh_data`` during a write group.
 
147
  (Andrew Bennetts, #574236)
 
148
 
 
149
Internals
 
150
*********
 
151
 
 
152
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
153
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
154
  potentially shave 5-10% time off during a large fetch. Related to bug
 
155
  #562666. (John Arbash Meinel)
 
156
 
 
157
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
158
  suboptimal network behaviour is noticed; instead it just mutters to the
 
159
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
160
  This was causing unnecessary aborts for performance bugs that are minor
 
161
  at worst.
 
162
  (Andrew Bennetts, #528041)
 
163
 
 
164
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
 
165
  files loaded from disk. To ensure docstrings needed for help are never
 
166
  stripped, the prefix ``__doc__ =`` should now be used.
 
167
  (Martin <gzlist@googlemail.com>)
 
168
 
 
169
Testing
 
170
*******
 
171
 
 
172
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
 
173
   (Gordon Tyler, #551332)
 
174
 
 
175
* Workaround ``Crypto.Random`` check leading to spurious test
 
176
  failures on Lucid, FreeBSD and gentoo.  
 
177
  (Vincent Ladeuil, #528436)
 
178
 
 
179
bzr 2.2b2
 
180
#########
 
181
 
 
182
:2.2b2: 2010-04-16
 
183
 
 
184
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
 
185
incompatibility in the 2.2b1 release.  It also includes a swag of
 
186
performance, usability and correctness improvements: test feedback on all
 
187
of these would be welcome.
 
188
 
 
189
 
 
190
New Features
 
191
************
 
192
 
 
193
* ``bzr diff`` now supports a --format option, which can be used to 
 
194
  select alternative diff formats. (Jelmer Vernooij, #555994)
 
195
 
 
196
Bug Fixes
 
197
*********
 
198
 
 
199
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
 
200
  instead of failing when dirty trees are involved. The corresponding
 
201
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
 
202
  True explicitly to get the previous behaviour.  
 
203
  (Vincent Ladeuil, #519319)
 
204
 
 
205
* ``bzr export`` to tar file does not fail if any parent directory
 
206
  contains unicode characters. This works around upstream Python bug
 
207
  http://bugs.python.org/issue8396 .
 
208
  (Parth Malwankar, #413406)
 
209
 
 
210
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
211
  (Aaron Bentley, #559436)
 
212
 
 
213
* ``bzr update`` when a pending merge in the working tree has been merged
 
214
  into the master branch will no longer claim that old commits have become
 
215
  pending merges. (Robert Collins, #562079)
 
216
 
 
217
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
 
218
  config as in previous versions of bzrlib. (Robert Collins)
 
219
 
 
220
* Fix glitch in the warning about unclean trees display.
 
221
  (Vincent Ladeuil, #562665)
 
222
 
 
223
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
 
224
  (Martin Pool)
 
225
 
 
226
* Help messages generated by ``RegistryOption.from_kwargs`` list the
 
227
  switches in alphabetical order, rather than in an undefined order.
 
228
  (Martin von Gagern, #559409)
 
229
 
 
230
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
 
231
  Apport crash reports, to avoid "This problem report applies to a program
 
232
  which is not installed any more" error.
 
233
  (Martin Pool, James Westby, #528114)
 
234
 
 
235
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
236
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
237
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
238
  errors after two window resizes.
 
239
  (Andrew Bennetts)
 
240
 
 
241
* When invoked with a range revision, ``bzr log`` doesn't show revisions
 
242
  that are not part of the Y revisions ancestry anymore when invoked with
 
243
  -rX..Y.
 
244
  (Vincent Ladeuil, #474807)
 
245
 
 
246
* Properly handle ``param_name`` attribute for ``ListOption``.
 
247
  (Martin von Gagern, 387117)
 
248
 
 
249
Improvements
 
250
************
 
251
 
 
252
* ``bzr commit`` will prompt before using a commit message that was
 
253
  generated by a template and not edited by the user.
 
254
  (Robert Collins, #530265)
 
255
 
 
256
* ``bzr diff`` read-locks the trees and branches only once, saving about
 
257
  10-20ms on ``bzr diff`` in a bzr.dev tree.
 
258
  (Andrew Bennetts)
 
259
 
 
260
* ``bzr missing`` read-locks the branches only once.
 
261
  (Andrew Bennetts)
 
262
  
 
263
* ``bzr pull`` locks the branches and tree only once.
 
264
  (Andrew Bennetts)
 
265
  
 
266
* Index lookups in pack repositories search recently hit pack files first.  
 
267
  In repositories with many pack files this can greatly reduce the
 
268
  number of files accessed, the number of bytes read, and the number of
 
269
  read calls.  An incremental pull via plain HTTP takes half the time and
 
270
  bytes for a moderately large repository.  (Andrew Bennetts)
 
271
 
 
272
* Index lookups only re-order the indexes when the hit files aren't
 
273
  already first. Reduces the cost of reordering
 
274
  (John Arbash Meinel, #562429)
 
275
 
 
276
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
 
277
  less.)
 
278
  (Martin Pool, #553017)
 
279
 
 
280
API Changes
 
281
***********
 
282
 
 
283
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
 
284
  ``get_trees_and_branches_to_diff_locked`` instead.
 
285
  (Andrew Bennetts)
 
286
  
 
287
Internals
 
288
*********
 
289
 
 
290
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
 
291
  2.1 method of calling run() to perform testing or direct use via the API
 
292
  is now possible again. As part of this, the _operation attribute on
 
293
  Command is now transient and only exists for the duration of ``run()``.
 
294
  (Robert Collins)
 
295
 
 
296
bzr 2.2.0b1
 
297
###########
 
298
 
 
299
:2.2.0b1: 2010-04-01
 
300
 
 
301
Compatibility Breaks
 
302
********************
 
303
 
 
304
* BTreeGraphIndex can now take an offset to indicate that the data starts
 
305
  somewhere other than then beginning of the file. (John Arbash Meinel)
 
306
 
 
307
* Deleted very old hidden commands ``versionedfile-list``,
 
308
  ``weave-plan-merge``, ``weave-merge-text``.
 
309
  (Martin Pool)
 
310
 
 
311
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()`` 
 
312
  have been removed. (Jelmer Vernooij)
 
313
 
 
314
* ``Repository.get_revision_inventory()`` has been removed in favor of
 
315
  ``Repository.get_inventory()``. (Jelmer Vernooij)
 
316
 
 
317
* All test servers have been moved out of the bzrlib.transport hierarchy to
 
318
  bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
 
319
  PathFilteringServer. ``bzrlib`` users may encounter test failures that can
 
320
  be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
 
321
  ``bzrlib.tests.test_server``.
 
322
  (Vincent Ladeuil)
 
323
 
 
324
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
 
325
  as its second parameter, for consistency with the initialize() method of
 
326
  other formats. (Jelmer Vernooij)
 
327
 
 
328
New Features
 
329
************
 
330
 
 
331
* Added ``bzr remove-branch`` command that can remove a local or remote 
 
332
  branch. (Jelmer Vernooij, #276295)
 
333
 
 
334
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
 
335
  to set file mtimes to the last timestamp of the last revision in which
 
336
  they were changed rather than the current time. (Jelmer Vernooij)
 
337
 
 
338
* If the Apport crash-reporting tool is available, bzr crashes are now
 
339
  stored into the ``/var/crash`` apport spool directory, and the user is
 
340
  invited to report them to the developers from there, either
 
341
  automatically or by running ``apport-bug``.  No information is sent
 
342
  without specific permission from the user.  (Martin Pool, #515052)
 
343
 
 
344
* Parsing of command lines, for example in ``diff --using``, no longer
 
345
  treats backslash as an escape character on Windows.   (Gordon Tyler,
 
346
  #392248)
 
347
 
 
348
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
 
349
  a list of plugin names separated by ':' (';' on windows).
 
350
  (Vincent Ladeuil, #411413)
 
351
 
 
352
* Plugins can be loaded from arbitrary locations by defining
 
353
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
 
354
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
 
355
  specified plugins. This is targeted at plugin developers for punctual
 
356
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
 
357
  (Vincent Ladeuil, #82693)
 
358
 
 
359
* Tag names can now be determined automatically by ``automatic_tag_name`` 
 
360
  hooks on ``Branch`` if they are not specified on the command line.
 
361
  (Jelmer Vernooij)
 
362
 
 
363
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
 
364
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
 
365
  as resolved is still accessible via the ``--done`` default action.
 
366
  (Vincent Ladeuil)
 
367
 
 
368
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
 
369
  (Aaron Bentley, Jonathan Lange)
 
370
 
 
371
Bug Fixes
 
372
*********
 
373
 
 
374
* Added docstring for ``Tree.iter_changes``
 
375
  (John Arbash Meinel, #304182)
 
376
 
 
377
* Allow additional arguments to
 
378
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
 
379
 
 
380
* Allow exporting a single file using ``bzr export``.
 
381
  (Michal Junák, #511987)
 
382
 
 
383
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
384
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
385
  IO, which are often poorly handled by Python's libraries and parts of
 
386
  bzrlib.  (Andrew Bennetts, #496813)
 
387
 
 
388
* Avoid infinite recursion when probing for apport.
 
389
  (Vincent Ladeuil, #516934)
 
390
 
 
391
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
392
  (Martin Pool, #331095)
 
393
 
 
394
* Avoid truncating svn URLs.
 
395
  (Martin Pool, Martin von Gagern, #545185)
 
396
 
 
397
* ``bzr add`` will not add conflict related files unless explicitly required.
 
398
  (Vincent Ladeuil, #322767, #414589)
 
399
 
 
400
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
 
401
  indices do not have reference lists, so ``dump-btree`` will simply show
 
402
  ``None`` instead.  (Andrew Bennetts, #488607)
 
403
 
 
404
* ``bzr help`` will no longer trigger the get_missing_command hook when
 
405
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
 
406
  did you mean log?') when getting help. In future we may trigger the hook 
 
407
  deliberately when no help topics match from any help index.
 
408
  (Robert Collins, #396261)
 
409
 
 
410
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
 
411
  revspec as representing the first revision of the branch.
 
412
  (Vincent Ladeuil, #519862)
 
413
 
 
414
* ``bzr remove-tree`` can now remove multiple working trees.
 
415
  (Jared Hance, Andrew Bennetts, #253137)
 
416
 
 
417
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
 
418
  the kept file on content conflicts where one side deleted the file.
 
419
  (Vincent Ladeuil, #529968)
 
420
 
 
421
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
422
  permissions as ``.bzr`` directory on a POSIX OS.
 
423
  (Parth Malwankar, #262450)
 
424
 
 
425
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
 
426
  of ``backup.bzr``. This directory is ignored by bzr commands such as
 
427
  ``add``.
 
428
  (Parth Malwankar, #335033, #300001)
 
429
 
 
430
* Cope with non-utf8 characters inside ``.bzrignore``.
 
431
  (Jason Spashett, #183504)
 
432
 
 
433
* Correctly interpret "451 Rename/move failure: Directory not empty" from
 
434
  ftp servers while trying to take a lock.
 
435
  (Martin Pool, #528722)
 
436
 
 
437
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
 
438
  changes occured between the workingtree and one of its parents.
 
439
  (Vincent Ladeuil, #535547)
 
440
 
 
441
* Fix ``log`` to better check ancestors even if merged revisions are involved.
 
442
  (Vincent Ladeuil, #476293)
 
443
 
 
444
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
 
445
  on os.lisdir() order and is now reliable.
 
446
  (Vincent Ladeuil, #552922).
 
447
 
 
448
* Many IO operations that returned ``EINTR`` were retried even if it
 
449
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
 
450
  only retries operations that are safe to retry, and in some cases has
 
451
  switched to operations that can be retried (e.g. ``sock.send`` rather than
 
452
  ``sock.sendall``).
 
453
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
 
454
 
 
455
* Path conflicts now support --take-this and --take-other even when a
 
456
  deletion is involved.
 
457
  (Vincent Ladeuil, #531967)
 
458
 
 
459
* Network transfer amounts and rates are now displayed in SI units according
 
460
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
 
461
  (Gordon Tyler, #514399)
 
462
 
 
463
* Support kind markers for socket and fifo filesystem objects. This
 
464
  prevents ``bzr status --short`` from crashing when those files are
 
465
  present.  (John Arbash Meinel, #303275)
 
466
 
 
467
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
 
468
   directory. (Parth Malwankar, #138600)
 
469
 
 
470
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
 
471
  the debugger won't kill the session.
 
472
  (Martin <gzlist@googlemail.com>, #162502)
 
473
 
 
474
* Tolerate patches with leading noise in ``bzr-handle-patch``.
 
475
  (Toshio Kuratomi, Martin Pool, #502076)
 
476
 
 
477
* ``update -r`` now supports updating to revisions that are not on
 
478
  mainline (i.e. it supports dotted revisions).
 
479
  (Parth Malwankar, #517800)
 
480
 
 
481
* Use first apparent author not committer in GNU Changelog format.
 
482
  (Martin von Gagern, #513322)
 
483
 
 
484
API Changes
 
485
***********
 
486
 
 
487
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
 
488
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
 
489
  (Jelmer Vernooij)
 
490
 
 
491
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
 
492
  branch to create. (Jelmer Vernooij)
 
493
 
 
494
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
 
495
  colocated branch to open. (Jelmer Vernooij)
 
496
 
 
497
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
498
  can set a signal handler and call ``signal.siginterrupt(signum,
 
499
  False)`` for it, if the platform and Python version supports it.
 
500
  (Andrew Bennetts, #496813)
 
501
 
 
502
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
 
503
  run when starting up; it sets up several things that previously needed
 
504
  to be done separately.
 
505
  (Martin Pool, #507710)
 
506
 
 
507
* Exporters now support a ``per_file_timestamps`` argument to write out the 
 
508
  timestamp of the commit in which a file revision was introduced.
 
509
  (Jelmer Vernooij)
 
510
 
 
511
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
 
512
  present in a control directory. (Jelmer Vernooij)
 
513
 
 
514
* New method ``Repository.get_known_graph_ancestry()``. 
 
515
  (Jelmer Vernooij, #495502)
 
516
 
 
517
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
 
518
  (Neil Santos)
 
519
 
 
520
* Remove unused ``CommandFailed`` exception.
 
521
  (Martin Pool)
 
522
 
 
523
Internals
 
524
*********
 
525
 
 
526
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
 
527
  ``message_callback`` in the same way that commit does. (Robert Collins)
 
528
 
 
529
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
 
530
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
 
531
  of date. (Gary van der Merwe)
 
532
 
 
533
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
 
534
  functions to load or disable plugins if they wish to use a different
 
535
  plugin mechanism; the --help, --version and no-command name code paths
 
536
  now use the generic pluggable command lookup infrastructure.
 
537
  (Robert Collins)
 
538
 
 
539
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
 
540
  which can be set to add extra help to the error. (Gary van der Merwe)
 
541
 
 
542
* New method ``Branch.automatic_tag_name`` that can be used to find the
 
543
  tag name for a particular revision automatically. (Jelmer Vernooij)
 
544
 
 
545
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
 
546
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
 
547
  (Jelmer Vernooij)
 
548
 
 
549
Testing
 
550
*******
 
551
 
 
552
* bzr now has a ``.testr.conf`` file in its source tree configured
 
553
  appropriately for running tests with Testrepository
 
554
  (``https://launchpad.net/testrepository``). (Robert Collins)
 
555
 
 
556
* Documentation about testing with ``subunit`` has been tweaked.
 
557
  (Robert Collins)
 
558
 
 
559
* Known failures has been added for resolve --take-other on ParentLoop
 
560
  conflicts. This reflects bug #537956 without fixing it.
 
561
  (Vincent Ladeuil)
 
562
 
 
563
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
 
564
  Python modules are loaded, to guard against startup time or library
 
565
  dependency regressions.
 
566
  (Martin Pool)
 
567
 
 
568
* PQM will now run with subunit output. To analyze a PQM error use
 
569
  tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
 
570
 
 
571
* Stop sending apport crash files to ``.cache`` in the directory from
 
572
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
 
573
 
 
574
* Tests no longer fail if "close() called during concurrent
 
575
  operation on the same file object" occurs when closing the log file
 
576
  (which can happen if a thread tries to write to the log file at the
 
577
  wrong moment).  An warning will be written to ``stderr`` when this
 
578
  happens, and another warning will be written if the log file could not
 
579
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
 
580
 
 
581
bzr 2.1.2
 
582
#########
 
583
 
 
584
:2.1.2: NOT RELEASED YET
 
585
 
 
586
Bug Fixes
 
587
*********
 
588
 
 
589
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
590
  (Aaron Bentley, #559436)
 
591
 
 
592
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
593
  versions before 1.6.
 
594
  (Andrew Bennetts, #528041)
 
595
 
 
596
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
597
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
598
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
599
  errors after two window resizes.
 
600
  (Andrew Bennetts)
 
601
 
 
602
Internals
 
603
*********
 
604
 
 
605
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
606
  suboptimal network behaviour is noticed; instead it just mutters to the
 
607
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
608
  This was causing unnecessary aborts for performance bugs that are minor
 
609
  at worst.
 
610
  (Andrew Bennetts, #528041)
 
611
 
 
612
 
 
613
bzr 2.1.1
 
614
#########
 
615
 
 
616
:2.1.1: 2010-03-24
 
617
 
 
618
This is a small bugfix release.  Upgrading is recommended for anyone
 
619
running 2.1.0 or earlier.
 
620
 
 
621
Bug Fixes
 
622
*********
 
623
 
 
624
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
625
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
626
  IO, which are often poorly handled by Python's libraries and parts of
 
627
  bzrlib.  (Andrew Bennetts, #496813)
 
628
 
 
629
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
630
  (Martin Pool, #331095)
 
631
 
 
632
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
 
633
 
 
634
* Fix stub sftp test server to call os.getcwdu().
 
635
  (Vincent Ladeuil, #526221, #526353)
 
636
 
 
637
* Fixed CHM generation by moving the NEWS section template into
 
638
  a separate file. (Ian Clatworthy, #524184)
 
639
 
 
640
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
 
641
 
 
642
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
 
643
  problems importing bzrlib from a non-main thread.
 
644
  (Elliot Murphy, #521989)
 
645
 
 
646
* Repositories accessed via a smart server now reject being stacked on a
 
647
  repository in an incompatible format, as is the case when accessing them
 
648
  via other methods.  This was causing fetches from those repositories via
 
649
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
650
  (Andrew Bennetts, #562380)
 
651
 
 
652
* Standardize the error handling when creating a new ``StaticTuple``
 
653
  (problems will raise TypeError). (Matt Nordhoff, #457979)
 
654
 
 
655
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
 
656
  ``StaticTuple`` extensions, rather than having the build fail randomly.
 
657
  (John Arbash Meinel, #449776)
 
658
 
 
659
Documentation
 
660
*************
 
661
 
 
662
* Added a link to the Desktop Guide. (Ian Clatworthy)
 
663
 
 
664
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
 
665
 
 
666
* Drop Google Analytics from the core docs as they caused problems
 
667
  in the CHM files. (Ian Clatworthy, #502010)
 
668
 
 
669
API Changes
 
670
***********
 
671
 
 
672
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
673
  can set a signal handler and call ``signal.siginterrupt(signum,
 
674
  False)`` for it, if the platform and Python version supports it.
 
675
  (Andrew Bennetts, #496813)
 
676
 
 
677
 
 
678
bzr 2.1.0
 
679
#########
 
680
 
 
681
:Codename: Strasbourg
 
682
:2.1.0: 2010-02-11
 
683
 
 
684
This release marks our second long-term-stable series. The Bazaar team
 
685
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
 
686
releases, along with 2.2 development releases. 
 
687
 
 
688
This is a fairly incremental update, focusing on polish and bugfixing.
 
689
There are no changes for supported disk formats. Key updates include
 
690
reduced memory consumption for many operations, a new per-file merge
 
691
hook, ignore patterns can now include '!' to exclude files, globbing
 
692
support for all commands on Windows, and support for addressing home
 
693
directories via ``bzr+ssh://host/~/`` syntax.
 
694
 
 
695
Users are encouraged to upgrade from the 2.0 stable series.
 
696
 
 
697
Bug Fixes
 
698
*********
 
699
 
 
700
* Don't require testtools to use sftp.
 
701
  (Vincent Ladeuil, #516183)
 
702
 
 
703
* Fix "AttributeError in Inter1and2Helper" during fetch.
 
704
  (Martin Pool, #513432)
 
705
 
 
706
* ``bzr update`` performs the two merges in a more logical order and will stop
 
707
  when it encounters conflicts.  
 
708
  (Gerard Krol, #113809)
 
709
 
 
710
* Give a better error message when doing ``bzr bind`` in an already bound
 
711
  branch.  (Neil Martinsen-Burrell, #513063)
 
712
 
 
713
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
 
714
  in a pack repository, which can happen harmlessly if the abort occurs during
 
715
  finishing the write group.  Also use ``bzrlib.cleanup`` so that any
 
716
  other errors that occur while aborting the individual packs won't be
 
717
  hidden by secondary failures when removing the corresponding indices.
 
718
  (Andrew Bennetts, #423015)
 
719
 
 
720
* Set the mtime of files exported to a directory by ``bzr export`` all to
 
721
  the same value to avoid confusing ``make`` and other date-based build
 
722
  systems. (Robert Collins, #515631)
 
723
 
 
724
Improvements
 
725
************
 
726
 
 
727
* Fetching into experimental formats will now print a warning. (Jelmer
 
728
  Vernooij)
 
729
 
 
730
API Changes
 
731
***********
 
732
 
 
733
* ``Repository.deserialise_inventory`` has been renamed to 
 
734
  ``Repository._deserialise_inventory`` to indicate it is private.
 
735
  (Jelmer Vernooij)
 
736
 
 
737
* ``Repository.get_inventory_xml`` has been renamed to 
 
738
  ``Repository._get_inventory_xml`` to indicate it is private. 
 
739
  (Jelmer Vernooij)
 
740
 
 
741
* ``Repository.serialise_inventory`` has been renamed to 
 
742
  ``Repository._serialise_inventory`` to indicate it is private.
 
743
 
 
744
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
 
745
  same time was broken due to race conditions with a module level page
 
746
  cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
 
747
  ``bzrlib.chk_map`` in the backtrace, and can be triggered without using
 
748
  the same high level objects such as ``bzrlib.repository.Repository``
 
749
  from different threads. chk_map now uses a thread local cache which may
 
750
  increase memory pressure on processes using threads.
 
751
  (Robert Collins, John Arbash Meinel, #514090)
 
752
 
 
753
* The new ``merge_file_content`` should now be ok with tests to avoid
 
754
  regressions.
 
755
  (Vincent Ladeuil, #515597)
 
756
 
 
757
Internals
 
758
*********
 
759
 
 
760
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
 
761
  blocks in several places in ``bzrlib.merge``.  This avoids masking prior
 
762
  errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
 
763
  in ``do_merge``.
 
764
  (Andrew Bennetts, #517275)
 
765
 
 
766
API Changes
 
767
***********
 
768
 
 
769
* The ``remove_index`` method of
 
770
  ``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
 
771
  argument.  This argument was always ignored.
 
772
  (Andrew Bennetts, #423015)
 
773
 
 
774
bzr 2.1.0rc2
 
775
############
 
776
 
 
777
:Codename: after the bubbles
 
778
:2.1.0rc2: 2010-01-29
 
779
 
 
780
This is a quick-turn-around to update a small issue with our new per-file
 
781
merge hook. We expect no major changes from this to the final 2.1.0.
 
782
 
 
783
API Changes
 
784
***********
 
785
 
 
786
* The new ``merge_file_content`` hook point has been altered to provide a
 
787
  better API where state for extensions can be stored rather than the
 
788
  too-simple function based approach. This fixes a performance regression
 
789
  where branch configuration would be parsed per-file during merge. As
 
790
  part of this the included news_merger has been refactored into a base
 
791
  helper class ``bzrlib.merge.ConfigurableFileMerger``.
 
792
  (Robert Collins, John Arbash Meinel, #513822)
 
793
 
 
794
 
 
795
bzr 2.1.0rc1
 
796
############
 
797
 
 
798
:Codename: the 'new' stable
 
799
:2.1.0rc1: 2009-01-21
 
800
 
 
801
This is the first stable release candidate for Bazaar's 2.1 series. From
 
802
this point onwards, the 2.1 series will be considered stable (as the 2.0
 
803
series) and only bugfixes are expected to be incorporated. The dozen or so
 
804
bugfixes in the 2.0.4 release are also included in this release (along
 
805
with more than 15 more bugfixes). Some of the interesting features are
 
806
support for per-file merge hooks, ``bzr unshelve --preview``, support
 
807
for using ! in ignore files to exclude files from being ignored, a small
 
808
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
 
809
This looks to be a very good start for a new stable series.
 
810
 
 
811
 
 
812
New Features
 
813
************
 
814
 
 
815
* Add bug information to log output when available.
 
816
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
 
817
 
 
818
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
 
819
  to register custom merge logic, e.g. to provide smarter merging for
 
820
  particular files.
 
821
 
 
822
* Bazaar now includes the ``news_merge`` plugin.  It is disabled by
 
823
  default, to enable it add a ``news_merge_files`` option to your
 
824
  configuration.  Consult ``bzr help news_merge`` for more information.
 
825
  (Andrew Bennetts)
 
826
  
 
827
* ``bzr branch`` now takes a ``--bind`` option. This lets you
 
828
  branch and bind all in one command. (Ian Clatworthy)
 
829
 
 
830
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
 
831
  a specific revision of a branch. (Daniel Watkins, #183559)
 
832
 
 
833
* ``bzr unshelve --preview`` can now be used to show how a patch on the
 
834
  shelf would be applied to the working tree.
 
835
  (Guilherme Salgado, #308122)
 
836
 
 
837
* ``bzr update`` now takes a ``--revision`` argument. This lets you
 
838
  change the revision of the working tree to any revision in the
 
839
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
 
840
  Martin Pool, #45719)
 
841
 
 
842
* ``-Dbytes`` can now be used to display the total number of bytes
 
843
  transferred for the current command. This information is always logged
 
844
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
 
845
 
 
846
* New ignore patterns.  Patterns prefixed with '!' are exceptions to 
 
847
  ignore patterns and take precedence over regular ignores.  Such 
 
848
  exceptions are used to specify files that should be versioned which 
 
849
  would otherwise be ignored.  Patterns prefixed with '!!' act as regular 
 
850
  ignore patterns, but have highest precedence, even over the '!' 
 
851
  exception patterns. (John Whitley, #428031)
 
852
 
 
853
* The ``supress_warnings`` configuration option has been introduced to disable
 
854
  various warnings (it currently only supports the ``format_deprecation``
 
855
  warning). The new option can be set in any of the following locations:
 
856
  ``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
 
857
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
 
858
 
 
859
Bug Fixes
 
860
*********
 
861
 
 
862
* Always show a message if an OS error occurs while trying to run a
 
863
  user-specified commit message editor.
 
864
  (Martin Pool, #504842)
 
865
 
 
866
* ``bzr diff`` will now use the epoch when it is unable to determine 
 
867
  the timestamp of a file, if the revision it was introduced in is a
 
868
  ghost. (Jelmer Vernooij, #295611)
 
869
 
 
870
* ``bzr switch -b`` can now create branches that are located using directory
 
871
  services such as ``lp:``, even when the branch name doesn't contain a
 
872
  '/'.  (Neil Martinsen-Burrell, #495263)
 
873
 
 
874
* ``bzr unshelve`` has improved messages about what it is doing.
 
875
  (Neil Martinsen-Burrell, #496917)
 
876
 
 
877
* Concurrent autopacking is more resilient to already-renamed pack files.
 
878
  If we find that a file we are about to obsolete is already obsoleted, we
 
879
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
880
  The code is also fault tolerant if a file goes missing, assuming that
 
881
  another process already removed the file.
 
882
  (John Arbash Meinel, Gareth White, #507557)
 
883
 
 
884
* Fix "Too many concurrent requests" in reconcile when network connection
 
885
  fails.  (Andrew Bennetts, #503878)
 
886
 
 
887
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
 
888
  that caused some tests to fail when run in a non-default order.
 
889
  Probably no user impact.  (Martin Pool, #504102)
 
890
 
 
891
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
 
892
  (Andrew Bennetts, #506274)
 
893
 
 
894
* FTP transports support Unicode paths by encoding/decoding them as utf8.
 
895
  (Vincent Ladeuil, #472161)
 
896
 
 
897
* Listen to the SIGWINCH signal to update the terminal width.
 
898
  (Vincent Ladeuil, #316357)
 
899
 
 
900
* Progress bars are now hidden when ``--quiet`` is given.
 
901
  (Martin Pool, #320035)
 
902
 
 
903
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
 
904
  whatever is written to it.  This un-breaks some plugin tests that
 
905
  depended on this behaviour.
 
906
  (Martin Pool, #499757)
 
907
 
 
908
* When operations update the working tree, all affected files should end
 
909
  up with the same mtime. (eg. when versioning a generated file, if you
 
910
  update the source and the generated file together, the generated file
 
911
  should appear up-to-date.)
 
912
  (John Arbash Meinel, Martin <gzlist>, #488724)
 
913
 
 
914
Improvements
 
915
************
 
916
 
 
917
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
 
918
  All the builtin commands now use ``add_cleanup`` rather than
 
919
  ``try``/``finally`` blocks where applicable as it is simpler and more
 
920
  robust.  (Andrew Bennetts)
 
921
 
 
922
* All except a small number of storage formats are now hidden, making
 
923
  the help for numerous commands far more digestible. (Ian Clatworthy)
 
924
 
 
925
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
 
926
  path/to/repo``) will now include "location is a repository" as a hint in
 
927
  the error message.  (Brian de Alwis, Andrew Bennetts, #440952)
 
928
 
 
929
* Push will now inform the user when they are trying to push to a foreign 
 
930
  VCS for which roundtripping is not supported, and will suggest them to 
 
931
  use dpush. (Jelmer Vernooij)
 
932
 
 
933
* The version of bzr being run is now written to the log file.
 
934
  (__monty__, #257170)
 
935
 
 
936
* Transport network activity indicator is shown more of the time when
 
937
  Bazaar is doing network IO.
 
938
  (Martin Pool)
 
939
 
 
940
Documentation
 
941
*************
 
942
 
 
943
* Add documentation on creating merges with more than one parent.
 
944
  (Neil Martinsen-Burrell, #481526)
 
945
 
 
946
* Better explain the --uncommitted option of merge.
 
947
  (Neil Martinsen-Burrell, #505088)
 
948
 
 
949
* Improve discussion of pending merges in the documentation for
 
950
  ``revert``.  (Neil Martinsen-Burrell, #505093)
 
951
 
 
952
* Improved help for ``bzr send``. 
 
953
  (Martin Pool, Bojan Nikolic)
 
954
 
 
955
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
 
956
  including discussions of installation, relevant plugins, security and 
 
957
  backup. (Neil Martinsen-Burrell)
 
958
 
 
959
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
 
960
  (Ian Clatworthy)
 
961
 
 
962
* The User Reference is now presented as a series of topics.
 
963
  Many of the included topics have link and format tweaks applied.
 
964
  (Ian Clatworthy)
 
965
 
 
966
API Changes
 
967
***********
 
968
 
 
969
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
 
970
  (Andrew Bennetts)
 
971
 
 
972
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
 
973
  to be consistent with instances being lower case and classes being
 
974
  CamelCase. For the features that were more likely to be used, we added a
 
975
  deprecation thunk, but not all. (John Arbash Meinel)
 
976
 
 
977
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
 
978
  parameter in their constructors, and provide ``this_branch`` as an
 
979
  attribute. (Andrew Bennetts)
 
980
  
 
981
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
 
982
  by plugins - the original exceptions are now preserved. (Robert Collins)
 
983
 
 
984
* The Transport ``Server.tearDown`` method is now renamed to
 
985
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
 
986
  our normal naming pattern, and to avoid confusion with Python's
 
987
  ``TestCase.tearDown``.  (Martin Pool)
 
988
 
 
989
* ``WorkingTree.update`` implementations must now accept a ``revision``
 
990
  parameter.
 
991
 
 
992
Internals
 
993
*********
 
994
 
 
995
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
 
996
  a string of details (such as "location is a repository") as part of a
 
997
  ``nobranch`` response.  (Andrew Bennetts, #440952)
 
998
  
 
999
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
 
1000
  objects but passes str objects straight through. This is used for
 
1001
  selftest but may be useful for diff and other operations that generate
 
1002
  mixed output. (Robert Collins)
 
1003
 
 
1004
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
 
1005
  plugins. (Jelmer Vernooij)
 
1006
 
 
1007
Testing
 
1008
*******
 
1009
 
 
1010
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
 
1011
  running all tests in the current module, once against a pure python
 
1012
  implementation, and once against an extension (pyrex/C) implementation.
 
1013
  It can be used to dramatically simplify the implementation of
 
1014
  ``load_tests``.  (John Arbash Meinel)
 
1015
 
 
1016
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
 
1017
  This permits features in testtools such as getUniqueInteger and
 
1018
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
 
1019
  newer is now a dependency to run bzr selftest. Running with versions of
 
1020
  testtools less than 0.9.2 will cause bzr to error while loading the test
 
1021
  suite. (Robert Collins)
 
1022
 
 
1023
* Shell-like tests now support the command "mv" for moving files.  The
 
1024
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
 
1025
  supported.  (Neil Martinsen-Burrell)
 
1026
 
 
1027
* The test progress bar no longer distinguishes tests that 'errored' from
 
1028
  tests that 'failed' - they're all just failures.
 
1029
  (Martin Pool)
 
1030
 
 
1031
bzr 2.0.6
 
1032
#########
 
1033
 
 
1034
:2.0.6: NOT RELEASED YET
 
1035
 
 
1036
Bug Fixes
 
1037
*********
 
1038
 
 
1039
* Additional merges after an unrelated branch has been merged with its
 
1040
  history no longer crash when deleted files are involved.
 
1041
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
1042
 
 
1043
* ``bzr revert`` now only takes write lock on working tree, instead of on 
 
1044
  both working tree and branch.
 
1045
  (Danny van Heumen, #498409)
 
1046
 
 
1047
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
1048
  permissions as ``.bzr`` directory on a POSIX OS.
 
1049
  (Parth Malwankar, #262450)
 
1050
 
 
1051
* Repositories accessed via a smart server now reject being stacked on a
 
1052
  repository in an incompatible format, as is the case when accessing them
 
1053
  via other methods.  This was causing fetches from those repositories via
 
1054
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
1055
  (Andrew Bennetts, #562380)
 
1056
 
 
1057
bzr 2.0.5
 
1058
#########
 
1059
 
 
1060
:2.0.5: 2010-03-23
 
1061
 
 
1062
This fifth release in our 2.0 series addresses several user-inconvenience
 
1063
bugs.  None are critical, but upgrading is recommended for all users on
 
1064
earlier 2.0 releases.
 
1065
 
 
1066
Bug Fixes
 
1067
*********
 
1068
 
 
1069
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
1070
  (Martin Pool, #331095)
 
1071
 
 
1072
* Concurrent autopacking is more resilient to already-renamed pack files.
 
1073
  If we find that a file we are about to obsolete is already obsoleted, we
 
1074
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
1075
  The code is also fault tolerant if a file goes missing, assuming that
 
1076
  another process already removed the file.
 
1077
  (John Arbash Meinel, Gareth White, #507557)
 
1078
 
 
1079
* Cope with the lockdir ``held/info`` file being empty, which seems to
 
1080
  happen fairly often if the process is suddenly interrupted while taking
 
1081
  a lock.
 
1082
  (Martin Pool, #185103)
 
1083
 
 
1084
* Give the warning about potentially slow cross-format fetches much
 
1085
  earlier on in the fetch operation.  Don't show this message during
 
1086
  upgrades, and show the correct format indication for remote
 
1087
  repositories.
 
1088
  (Martin Pool, #456077, #515356, #513157)
 
1089
 
 
1090
* Handle renames correctly when there are files or directories that 
 
1091
  differ only in case.  (Chris Jones, Martin Pool, #368931)
 
1092
 
 
1093
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
 
1094
  error, report that error rather than failing with an unhelpful
 
1095
  ``UnboundLocalError``.
 
1096
  (Andrew Bennetts, #423563)
 
1097
 
 
1098
* Running ``bzr`` command without any arguments now shows bzr
 
1099
  version number along with rest of the help text.
 
1100
  (Parth Malwankar, #369501)
 
1101
 
 
1102
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
 
1103
  errors.
 
1104
  (Inada Naoki, #524560)
 
1105
 
 
1106
Documentation
 
1107
*************
 
1108
 
 
1109
* Added ``location-alias`` help topic.
 
1110
  (Andrew Bennetts, #337834)
 
1111
 
 
1112
* Fixed CHM generation by moving the NEWS section template into
 
1113
  a separate file. (Ian Clatworthy, #524184)
 
1114
 
 
1115
 
 
1116
bzr 2.0.4
 
1117
#########
 
1118
 
 
1119
:Codename: smooth sailing
 
1120
:2.0.4: 2010-01-21
 
1121
 
 
1122
The fourth bugfix-only release in the 2.0 series contains more than a
 
1123
dozen bugfixes relative to 2.0.3. The primary focus is on handling
 
1124
interruptions and concurrent operations more cleanly, there is also a fair
 
1125
improvement to ``bzr export`` when exporting a remote branch.
 
1126
 
 
1127
 
 
1128
Bug Fixes
 
1129
*********
 
1130
 
 
1131
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
 
1132
  fails with an ``ObjectNotLocked`` error.  (Andrew Bennetts, #496590)
 
1133
 
 
1134
* ``bzr export dir`` now requests all file content as a record stream,
 
1135
  rather than requsting the file content one file-at-a-time. This can make
 
1136
  exporting over the network significantly faster (54min => 9min in one
 
1137
  case). (John Arbash Meinel, #343218)
 
1138
 
 
1139
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
1140
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
1141
  free resources, and it should have been using ``__dealloc__``.
 
1142
  This will likely have an impact on any other process that is serving for
 
1143
  an extended period of time.  (John Arbash Meinel, #494406)
 
1144
 
 
1145
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
1146
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
1147
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
 
1148
 
 
1149
* Concurrent autopacks will no longer lose a newly created pack file.
 
1150
  There was a race condition, where if the reload happened at the right
 
1151
  time, the second packer would forget the name of the newly added pack
 
1152
  file. (John Arbash Meinel, Gareth White, #507566)
 
1153
 
 
1154
* Give a clearer message if the lockdir disappears after being apparently
 
1155
  successfully taken.  (Martin Pool, #498378)
 
1156
 
 
1157
* Give a warning when fetching between repositories (local or remote) with
 
1158
  sufficiently different formats that the content will need to be
 
1159
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
 
1160
  the user has a clue that upgrading could make it faster.
 
1161
  (Martin Pool, #456077)
 
1162
 
 
1163
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
 
1164
  than using ``warning()``. The log file is opened before logging is set
 
1165
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
 
1166
  users, rather than something nicer.
 
1167
  (John Arbash Meinel, Barry Warsaw, #503886)
 
1168
 
 
1169
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
 
1170
  (Martin Pool, John Arbash Meinel, #449372)
 
1171
 
 
1172
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
 
1173
  build. (there is still the distutils bug
 
1174
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
 
1175
 
 
1176
* The 2a format wasn't properly restarting autopacks when something
 
1177
  changed underneath it (like another autopack). Now concurrent
 
1178
  autopackers will properly succeed. (John Arbash Meinel, #495000)
 
1179
 
 
1180
* ``TreeTransform`` can now handle when a delta says that the file id for
 
1181
  the tree root changes. Rather than trying to rename your working
 
1182
  directory, or failing early saying that you can't have multiple
 
1183
  tree roots. This also fixes revert, update, and pull when the root id
 
1184
  changes.  (John Arbash Meinel, #494269, #504390)
 
1185
 
 
1186
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
 
1187
  the right time will get propagated, rather than silently failing to move
 
1188
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
 
1189
 
 
1190
Testing
 
1191
*******
 
1192
 
 
1193
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
 
1194
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
 
1195
  rather than an ``except ?:`` clause.) This should help prevent bugs like
 
1196
  bug #495023. (John Arbash Meinel)
 
1197
 
 
1198
 
 
1199
bzr 2.1.0b4
 
1200
###########
 
1201
 
 
1202
:Codename: san francisco airport
 
1203
:2.1.0b4: 2009-12-14
 
1204
 
 
1205
The fourth beta release in the 2.1 series brings with it a significant
 
1206
number of bugfixes (~20). The test suite is once again (finally) "green"
 
1207
on Windows, and should remain that way for future releases. There are a
 
1208
few performance related updates (faster upgrade and log), and several UI
 
1209
tweaks. There has also been a significant number of tweaks to the runtime
 
1210
documentation. 2.1.0b4 include everything from the 2.0.3 release.
 
1211
 
 
1212
 
 
1213
Compatibility Breaks
 
1214
********************
 
1215
 
 
1216
* The BZR_SSH environmental variable may now be set to the path of a secure
 
1217
  shell client. If currently set to the value ``ssh`` it will now guess the
 
1218
  vendor of the program with that name, to restore the old behaviour that
 
1219
  indicated the SSH Corporation client use ``sshcorp`` instead as the magic
 
1220
  string. (Martin <gzlist@googlemail.com>, #176292)
 
1221
 
 
1222
New Features
 
1223
************
 
1224
 
 
1225
* ``bzr commit`` now has a ``--commit-time`` option.
 
1226
  (Alexander Sack, #459276)
 
1227
 
 
1228
* ``-Dhpss`` now increases logging done when run on the bzr server,
 
1229
  similarly to how it works on the client. (John Arbash Meinel)
 
1230
 
 
1231
* New option ``bzr unshelve --keep`` applies the changes and leaves them
 
1232
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
 
1233
 
 
1234
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
 
1235
  respect a given terminal width. This can be useful when output is
 
1236
  redirected or in obscure cases where the default value is not
 
1237
  appropriate. Pagers can use it to get a better control of the line
 
1238
  lengths. 
 
1239
  (Vincent Ladeuil)
 
1240
 
 
1241
* The new command ``bzr lp-mirror`` will request that Launchpad update its
 
1242
  mirror of a local branch. This command will only function if launchpadlib
 
1243
  is installed.
 
1244
  (Jonathan Lange)
 
1245
 
 
1246
 
 
1247
Bug Fixes
 
1248
*********
 
1249
 
 
1250
* After renaming a file, the dirstate could accidentally reference
 
1251
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
 
1252
  source of some dirstate-related failures. (John Arbash Meinel)
 
1253
 
 
1254
* ``bzr commit`` now detects commit messages that looks like file names
 
1255
  and issues a warning.
 
1256
  (Gioele Barabucci, #73073)
 
1257
 
 
1258
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
 
1259
 
 
1260
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
 
1261
  (#325618, #484109, Marius Kruger)
 
1262
 
 
1263
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
 
1264
  files with conflicts (similar to ``--merge3``). The contents of the file
 
1265
  is a synthesis of all bases used for the merge.
 
1266
  (John Arbash Meinel, #40412)
 
1267
 
 
1268
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
 
1269
 
 
1270
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
 
1271
  (Robert Collins, #84659)
 
1272
 
 
1273
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
 
1274
 
 
1275
* Fix bug with redirected URLs over authenticated HTTP.
 
1276
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
 
1277
 
 
1278
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
 
1279
 
 
1280
* Lots of bugfixes for the test suite on Windows. We should once again
 
1281
  have a test suite with no failures on Windows. (John Arbash Meinel)
 
1282
 
 
1283
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
 
1284
  variable but returns None if the terminal is not a tty (when output is
 
1285
  redirected for example). Also fixes its usage under OSes that doesn't
 
1286
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
 
1287
  windows too.
 
1288
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
 
1289
  (John Arbash Meinel, Vincent Ladeuil, #492561)
 
1290
 
 
1291
* Terminate ssh subprocesses when no references to them remain, fixing
 
1292
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
 
1293
  
 
1294
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
 
1295
  works for 2a format trees.  Only files unaffected by content filters
 
1296
  will be hardlinked.  (Andrew Bennetts, #408193)
 
1297
 
 
1298
* The new glob expansion on Windows would replace all ``\`` characters
 
1299
  with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
 
1300
  etc. Now only change slashes if there is something being glob expanded.
 
1301
  (John Arbash Meinel, #485771)
 
1302
 
 
1303
* Use our faster ``KnownGraph.heads()`` functionality when computing the
 
1304
  new rich-root heads. This can cut a conversion time in half (mysql from
 
1305
  13.5h => 6.2h) (John Arbash Meinel, #487632)
 
1306
 
 
1307
* When launching a external diff tool via bzr diff --using, temporary files
 
1308
  are no longer created, rather, the path to the file in the working tree is
 
1309
  passed to the external diff tool. This allows the file to be edited if the
 
1310
  diff tool provides for this. (Gary van der Merwe, #490738)
 
1311
  
 
1312
* The launchpad-open command can now be used from a subdirectory of a
 
1313
  branch, not just from the root of the branch. 
 
1314
  (Neil Martinsen-Burrell, #489102)
 
1315
 
 
1316
 
 
1317
Improvements
 
1318
************
 
1319
 
 
1320
* ``bzr log`` is now faster. (Ian Clatworthy)
 
1321
 
 
1322
* ``bzr update`` provides feedback on which branch it is up to date with.
 
1323
  (Neil Martinsen-Burrell)
 
1324
 
 
1325
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
 
1326
  For details see the xml8 patch and heads() improvements.
 
1327
  (John Arbash Meinel)
 
1328
 
 
1329
* ``bzrlib.urlutils.local_path_from_url`` now accepts
 
1330
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
 
1331
  Hudson)
 
1332
 
 
1333
* The progress bar now shows only a spinner and per-operation counts,
 
1334
  not an overall progress bar.  The previous bar was often not correlated
 
1335
  with real overall operation progress, either because the operations take
 
1336
  nonlinear time, or because at the start of the operation Bazaar couldn't
 
1337
  estimate how much work there was to do.  (Martin Pool)
 
1338
 
 
1339
Documentation
 
1340
*************
 
1341
 
 
1342
* Lots of documentation tweaks for inline help topics and command help
 
1343
  information.
 
1344
 
 
1345
API Changes
 
1346
***********
 
1347
 
 
1348
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
 
1349
 
 
1350
* The Launchpad plugin now has a function ``login`` which will log in to
 
1351
  Launchpad with launchpadlib, and ``load_branch`` which will return the
 
1352
  Launchpad Branch object corresponding to a given Bazaar Branch object.
 
1353
  (Jonathan Lange)
 
1354
 
 
1355
Internals
 
1356
*********
 
1357
 
 
1358
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
 
1359
  easier to handle what tests you want to run based on what modules can be
 
1360
  imported. (Rather than lots of custom-implemented features that were
 
1361
  basically copy-and-pasted.) (John Arbash Meinel)
 
1362
 
 
1363
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
 
1364
  ``time.clock()`` when you want to do performance timing.
 
1365
  ``time.time()`` is limited to 15ms resolution on Windows, but
 
1366
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
 
1367
  (John Arbash Meinel)
 
1368
 
 
1369
* Several code paths that were calling ``Transport.get().read()`` have
 
1370
  been changed to the equalivent ``Transport.get_bytes()``. The main
 
1371
  difference is that the latter will explicitly call ``file.close()``,
 
1372
  rather than expecting the garbage collector to handle it. This helps
 
1373
  with some race conditions on Windows during the test suite and sftp
 
1374
  tests. (John Arbash Meinel)
 
1375
 
 
1376
Testing
 
1377
*******
 
1378
 
 
1379
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
 
1380
  unicode strings. (Michael Hudson, #464174)
 
1381
 
 
1382
 
 
1383
bzr 2.0.3
 
1384
#########
 
1385
 
 
1386
:Codename: little italy
 
1387
:2.0.3: 2009-12-14
 
1388
 
 
1389
 
 
1390
The third stable release of Bazaar has a small handful of bugfixes. As
 
1391
expected, this has no internal or external compatibility changes versus
 
1392
2.0.2 (or 2.0.0).
 
1393
 
 
1394
Bug Fixes
 
1395
*********
 
1396
 
 
1397
* ``bzr push --use-existing-dir`` no longer crashes if the directory
 
1398
  exists but contains an invalid ``.bzr`` directory.
 
1399
  (Andrew Bennetts, #423563)
 
1400
 
 
1401
* Content filters are now applied correctly after pull, merge and switch.
 
1402
  (Ian Clatworthy, #385879)
 
1403
 
 
1404
* Fix a potential segfault in the groupcompress hash map handling code.
 
1405
  When inserting new entries, if the final hash bucket was empty, we could
 
1406
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
 
1407
  (John Arbash Meinel, #490228)
 
1408
 
 
1409
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
1410
 
 
1411
 
 
1412
bzr 2.1.0b3
 
1413
###########
 
1414
 
 
1415
:Codename: after sprint recovery
 
1416
:2.1.0b3: 2009-11-16
 
1417
 
 
1418
This release was pushed up from its normal release cycle due to a
 
1419
regression in python 2.4 compatibility in 2.1.0b2.  Since this regression
 
1420
was caught before 2.1.0b2 was officially announced, the full changelog
 
1421
includes both 2.1.0b3 and 2.1.0b2 changes.
 
1422
 
 
1423
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
 
1424
the test suite now conforms to python's trunk enhanced semantics (skip,
 
1425
etc.), and ``bzr info -v`` will now report the correct branch and repo
 
1426
formats for Remote objects.
 
1427
 
 
1428
 
 
1429
New Features
 
1430
************
 
1431
 
 
1432
* Users can define a shelve editor to provide shelf functionality at a
 
1433
  granularity finer than per-patch-hunk. (Aaron Bentley)
 
1434
 
 
1435
Bug Fixes
 
1436
*********
 
1437
 
 
1438
* Fix for shell completion and short options.  (Benoît PIERRE)
 
1439
 
 
1440
* Fix ``bzr --profile-imports`` with Python 2.6.  (Martin Pool)
 
1441
 
 
1442
* Hooks daughter classes should always call the base constructor.
 
1443
  (Alexander Belchenko, Vincent Ladeuil, #389648) 
 
1444
 
 
1445
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
1446
 
 
1447
* On Windows, do glob expansion at the command-line level (as is usually
 
1448
  done in bash, etc.) This means that *all* commands get glob expansion
 
1449
  (bzr status, bzr add, bzr mv, etc). It uses a custom command line
 
1450
  parser, which allows us to know if a given section was quoted. It means
 
1451
  you can now do ``bzr ignore "*.py"``.
 
1452
  (John Arbash Meinel, #425510, #426410, #194450)
 
1453
 
 
1454
* Sanitize commit messages that come in from the '-m' flag. We translate
 
1455
  '\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
 
1456
  allow those because XML store silently translate it anyway. (The parser
 
1457
  auto-translates \r\n => \n in ways that are hard for us to catch.)
 
1458
 
 
1459
* Show correct branch and repository format descriptions in 
 
1460
  ``bzr info -v`` on a smart server location.  (Andrew Bennetts, #196080)
 
1461
 
 
1462
* The fix for bug #186920 accidentally broke compatibility with python
 
1463
  2.4.  (Vincent Ladeuil, #475585)
 
1464
 
 
1465
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
 
1466
  correctly sets ``self.inv_sha1`` to a sha1 string and
 
1467
  ``self.new_inventory`` to an Inventory instance after calling
 
1468
  ``self.finish_inventory()``. (Previously it accidently set both values
 
1469
  as a tuple on ``self.inv_sha1``. This was missed because
 
1470
  ``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
 
1471
  the sha1 from the repo directly. (John Arbash Meinel)
 
1472
 
 
1473
* Shelve command refuse to run if there is no real terminal.
 
1474
  (Alexander Belchenko)
 
1475
 
 
1476
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
 
1477
  Python level.  (Martin Pool)
 
1478
 
 
1479
Documentation
 
1480
*************
 
1481
 
 
1482
* Include Japanese translations for documentation (Inada Naoki)
 
1483
 
 
1484
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
 
1485
  (rather than user-interaction) data to stdout.  This automatically
 
1486
  coordinates with progress bars or other terminal activity, and can be
 
1487
  overridden by GUIs.
 
1488
  (Martin Pool, 493944)
 
1489
 
 
1490
Internals
 
1491
*********
 
1492
 
 
1493
* Some of the core groupcompress functionality now releases the GIL before
 
1494
  operation. Similar to how zlib and bz2 operate without the GIL in the
 
1495
  core compression and decompression routines. (John Arbash Meinel)
 
1496
 
 
1497
Testing
 
1498
*******
 
1499
 
 
1500
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
 
1501
  more debugging of VFS access triggers. (Robert Collins)
 
1502
 
 
1503
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
 
1504
  method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
 
1505
 
 
1506
* ``--parallel=fork`` is now compatible with --subunit.
 
1507
  (Robert Collins, Vincent Ladeuil, #419776)
 
1508
 
 
1509
* Reporting of failures shows test ids not descriptions and thus shows
 
1510
  parameterised tests correctly. (Robert Collins)
 
1511
 
 
1512
* TestNotApplicable is now handled within the TestCase.run method rather
 
1513
  than being looked for within ``ExtendedTestResult.addError``. This
 
1514
  provides better handling with other ``TestResult`` objects, degrading to
 
1515
  sucess rather than error. (Robert Collins)
 
1516
 
 
1517
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
 
1518
  removed - it was empty and unused. (Robert Collins)
 
1519
 
 
1520
* UnavailableFeature is now handled within the TestCase.run method rather
 
1521
  than being looked for within addError. If the Result object does not
 
1522
  have an addNotSupported method, addSkip is attempted instead, and
 
1523
  failing that addSuccess. (Robert Collins)
 
1524
 
 
1525
* When a TestResult does not have an addSkip method, skipped tests are now
 
1526
  reported as successful tests, rather than as errors. This change is
 
1527
  to make it possible to get a clean test run with a less capable
 
1528
  TestResult. (Robert Collins)
 
1529
 
 
1530
 
 
1531
 
 
1532
bzr 2.1.0b2
 
1533
###########
 
1534
 
 
1535
:Codename: a load off my mind
 
1536
:2.1.0b2: 2009-11-02
 
1537
 
 
1538
This is our second feature-filled release since 2.0, pushing us down the
 
1539
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
 
1540
 
 
1541
Key highlights in this release are: improved handling of
 
1542
failures-during-cleanup for commit, fixing a long-standing bug with
 
1543
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
 
1544
behind proxies, and a new StaticTuple datatype, allowing us to reduce
 
1545
memory consumption (50%) and garbage collector overhead (40% faster) for
 
1546
many operations.
 
1547
 
 
1548
* A new ``--concurrency`` option has been added as well as an associated
 
1549
  BZR_CONCURRENCY environment variable to specify the number of
 
1550
  processes that can be run concurrently when running ``bzr selftest``. The
 
1551
  command-line option overrides the environment variable if both are
 
1552
  specified. If none is specified. the number of processes is obtained
 
1553
  from the OS as before.  (Matt Nordhoff, Vincent Ladeuil)
 
1554
 
 
1555
Bug Fixes
 
1556
*********
 
1557
 
 
1558
* ``bzr+http`` servers no longer give spurious jail break errors when
 
1559
  serving branches inside a shared repository.  (Andrew Bennetts, #348308)
 
1560
 
 
1561
* Errors during commit are handled more robustly so that knock-on errors
 
1562
  are less likely to occur, and will not obscure the original error if
 
1563
  they do occur.  This fixes some causes of ``TooManyConcurrentRequests``
 
1564
  and similar errors.  (Andrew Bennetts, #429747, #243391)
 
1565
 
 
1566
* Launchpad urls can now be resolved from behind proxies.
 
1567
  (Gordon Tyler, Vincent Ladeuil, #186920)
 
1568
 
 
1569
* Reduce the strictness for StaticTuple, instead add a debug flag
 
1570
  ``-Dstatic_tuple`` which will change apis to be strict and raise errors.
 
1571
  This way, most users won't see failures, but developers can improve
 
1572
  internals. (John Arbash Meinel, #471193)
 
1573
 
 
1574
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
 
1575
  files.  (Aaron Bentley)
 
1576
 
 
1577
* Unicode paths are now handled correctly and consistently by the smart
 
1578
  server.  (Andrew Bennetts, Michael Hudson, #458762)
 
1579
 
 
1580
Improvements
 
1581
************
 
1582
 
 
1583
* When reading index files, we now use a ``StaticTuple`` rather than a
 
1584
  plain ``tuple`` object. This generally gives a 20% decrease in peak
 
1585
  memory, and can give a performance boost up to 40% on large projects.
 
1586
  (John Arbash Meinel)
 
1587
 
 
1588
* Peak memory under certain operations has been reduced significantly.
 
1589
  (eg, 'bzr branch launchpad standalone' is cut in half)
 
1590
  (John Arbash Meinel)
 
1591
 
 
1592
Documentation
 
1593
*************
 
1594
 
 
1595
* Filtered views user documentation upgraded to refer to format 2a
 
1596
  instead of pre-2.0 formats. (Ian Clatworthy)
 
1597
 
 
1598
API Changes
 
1599
***********
 
1600
 
 
1601
* Remove deprecated ``CLIUIFactory``.  (Martin Pool)
 
1602
 
 
1603
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
 
1604
  ``show_warning`` methods, which can be hooked by non-text UIs.  
 
1605
  (Martin Pool)
 
1606
 
 
1607
Internals
 
1608
*********
 
1609
 
 
1610
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
 
1611
  Dict (it only holds keys, but you can lookup the object located at a
 
1612
  given key). It has significantly reduced memory consumption versus the
 
1613
  builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
 
1614
  used as the interning structure for StaticTuple objects.
 
1615
  (John Arbash Meinel)
 
1616
 
 
1617
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
 
1618
  the btree index parser and the chk map parser. This class functions
 
1619
  similarly to ``tuple`` objects. However, it can only point to a limited
 
1620
  collection of types.  (Currently StaticTuple, str, unicode, None, bool,
 
1621
  int, long, float, but not subclasses).  This allows us to remove it from
 
1622
  the garbage collector (it cannot be in a cycle), it also allows us to
 
1623
  intern the objects. In testing, this can reduce peak memory by 20-40%,
 
1624
  and significantly improve performance by removing objects from being
 
1625
  inspected by the garbage collector.  (John Arbash Meinel)
 
1626
 
 
1627
* ``GroupCompressBlock._ensure_content()`` will now release the
 
1628
  ``zlib.decompressobj()`` when the first request is for all of the
 
1629
  content. (Previously it would only be released if you made a request for
 
1630
  part of the content, and then all of it later.) This turns out to be a
 
1631
  significant memory savings, as a ``zstream`` carries around approx 260kB
 
1632
  of internal state and buffers. (For branching bzr.dev this drops peak
 
1633
  memory from 382MB => 345MB.) (John Arbash Meinel)
 
1634
 
 
1635
* When streaming content between ``2a`` format repositories, we now clear
 
1636
  caches from earlier versioned files. (So 'revisions' is cleared when we
 
1637
  start reading 'inventories', etc.) This can have a significant impact on
 
1638
  peak memory for initial copies (~200MB). (John Arbash Meinel)
 
1639
 
 
1640
 
 
1641
bzr 2.0.2
 
1642
#########
 
1643
 
 
1644
:Codename: after the scare
 
1645
:2.0.2: 2009-11-02
 
1646
 
 
1647
The second in our "let's keep the stable bugfixes flowing" series. As
 
1648
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
 
1649
changes or features.
 
1650
 
 
1651
Bug Fixes
 
1652
*********
 
1653
 
 
1654
* Avoid "NoneType has no attribute st_mode" error when files disappear
 
1655
  from a directory while it's being read.  (Martin Pool, #446033)
 
1656
 
 
1657
* Content filters are now applied correctly after revert.
 
1658
  (Ian Clatworthy)
 
1659
 
 
1660
* Diff parsing handles "Binary files differ" hunks.  (Aaron Bentley, #436325)
 
1661
 
 
1662
* Fetching from stacked pre-2a repository via a smart server no longer
 
1663
  fails intermittently with "second push failed to complete".
 
1664
  (Andrew Bennetts, #437626)
 
1665
 
 
1666
* Fix typos left after test_selftest refactoring.
 
1667
  (Vincent Ladeuil, Matt Nordhoff, #461149)
 
1668
 
 
1669
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
 
1670
  (Andrew Bennetts, #445171)
 
1671
  
 
1672
* PreviewTree file names are not limited by the encoding of the temp
 
1673
  directory's filesystem. (Aaron Bentley, #436794)
 
1674
 
 
1675
Improvements
 
1676
************
 
1677
 
 
1678
* ``bzr log`` now read-locks branches exactly once, so makes better use of
 
1679
  data caches.  (Andrew Bennetts)
 
1680
 
 
1681
Documentation
 
1682
*************
 
1683
 
 
1684
* Filtered views user documentation upgraded to refer to format 2a
 
1685
  instead of pre-2.0 formats. (Ian Clatworthy)
 
1686
 
 
1687
 
 
1688
bzr 2.1.0b1
 
1689
###########
 
1690
 
 
1691
:Codename: While the cat is away
 
1692
:2.1.0b1: 2009-10-14
 
1693
 
 
1694
This is the first development release in the new split "stable" and
 
1695
"development" series. As such, the release is a snapshot of bzr.dev
 
1696
without creating a release candidate first. This release includes a
 
1697
fair amount of internal changes, with deprecated code being removed,
 
1698
and several new feature developments. People looking for a stable code
 
1699
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
 
1700
present in 2.0.1 are present in 2.1.0b1.
 
1701
 
 
1702
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
 
1703
finer control over the plugin search path via extended BZR_PLUGIN_PATH
 
1704
syntax, visible warnings when extension modules fail to load, and improved
 
1705
error handling during unlocking.
 
1706
 
 
1707
 
 
1708
New Features
 
1709
************
 
1710
 
 
1711
* Bazaar can now send mail through Apple OS X Mail.app. 
 
1712
  (Brian de Alwis)
 
1713
 
 
1714
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
 
1715
  specified in the URL.  Paths starting with a path segment of ``~`` are
 
1716
  relative to the home directory of the user running the server, and paths
 
1717
  starting with ``~user`` are relative to the home directory of the named
 
1718
  user.  For example, for a user "bob" with a home directory of
 
1719
  ``/home/bob``, these URLs are all equivalent:
 
1720
 
 
1721
  * ``bzr+ssh://bob@host/~/repo``
 
1722
  * ``bzr+ssh://bob@host/~bob/repo``
 
1723
  * ``bzr+ssh://bob@host/home/bob/repo``
 
1724
 
 
1725
  If ``bzr serve`` was invoked with a ``--directory`` argument, then no
 
1726
  home directories outside that directory will be accessible via this
 
1727
  method.
 
1728
 
 
1729
  This is a feature of ``bzr serve``, so pre-2.1 clients will
 
1730
  automatically benefit from this feature when ``bzr`` on the server is
 
1731
  upgraded.  (Andrew Bennetts, #109143)
 
1732
 
 
1733
* Extensions can now be compiled if either Cython or Pyrex is available.
 
1734
  Currently Pyrex is preferred, but that may change in the future.
 
1735
  (Arkanes)
 
1736
 
 
1737
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
 
1738
  disable the user, site and core plugin directories.
 
1739
  (Vincent Ladeuil, #412930, #316192, #145612)
 
1740
 
 
1741
Bug Fixes
 
1742
*********
 
1743
 
 
1744
* Bazaar's native protocol code now correctly handles EINTR, which most
 
1745
  noticeably occurs if you break in to the debugger while connected to a
 
1746
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
1747
  'c') and the process continues.  However, note that pressing C-\ in the
 
1748
  shell may still kill the SSH process, which is bug 162509, so you must
 
1749
  sent a signal to the bzr process specifically, for example by typing
 
1750
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
1751
 
 
1752
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
1753
  filename will issue a warning and skip over those files.
 
1754
  (Robert Collins, #3918)
 
1755
 
 
1756
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
 
1757
  are present in the working tree. The configuration option ``dpush_strict``
 
1758
  can be used to set the default for this behavior.
 
1759
  (Vincent Ladeuil, #438158)
 
1760
 
 
1761
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
 
1762
  merges are present in the working tree.
 
1763
  (Vincent Ladeuil, #426344)
 
1764
 
 
1765
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
1766
  traceback.  (Martin Pool, #109115)
 
1767
 
 
1768
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
 
1769
  as it is never built. (John Arbash Meinel, #430645)
 
1770
 
 
1771
* Don't restrict the command name used to run the test suite.
 
1772
  (Vincent Ladeuil, #419950)
 
1773
 
 
1774
* ftp transports were built differently when the kerberos python module was
 
1775
  present leading to obscure failures related to ASCII/BINARY modes.
 
1776
  (Vincent Ladeuil, #443041)
 
1777
 
 
1778
* Network streams now decode adjacent records of the same type into a
 
1779
  single stream, reducing layering churn. (Robert Collins)
 
1780
 
 
1781
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
 
1782
  file. (Aaron Bentley, #251532)
 
1783
 
 
1784
* Registry objects should not use iteritems() when asked to use items().
 
1785
  (Vincent Ladeuil, #430510)
 
1786
 
 
1787
* Weave based repositories couldn't be cloned when committers were using
 
1788
  domains or user ids embedding '.sig'. Now they can.
 
1789
  (Matthew Fuller, Vincent Ladeuil, #430868)
 
1790
 
 
1791
Improvements
 
1792
************
 
1793
 
 
1794
* Revision specifiers can now be given in a more DWIM form, without
 
1795
  needing explicit prefixes for specifiers like tags or revision id's.
 
1796
  See ``bzr help revisionspec`` for full details.  (Matthew Fuller)
 
1797
 
 
1798
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if 
 
1799
  compiled extensions can't be loaded.  This typically indicates a
 
1800
  packaging or installation problem.  In this case Bazaar will keep
 
1801
  running using pure-Python versions, but this may be substantially
 
1802
  slower.  The warning can be disabled by setting
 
1803
  ``ignore_missing_extensions = True`` in ``bazaar.conf``.
 
1804
  See also <https://answers.launchpad.net/bzr/+faq/703>.
 
1805
  (Martin Pool, #406113, #430529)
 
1806
 
 
1807
* Secondary errors that occur during Branch.unlock and Repository.unlock
 
1808
  no longer obscure the original error.  These methods now use a new
 
1809
  decorator, ``only_raises``.  This fixes many causes of
 
1810
  ``TooManyConcurrentRequests`` and similar errors.
 
1811
  (Andrew Bennetts, #429747)
 
1812
 
 
1813
Documentation
 
1814
*************
 
1815
 
 
1816
* Describe the new shell-like test feature. (Vincent Ladeuil)
 
1817
 
 
1818
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
1819
  currently supported. (Ian Clatworthy, #422415)
 
1820
 
 
1821
API Changes
 
1822
***********
 
1823
 
 
1824
* ``bzrlib.user_encoding`` has been removed; use
 
1825
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
 
1826
 
 
1827
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
 
1828
  subclasses - the same as python's unittest module. (Robert Collins)
 
1829
  
 
1830
* ``diff._get_trees_to_diff`` has been renamed to 
 
1831
  ``diff.get_trees_and_branches_to_diff``. It is now a public API, and it 
 
1832
  returns the old and new branches. (Gary van der Merwe)
 
1833
 
 
1834
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
 
1835
  (Martin Pool)
 
1836
 
 
1837
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
 
1838
  now defaults to comparing to the basis tree. It now checks for pending
 
1839
  merges too.  ``Merger.check_basis`` has been deprecated and replaced by the
 
1840
  corresponding has_changes() calls. ``Merge.compare_basis``,
 
1841
  ``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
 
1842
  been deprecated.
 
1843
  (Vincent Ladeuil, #440631)
 
1844
 
 
1845
* ``ProgressTask.note`` is deprecated.
 
1846
  (Martin Pool)
 
1847
 
 
1848
Internals
 
1849
*********
 
1850
 
 
1851
* Added ``-Drelock`` debug flag.  It will ``note`` a message every time a
 
1852
  repository or branch object is unlocked then relocked the same way.
 
1853
  (Andrew Bennetts)
 
1854
  
 
1855
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
 
1856
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
 
1857
  This results in a 10% speedup while reading an index.
 
1858
  (John Arbash Meinel)
 
1859
 
 
1860
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
 
1861
  profiling in some situations like callbacks and generators easier.
 
1862
  (Robert Collins)
 
1863
 
 
1864
Testing
 
1865
*******
 
1866
 
 
1867
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
 
1868
  be output for every test. Note that this is very verbose! (Robert Collins)
 
1869
 
 
1870
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
 
1871
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
 
1872
 
 
1873
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
 
1874
  documentation in ``developers/testing.txt`` for details.
 
1875
  (Vincent Ladeuil)
 
1876
 
 
1877
* Some tests could end up with the same id, that was dormant for
 
1878
  a long time.
 
1879
  (Vincent Ladeuil, #442980)
 
1880
 
 
1881
* Stop showing the number of tests due to missing features in the test
 
1882
  progress bar.  (Martin Pool)
 
1883
 
 
1884
* Test parameterisation now does a shallow copy, not a deep copy of the test
 
1885
  to be parameterised. This is not expected to break external use of test
 
1886
  parameterisation, and is substantially faster. (Robert Collins)
 
1887
 
 
1888
* Tests that try to open a bzr dir on an arbitrary transport will now
 
1889
  fail unless they have explicitly permitted the transport via
 
1890
  ``self.permit_url``. The standard test factories such as ``self.get_url``
 
1891
  will permit the urls they provide automatically, so only exceptional
 
1892
  tests should need to do this. (Robert Collins)
 
1893
 
 
1894
* The break-in test no longer cares about clean shutdown of the child,
 
1895
  instead it is happy if the debugger starts up. (Robert  Collins)
 
1896
 
 
1897
* The full test suite is expected to pass when the C extensions are not
 
1898
  present. (Vincent Ladeuil, #430749)
 
1899
 
 
1900
 
 
1901
bzr 2.0.1
 
1902
#########
 
1903
 
 
1904
:Codename: Stability First
 
1905
:2.0.1: 2009-10-14
 
1906
 
 
1907
The first of our new ongoing bugfix-only stable releases has arrived. It
 
1908
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
 
1909
include any of the feature development in the 2.1.0 series.
 
1910
 
 
1911
 
 
1912
Bug Fixes
 
1913
*********
 
1914
 
 
1915
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
1916
  filename will issue a warning and skip over those files.
 
1917
  (Robert Collins, #3918)
 
1918
 
 
1919
* bzr will attempt to authenticate with SSH servers that support
 
1920
  ``keyboard-interactive`` auth but not ``password`` auth when using
 
1921
  Paramiko.   (Andrew Bennetts, #433846)
 
1922
 
 
1923
* Fixed fetches from a stacked branch on a smart server that were failing
 
1924
  with some combinations of remote and local formats.  This was causing
 
1925
  "unknown object type identifier 60" errors.  (Andrew Bennetts, #427736)
 
1926
 
 
1927
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
 
1928
  on branches via a smart server.  (Andrew Bennetts, #389413)
 
1929
 
 
1930
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
 
1931
  at the root of a drive. ``osutils._cicp_canonical_relpath`` always
 
1932
  assumed that ``abspath()`` returned a path that did not have a trailing
 
1933
  ``/``, but that is not true when working at the root of the filesystem.
 
1934
  (John Arbash Meinel, Jason Spashett, #322807)
 
1935
 
 
1936
* Hide deprecation warnings for 'final' releases for python2.6.
 
1937
  (John Arbash Meinel, #440062)
 
1938
 
 
1939
* Improve the time for ``bzr log DIR`` for 2a format repositories.
 
1940
  We had been using the same code path as for <2a formats, which required
 
1941
  iterating over all objects in all revisions.
 
1942
  (John Arbash Meinel, #374730)
 
1943
 
 
1944
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
1945
  object when doing a merge, and there is limbo, or pending-deletions
 
1946
  directory.  (Gary van der Merwe, #427773)
 
1947
 
 
1948
* Occasional IndexError on renamed files have been fixed. Operations that
 
1949
  set a full inventory in the working tree will now go via the
 
1950
  apply_inventory_delta code path which is simpler and easier to
 
1951
  understand than dirstates set_state_from_inventory method. This may
 
1952
  have a small performance impact on operations built on _write_inventory,
 
1953
  but such operations are already doing full tree scans, so no radical
 
1954
  performance change should be observed. (Robert Collins, #403322)
 
1955
 
 
1956
* Retrieving file text or mtime from a _PreviewTree has good performance when
 
1957
  there are many changes.  (Aaron Bentley)
 
1958
 
 
1959
* The CHK index pages now use an unlimited cache size. With a limited
 
1960
  cache and a large project, the random access of chk pages could cause us
 
1961
  to download the entire cix file many times.
 
1962
  (John Arbash Meinel, #402623)
 
1963
 
 
1964
* When a file kind becomes unversionable after being added, a sensible
 
1965
  error will be shown instead of a traceback. (Robert Collins, #438569)
 
1966
 
 
1967
Documentation
 
1968
*************
 
1969
 
 
1970
* Improved README. (Ian Clatworthy)
 
1971
 
 
1972
* Improved upgrade documentation for Launchpad branches.
 
1973
  (Barry Warsaw)
 
1974
 
 
1975
 
 
1976
bzr 2.0.0
 
1977
#########
 
1978
 
 
1979
:2.0.0: 2009-09-22
 
1980
:Codename: Instant Karma
 
1981
 
 
1982
This release of Bazaar makes the 2a (previously 'brisbane-core') format
 
1983
the default when new branches or repositories are created.  This format is
 
1984
substantially smaller and faster for many operations.  Most of the work in
 
1985
this release focuses on bug fixes and stabilization, covering both 2a and
 
1986
previous formats.  (See the Upgrade Guide for information on migrating
 
1987
existing projects.)
 
1988
 
 
1989
This release also improves the documentation content and presentation,
 
1990
including adding Windows HtmlHelp manuals.
 
1991
 
 
1992
The Bazaar team decided that 2.0 will be a long-term supported release,
 
1993
with bugfix-only 2.0.x releases based on it, continuing for at least six
 
1994
months or until the following stable release.
 
1995
 
 
1996
Changes from 2.0.0rc2 to final
 
1997
******************************
 
1998
 
 
1999
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
 
2000
  that "want to happen on the 2.0.x stable series" versus things that want
 
2001
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
 
2002
  micro = 0.) (John Arbash Meinel)
 
2003
 
 
2004
 
 
2005
bzr 2.0.0rc2
 
2006
############
 
2007
 
 
2008
:2.0.0rc2: 2009-09-10
 
2009
 
 
2010
New Features
 
2011
************
 
2012
 
 
2013
* Added post_commit hook for mutable trees. This allows the keywords
 
2014
  plugin to expand keywords on files changed by the commit.
 
2015
  (Ian Clatworthy, #408841)
 
2016
 
 
2017
Bug Fixes
 
2018
*********
 
2019
 
 
2020
* Bazaar's native protocol code now correctly handles EINTR, which most
 
2021
  noticeably occurs if you break in to the debugger while connected to a
 
2022
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
2023
  'c') and the process continues.  However, note that pressing C-\ in the
 
2024
  shell may still kill the SSH process, which is bug 162509, so you must
 
2025
  sent a signal to the bzr process specifically, for example by typing
 
2026
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
2027
 
 
2028
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
2029
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
2030
  (Robert Collins, #416732)
 
2031
 
 
2032
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
2033
  format" (John Arbash Meinel, #424392)
 
2034
 
 
2035
* ``bzr log stacked-branch`` shows the full log including
 
2036
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
 
2037
  (John Arbash Meinel, #419241)
 
2038
 
 
2039
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
2040
  traceback.  (Martin Pool, #109115)
 
2041
 
 
2042
* Conversion to 2a will create a single pack for all the new revisions (as
 
2043
  long as it ran without interruption). This improves both ``bzr upgrade``
 
2044
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
2045
  The autopack logic that occurs every 100 revisions during local
 
2046
  conversions was not returning that pack's identifier, which resulted in
 
2047
  the partial packs created during the conversion not being consolidated
 
2048
  at the end of the conversion process. (Robert Collins, #423818)
 
2049
 
 
2050
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
2051
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
2052
  This means that when the source is fully packed, there is minimal
 
2053
  overhead during the fetch, but if the source is poorly packed the result
 
2054
  is a fairly well packed repository (not as good as 'bzr pack' but
 
2055
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
2056
 
 
2057
* Fix a potential segmentation fault when doing 'log' of a branch that had
 
2058
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
 
2059
  (John Arbash Meinel, #419241)
 
2060
 
 
2061
* ``groupcompress`` sort order is now more stable, rather than relying on
 
2062
  ``topo_sort`` ordering. The implementation is now
 
2063
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
 
2064
 
 
2065
* Local data conversion will generate correct deltas. This is a critical
 
2066
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
 
2067
  converting repositories. (Robert Collins, #422849)
 
2068
 
 
2069
* Network streams now decode adjacent records of the same type into a
 
2070
  single stream, reducing layering churn. (Robert Collins)
 
2071
 
 
2072
* Prevent some kinds of incomplete data from being committed to a 2a
 
2073
  repository, such as revisions without inventories, a missing chk_bytes
 
2074
  record for an inventory, or a missing text referenced by an inventory.
 
2075
  (Andrew Bennetts, #423506, #406687)
 
2076
  
 
2077
Documentation
 
2078
*************
 
2079
 
 
2080
* Fix assertion error about "_remember_remote_is_before" when pushing to
 
2081
  older smart servers.
 
2082
  (Andrew Bennetts, #418931)
 
2083
 
 
2084
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
2085
  currently supported. (Ian Clatworthy, #422415)
 
2086
 
 
2087
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
 
2088
  user documentation. The HTML documentation is better broken up into
 
2089
  topics. (Ian Clatworthy)
 
2090
 
 
2091
* The developer and foreign language documents are now separated
 
2092
  out so that searching in the HTML and CHM files produces more
 
2093
  useful results. (Ian Clatworthy)
 
2094
 
 
2095
* The main table of contents now provides links to the new Migration Docs
 
2096
  and Plugins Guide. (Ian Clatworthy)
 
2097
 
 
2098
 
 
2099
bzr 2.0.0rc1
 
2100
############
 
2101
 
 
2102
:Codename: no worries
 
2103
:2.0.0rc1: 2009-08-26
 
2104
 
 
2105
Compatibility Breaks
 
2106
********************
 
2107
 
 
2108
* The default format for bzr is now ``2a``. This format brings many
 
2109
  significant performance and size improvements. bzr can pull from
 
2110
  any existing repository into a ``2a`` one, but can only transfer
 
2111
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
 
2112
  has more information about this change. (Robert Collins)
 
2113
 
 
2114
* On Windows auto-detection of Putty's plink.exe is disabled.
 
2115
  Default SSH client for Windows is paramiko. User still can force
 
2116
  usage of plink if explicitly set environment variable BZR_SSH=plink.
 
2117
  (#414743, Alexander Belchenko)
 
2118
 
 
2119
New Features
 
2120
************
 
2121
 
 
2122
* ``bzr branch --switch`` can now switch the checkout in the current directory
 
2123
  to the newly created branch. (Lukáš Lalinský)
 
2124
 
 
2125
Bug Fixes
 
2126
*********
 
2127
 
 
2128
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
2129
  (Jason Spashett, #76616)
 
2130
 
 
2131
* Fetches were being requested in 'groupcompress' order, but weren't
 
2132
  recombining the groups. Thus they would 'fragment' to get the correct
 
2133
  order, but not 'recombine' to actually benefit from it. Until we get
 
2134
  recombining to work, switching to 'unordered' fetches avoids the
 
2135
  fragmentation. (John Arbash Meinel, #402645)
 
2136
 
 
2137
* Fix a pycurl related test failure on karmic by recognizing an error
 
2138
  raised by newer versions of pycurl.
 
2139
  (Vincent Ladeuil, #306264)
 
2140
 
 
2141
* Fix a test failure on karmic by making a locale test more robust.
 
2142
  (Vincent Ladeuil, #413514)
 
2143
 
 
2144
* Fix IndexError printing CannotBindAddress errors.
 
2145
  (Martin Pool, #286871)
 
2146
 
 
2147
* Fix "Revision ... not present" errors when upgrading stacked branches,
 
2148
  or when doing fetches from a stacked source to a stacked target.
 
2149
  (Andrew Bennetts, #399140)
 
2150
 
 
2151
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
 
2152
  batches together small fetches from 2a repositories, rather than
 
2153
  fetching only a few hundred bytes at a time.
 
2154
  (Andrew Bennetts, #402657)
 
2155
 
 
2156
Improvements
 
2157
************
 
2158
 
 
2159
* A better description of the platform is shown in crash tracebacks, ``bzr
 
2160
  --version`` and ``bzr selftest``.
 
2161
  (Martin Pool, #409137)
 
2162
 
 
2163
* bzr can now (again) capture crash data through the apport library, 
 
2164
  so that a single human-readable file can be attached to bug reports.
 
2165
  This can be disabled by using ``-Dno_apport`` on the command line, or by
 
2166
  putting ``no_apport`` into the ``debug_flags`` section of
 
2167
  ``bazaar.conf``.
 
2168
  (Martin Pool, Robert Collins, #389328)
 
2169
 
 
2170
* ``bzr push`` locally on windows will no longer give a locking error with
 
2171
  dirstate based formats. (Robert Collins)
 
2172
 
 
2173
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
2174
  (Robert Collins, #305006)
 
2175
 
 
2176
* Commit of specific files no longer prevents using the iter_changes
 
2177
  codepath. On 2a repositories, commit of specific files should now be as
 
2178
  fast, or slightly faster, than a full commit. (Robert Collins)
 
2179
 
 
2180
* The internal core code that handles specific file operations like
 
2181
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
 
2182
  include the parent directories if they have altered, and when a
 
2183
  directory stops being a directory its children are always included. This
 
2184
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
 
2185
  faster commit of specific paths. (Robert Collins, #347649)
 
2186
 
 
2187
Documentation
 
2188
*************
 
2189
 
 
2190
* New developer documentation for content filtering.
 
2191
  (Martin Pool)
 
2192
 
 
2193
API Changes
 
2194
***********
 
2195
 
 
2196
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
2197
  classes changed to manage lock lifetime of the trees they open in a way
 
2198
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
2199
 
 
2200
Testing
 
2201
*******
 
2202
 
 
2203
bzr 1.18.1
 
2204
##########
 
2205
 
 
2206
:Codename:     nein nein nein!
 
2207
:1.18.1:       2009-09-09
 
2208
 
 
2209
This release fixes two small but worthwhile bugs relevant to users on
 
2210
Microsoft Windows: some commands that failed on with locking errors will
 
2211
now work, and a bug that caused poor performance after committing a file
 
2212
with line-ending conversion has now been fixed.  It also fixes a bug in
 
2213
pushing to older servers.
 
2214
 
 
2215
Bug Fixes
 
2216
*********
 
2217
 
 
2218
* Fixed a problem where using content filtering and especially end-of-line
 
2219
  conversion will commit too many copies a file.
 
2220
  (Martin Pool, #415508)
 
2221
 
 
2222
* Fix assertion error about ``_remember_remote_is_before`` in
 
2223
  ``set_tags_bytes`` when pushing to older smart servers.  
 
2224
  (Andrew Bennetts, Alexander Belchenko, #418931)
 
2225
 
 
2226
Improvements
 
2227
************
 
2228
 
 
2229
* ``bzr push`` locally on Windows will no longer give a locking error with
 
2230
  dirstate based formats. (Robert Collins)
 
2231
 
 
2232
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
 
2233
  (Robert Collins, #305006)
 
2234
 
 
2235
API Changes
 
2236
***********
 
2237
 
 
2238
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
2239
  classes changed to manage lock lifetime of the trees they open in a way
 
2240
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
2241
 
 
2242
* ``Tree.path_content_summary`` may return a size of None, when called on
 
2243
  a tree with content filtering where the size of the canonical form
 
2244
  cannot be cheaply determined.  (Martin Pool)
 
2245
 
 
2246
* When manually creating transport servers in test cases, a new helper
 
2247
  ``TestCase.start_server`` that registers a cleanup and starts the server
 
2248
  should be used. (Robert Collins)
 
2249
 
 
2250
bzr 1.18
 
2251
########
 
2252
 
 
2253
Compatibility Breaks
 
2254
********************
 
2255
 
 
2256
* Committing directly to a stacked branch from a lightweight checkout will
 
2257
  no longer work. In previous versions this would appear to work but would
 
2258
  generate repositories with insufficient data to create deltas, leading
 
2259
  to later errors when branching or reading from the repository.
 
2260
  (Robert Collins, bug #375013)
 
2261
 
 
2262
New Features
 
2263
************
 
2264
 
 
2265
Bug Fixes
 
2266
*********
 
2267
 
 
2268
* Fetching from 2a branches from a version-2 bzr protocol would fail to
 
2269
  copy the internal inventory pages from the CHK store. This cannot happen
 
2270
  in normal use as all 2a compatible clients and servers support the
 
2271
  version-3 protocol, but it does cause test suite failures when testing
 
2272
  downlevel protocol behaviour. (Robert Collins)
 
2273
 
 
2274
* Fix a test failure on karmic by making a locale test more robust.
 
2275
  (Vincent Ladeuil, #413514)
 
2276
 
 
2277
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
 
2278
  fully packed 2a repository.  (Andrew Bennetts, #382463)
 
2279
 
 
2280
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
2281
  (Jason Spashett, #76616)
 
2282
 
 
2283
* Properly handle fetching into a stacked branch while converting the
 
2284
  data, especially when there are also ghosts. The code was filling in
 
2285
  parent inventories incorrectly, and also not handling when one of the
 
2286
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
 
2287
 
 
2288
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
 
2289
  inventory pages when appropriate (by falling back to the vfs stream
 
2290
  source).  (Andrew Bennetts, #406686)
 
2291
 
 
2292
* StreamSource generates rich roots from non-rich root sources correctly
 
2293
  now.  (Andrew Bennetts, #368921)
 
2294
 
 
2295
* When deciding whether a repository was compatible for upgrading or
 
2296
  fetching, we previously incorrectly checked the default repository
 
2297
  format for the bzrdir format, rather than the format that was actually
 
2298
  present on disk.  (Martin Pool, #408824)
 
2299
 
 
2300
Improvements
 
2301
************
 
2302
 
 
2303
* A better description of the platform is shown in crash tracebacks, ``bzr
 
2304
  --version`` and ``bzr selftest``.
 
2305
  (Martin Pool, #409137)
 
2306
 
 
2307
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
 
2308
  smart server are more efficient now.  They send inventory deltas rather
 
2309
  than full inventories.  The smart server has two new requests,
 
2310
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
 
2311
  support this.  (Andrew Bennetts, #374738, #385826)
 
2312
 
 
2313
* Extracting the full ancestry and computing the ``merge_sort`` is now
 
2314
  significantly faster. This effects things like ``bzr log -n0``. (For
 
2315
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
 
2316
  (John Arbash Meinel)
 
2317
 
 
2318
Documentation
 
2319
*************
 
2320
 
 
2321
API Changes
 
2322
***********
 
2323
 
 
2324
Internals
 
2325
*********
 
2326
 
 
2327
* ``-Dstrict_locks`` can now be used to check that read and write locks
 
2328
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
 
2329
  read lock on a file that we already have an OS write lock on.) This is
 
2330
  now set by default for all tests, if you have a test which cannot be
 
2331
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
 
2332
  compatibility knob. (John Arbash Meinel)
 
2333
 
 
2334
* InterDifferingSerializer is now only used locally.  Other fetches that
 
2335
  would have used InterDifferingSerializer now use the more network
 
2336
  friendly StreamSource, which now automatically does the same
 
2337
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
 
2338
 
 
2339
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
 
2340
  are implemented in pyrex and significantly faster. This is exposed along
 
2341
  with ``CombinedGraphIndex.find_ancestry()`` as
 
2342
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
 
2343
  (John Arbash Meinel)
 
2344
 
 
2345
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
 
2346
  protocols. (Robert Collins)
 
2347
 
 
2348
* The index code now has some specialized routines to extract the full
 
2349
  ancestry of a key in a more efficient manner.
 
2350
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
 
2351
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
 
2352
  Arbash Meinel)
 
2353
 
 
2354
Testing
 
2355
*******
 
2356
 
 
2357
* Install the test ssl certificate and key so that installed bzr
 
2358
  can run the https tests. (Denys Duchier, #392401)
 
2359
  
 
2360
 
 
2361
bzr 1.18rc1
 
2362
###########
 
2363
 
 
2364
:Codename: little traveller
 
2365
:1.18:    2009-08-20
 
2366
:1.18rc1: 2009-08-10
 
2367
 
 
2368
This release of Bazaar marches on towards the 2.0 release in which the 2a
 
2369
'brisbane-core' format becomes generally recommended.  Most of the work in
 
2370
this release now focusses on bug fixes and stabilization, covering both 2a
 
2371
and previous formats.  There is a new text-mode interactive merge feature,
 
2372
a new guide to migration to 2a format in the user documentation, and
 
2373
pushing branches to a smart server is now much faster.  
 
2374
 
 
2375
The Bazaar team decided that 2.0 will be a long-term supported release,
 
2376
with bugfix-only releases based on it continuing for at least six months
 
2377
or until the following stable release.
 
2378
 
 
2379
There are no changes from 1.18rc1 to 1.18.
 
2380
 
 
2381
New Features
 
2382
************
 
2383
 
 
2384
* ``bzr merge --interactive`` applies a user-selected portion of the
 
2385
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
 
2386
 
 
2387
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
 
2388
  ``--unstacked`` to change stacking of a branch.
 
2389
  (Martin Pool, #391411)
 
2390
 
 
2391
Bug Fixes
 
2392
*********
 
2393
 
 
2394
* Annotating on a stacked branch will now succeed in simple scenarios.
 
2395
  There are still some complex scenarios where it will fail (bug #399884)
 
2396
  (John Arbash Meinel, #393366)
 
2397
 
 
2398
* A progress bar is no longer left dangling when ``bzr selftest``
 
2399
  completes, and the progress bar updates with zero latency so the
 
2400
  displayed test name is always the one that's actually running.
 
2401
  (Martin Pool, #123688)
 
2402
 
 
2403
* Authenticating against an ssh server now uses ``auth_none`` to determine
 
2404
  if password authentication is even supported. This fixes a bug where
 
2405
  users would be prompted for a launchpad password, even though launchpad
 
2406
  only supports publickey authentication. (John Arbash Meinel, #375867)
 
2407
 
 
2408
* BranchBuilder now accepts timezone to avoid test failures in countries far
 
2409
  from GMT. (Vincent Ladeuil, #397716)
 
2410
 
 
2411
* ``bzr commit`` no longer saves the unversioning of missing files until
 
2412
  the commit has completed on the branch. This means that aborting a
 
2413
  commit that found a missing file will leave the tree unedited.
 
2414
  (Robert Collins, #282402)
 
2415
 
 
2416
* ``bzr mv`` no longer takes out branch locks, which allows it to work
 
2417
  when the branch is readonly. (Robert Collins, #216541)
 
2418
 
 
2419
* ``bzr revert .`` no longer generates an InconsistentDelta error when
 
2420
  there are missing subtrees. (Robert Collins, #367632)
 
2421
 
 
2422
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
 
2423
  do to internal changes necessary to support this, older clients will
 
2424
  fail when trying to insert them. For newer clients, the bundle can be
 
2425
  used to apply the changes to any rich-root compatible format.
 
2426
  (John Arbash Meinel, #393349)
 
2427
 
 
2428
* Cope with FTP servers that don't support restart/append by falling back
 
2429
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
 
2430
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
 
2431
 
 
2432
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
 
2433
  external diff client. This at least allows supporting filenames that are
 
2434
  not ascii, but are present in the current locale. Ideally we would be
 
2435
  able to pass the Unicode path, but that would be client dependent.
 
2436
  (John Arbash Meinel, #382709)
 
2437
 
 
2438
* Fix a compile bug on Solaris having to do with const and
 
2439
  pointer-to-pointers. (John Arbash Meinel, #408441)
 
2440
 
 
2441
* Fixed a NameError that occurs when merging or pulling from a URL that
 
2442
  causes a redirection loop when bzr tries to read a URL as a bundle.
 
2443
  (Andrew Bennetts, #400847)
 
2444
 
 
2445
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
 
2446
  running send and similar commands on 2a formats.
 
2447
  (Martin Pool, #408201)
 
2448
  
 
2449
* Fix crash in some invocations of ``bzr status`` in format 2a.
 
2450
  (Martin Pool, #403523)
 
2451
 
 
2452
* Fixed export to existing directory: if directory is empty then export 
 
2453
  will succeed, otherwise it fails with error.
 
2454
  (Alexander Belchenko, #406174)
 
2455
 
 
2456
* Fixed spurious "Source branch does not support stacking" warning when
 
2457
  pushing. (Andrew Bennetts, #388908)
 
2458
 
 
2459
* Fixed spurious transport activity indicator appearing while tests are
 
2460
  running.  (Martin Pool, #343532)
 
2461
 
 
2462
* Merge now correctly handles empty right-hand revision specs.
 
2463
  (Aaron Bentley, #333961)
 
2464
 
 
2465
* Renames to lexographically lower basenames in trees that have never been
 
2466
  committed to will no longer corrupt the dirstate. This was caused by an
 
2467
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
 
2468
 
 
2469
* Requests for unknown methods no longer cause the smart server to log
 
2470
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
 
2471
  ``do_end``.  (Andrew Bennetts, #338561)
 
2472
 
 
2473
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
 
2474
 
 
2475
* Streaming from bzr servers where there is a chain of stacked branches
 
2476
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
 
2477
 
 
2478
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
 
2479
  always forces progress bars either on or off respectively.  Otherwise,
 
2480
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
 
2481
  bzr always uses the 'text' user interface when run as a command, so
 
2482
  ``BZR_USE_TEXT_UI`` is no longer needed.
 
2483
  (Martin Pool, #339385, #387717)
 
2484
 
 
2485
* The optional ``_knit_load_data_pyx`` C extension was never being
 
2486
  imported.  This caused significant slowdowns when reading data from
 
2487
  repositories.  (Andrew Bennetts, #405653)
 
2488
  
 
2489
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
 
2490
  supported at the moment on workingtree formats that can do content
 
2491
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
2492
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
 
2493
 
 
2494
* There was a bug in ``osutils.relpath`` that was only triggered on
 
2495
  Windows. Essentially if you were at the root of a drive, and did
 
2496
  something to a branch/repo on another drive, we would go into an
 
2497
  infinite loop while trying to find a 'relative path'.
 
2498
  (John Arbash Meinel, #394227)
 
2499
 
 
2500
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
 
2501
  were present in a parent tree but renamed in the working tree.
 
2502
  (Robert Collins, #187207)
 
2503
 
 
2504
Improvements
 
2505
************
 
2506
 
 
2507
* Can now rename/move files even if they have been removed from the inventory.
 
2508
  (Marius Kruger)
 
2509
 
 
2510
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
 
2511
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
 
2512
  than VFS methods.  For example, pushes of small branches with tags take
 
2513
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
 
2514
 
 
2515
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
 
2516
  the same way that sending Ctrl-\\ does on other platforms.
 
2517
  (John Arbash Meinel)
 
2518
 
 
2519
Documentation
 
2520
*************
 
2521
 
 
2522
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
 
2523
 
 
2524
API Changes
 
2525
***********
 
2526
 
 
2527
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
 
2528
  need to subclass or create a specific class, or better yet the existing
 
2529
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
 
2530
  user interaction at all, rather than trying to read from stdin but not
 
2531
  writing any output, which would be strange if reading prompts or
 
2532
  passwords.  (Martin Pool)
 
2533
 
 
2534
* New TransformPreview.commit() allows committing without a working tree.
 
2535
  (Aaron Bentley)
 
2536
 
 
2537
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
 
2538
  (Martin Pool)
 
2539
 
 
2540
* ProgressTasks now prefer to talk direct to their ProgressView not to the
 
2541
  UIFactory. 
 
2542
  (Martin Pool)
 
2543
 
 
2544
* ``WorkingTree._check`` now requires a references dict with keys matching
 
2545
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
 
2546
 
 
2547
Internals
 
2548
*********
 
2549
 
 
2550
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
 
2551
  reading the entries along the path, reducing work to lookup ids from
 
2552
  paths. (Robert Collins)
 
2553
 
 
2554
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
 
2555
  as new a key which was already mapped. (Robert Collins)
 
2556
 
 
2557
* Inventory delta application catches more cases of corruption and can
 
2558
  prevent corrupt deltas from affecting consistency of data structures on
 
2559
  disk. (Robert Collins)
 
2560
 
 
2561
* --subunit support now adds timestamps if the subunit version supports
 
2562
  it. (Robert Collins)
 
2563
 
 
2564
* The Windows all-in-one installer now bundles the PyQt image format
 
2565
  plugins, which allows previewing more images as part of 'qdiff'.
 
2566
  (Alexander Belchenko)
 
2567
 
 
2568
 
 
2569
Testing
 
2570
*******
 
2571
 
 
2572
* Merge directive cherrypick tests must use the same root id.
 
2573
  (Martin Pool, #409684)
 
2574
 
 
2575
* Spurious failure in ``check`` tests on rich-root formats fixed.
 
2576
  (Martin Pool, #408199)
 
2577
 
 
2578
* The ``bzrlib.tests.TextTestRunner`` will no longer call
 
2579
  ``countTestsCases`` on the test being run. Progress information is
 
2580
  instead handled by having the test passed in call ``result.progress``
 
2581
  before running its contents. This improves the behaviour when using
 
2582
  ``TextTestRunner`` with test suites that don't support
 
2583
  ``countTestsCases``. (Robert Collins)
 
2584
 
 
2585
 
 
2586
bzr 1.17.1 (unreleased)
 
2587
#######################
 
2588
 
 
2589
Bug Fixes
 
2590
*********
 
2591
 
 
2592
* The optional ``_knit_load_data_pyx`` C extension was never being
 
2593
  imported.  This caused significant slowdowns when reading data from
 
2594
  knit format repositories.  (Andrew Bennetts, #405653)
 
2595
  
 
2596
 
 
2597
bzr 1.17
 
2598
########
 
2599
:Codename: so-late-its-brunch
 
2600
:1.17rc1: 2009-07-13
 
2601
:1.17: 2009-07-20
 
2602
 
 
2603
 
 
2604
Bazaar continues to blaze a straight and shining path to the 2.0 release and
 
2605
the elevation of the ``2a`` beta format to the full glory of "supported and
 
2606
stable".
 
2607
 
 
2608
Highlights in this release include greatly reduced memory consumption during
 
2609
commits, faster ``ls``, faster ``annotate``, faster network operations if
 
2610
you're specifying a revision number and the final destruction of those
 
2611
annoying progress bar artifacts.
 
2612
 
 
2613
 
 
2614
Changes from 1.17rc1 to 1.17final
 
2615
*********************************
 
2616
 
 
2617
* Change an extension to call the python ``frozenset()`` rather than the C
 
2618
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
 
2619
  C api. (John Arbash Meinel, #399366)
 
2620
 
 
2621
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
 
2622
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
 
2623
  (John Arbash Meinel, #399356)
 
2624
 
 
2625
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
 
2626
  directory before serving it. (Andrew Bennetts, #400535)
 
2627
 
 
2628
 
 
2629
Compatibility Breaks
 
2630
********************
 
2631
 
 
2632
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
 
2633
  instead of "product" which is the correct Launchpad terminology.  The
 
2634
  --product option is deprecated and users should switch to using --project.
 
2635
  (Neil Martinsen-Burrell, #238764)
 
2636
 
 
2637
 
 
2638
New Features
 
2639
************
 
2640
 
 
2641
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
 
2642
  are present in the working tree (if one is present) and no revision is
 
2643
  specified. The configuration option ``push_strict`` can be used to set the
 
2644
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
 
2645
 
 
2646
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
 
2647
  show revision info for the working tree instead of the branch.
 
2648
  (Matthew Fuller, John Arbash Meinel)
 
2649
 
 
2650
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
 
2651
  are present in the working tree and no revision is specified. The
 
2652
  configuration option ``send_strict`` can be used to set the default for this
 
2653
  behavior.
 
2654
  (Vincent Ladeuil, #206577)
 
2655
 
 
2656
* ``bzr switch --create-branch/-b`` can now be used to create and switch
 
2657
  to a new branch. Supplying a name without a ``/`` will create the branch
 
2658
  relative to the existing branch. (similar to how ``bzr switch name``
 
2659
  works when the branch already exists.) (John Arbash Meinel)
 
2660
 
 
2661
 
 
2662
Bug Fixes
 
2663
*********
 
2664
 
 
2665
* Accept uppercase "Y/N" to prompts such as from break lock. 
 
2666
  (#335182, Tim Powell, Martin Pool)
 
2667
 
 
2668
* Add documentation about diverged branches and how to fix them in the
 
2669
  centralized workflow with local commits.  Mention ``bzr help
 
2670
  diverged-branches`` when a push fails because the branches have
 
2671
  diverged.  (Neil Martinsen-Burrell, #269477)
 
2672
 
 
2673
* Annotate would sometimes 'latch on' to trivial lines, causing important
 
2674
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
 
2675
 
 
2676
* Automatic format upgrades triggered by default stacking policies on a
 
2677
  1.16rc1 (or later) smart server work again.
 
2678
  (Andrew Bennetts, #388675)
 
2679
 
 
2680
* Avoid progress bar artifacts being left behind on the screen.
 
2681
  (Martin Pool, #321935)
 
2682
 
 
2683
* Better message in ``bzr split`` error suggesting a rich root format.
 
2684
  (Neil Martinsen-Burrell, #220067)
 
2685
 
 
2686
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
2687
  server. (Andrew Bennetts, #365865)
 
2688
 
 
2689
* By default, ``bzr branch`` will fail if the target directory exists, but
 
2690
  does not already have a control directory.  The flag ``--use-existing-dir``
 
2691
  will allow operation to proceed.  (Alexander Belchenko, #307554)
 
2692
 
 
2693
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
2694
  (Ian Clatworthy)
 
2695
 
 
2696
* Fetch between repositories does not error if they have inconsistent data
 
2697
  that should be irrelevant to the fetch operation. (Aaron Bentley)
 
2698
 
 
2699
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
 
2700
  of a remote repository.
 
2701
  (Jelmer Vernooij, #332194)
 
2702
 
 
2703
* Fix bug in decoding v3 smart server messages when receiving multiple
 
2704
  lots of excess bytes after an end-of-message.
 
2705
  (Andrew Bennetts)
 
2706
 
 
2707
* Force deletion of readonly files during merge, update and other tree
 
2708
  transforms.
 
2709
  (Craig Hewetson, Martin Pool, #218206)
 
2710
 
 
2711
* Force socket shutdown in threaded http test servers to avoid client hangs
 
2712
  (pycurl).  (Vincent Ladeuil, #383920).
 
2713
 
 
2714
* ``LRUCache`` will maintain the linked list pointers even if a nodes
 
2715
  cleanup function raises an exception. (John Arbash Meinel, #396838)
 
2716
 
 
2717
* Progress bars are now suppressed again when the environment variable
 
2718
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
2719
  (Martin Pool, #339385)
 
2720
 
 
2721
* Reduced memory consumption during ``bzr commit`` of large files. For
 
2722
  pre 2a formats, should be down to ~3x the size of a file.
 
2723
  For ``--2a`` format repositories, it is down to the size of the file
 
2724
  content plus the size of the compressed text.  Related to bug #109114.
 
2725
  (John Arbash Meinel)
 
2726
 
 
2727
* Set hidden attribute on .bzr directory below unicode path should never
 
2728
  fail with error. The operation should succeed even if bzr unable to set 
 
2729
  the attribute.  (Alexander Belchenko, related to bug #335362).
 
2730
  
 
2731
* Stacking will no longer accept requests to stack on the same
 
2732
  branch/repository. Existing branches that incorrectly reference the same
 
2733
  repository in a stacking configuration will now raise
 
2734
  UnstackableLocationError when the branch is opened. This can be fixed by
 
2735
  removing the stacking location inside ``.bzr/branch``.
 
2736
  (Robert Collins, #376243)
 
2737
 
 
2738
* The ``log+`` decorator, useful in debugging or profiling, could cause
 
2739
  "AttributeError: 'list' object has no attribute 'next'".  This is now
 
2740
  fixed.  The log decorator no longer shows the elapsed time or transfer
 
2741
  rate because they're available in the log prefixes and the transport
 
2742
  activity display respectively.
 
2743
  (Martin Pool, #340347)
 
2744
 
 
2745
* Unshelve works correctly when multiple zero-length files are present on
 
2746
  the shelf. (Aaron Bentley, #363444)
 
2747
 
 
2748
* Progress bars no longer show the network transport scheme or direction.
 
2749
  (Martin Pool)
 
2750
 
 
2751
* launchpad-login now respects the 'verbose' option.
 
2752
  (Jonathan Lange, #217031)
 
2753
 
 
2754
 
 
2755
Internals
 
2756
*********
 
2757
 
 
2758
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
 
2759
  possible to write a deprecation wrapper, but the variable will be
 
2760
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
 
2761
  instead. (Alexander Belchenko)
 
2762
 
 
2763
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
2764
  three new hook points: ``get_command``, ``get_missing_command`` and
 
2765
  ``list_commands``, which allow just-in-time command name provision
 
2766
  rather than requiring all command names be known a-priori.
 
2767
  (Robert Collins)
 
2768
 
 
2769
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
 
2770
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
 
2771
 
 
2772
* ``graph.KnownGraph`` has been added. This is a class that can give
 
2773
  answers to ``heads()`` very quickly. However, it has the assumption that
 
2774
  the whole graph has already been loaded. This is true during
 
2775
  ``annotate`` so it is used there with good success (as much as 2x faster
 
2776
  for files with long ancestry and 'cherrypicked' changes.)
 
2777
  (John Arbash Meinel, Vincent Ladeuil)
 
2778
 
 
2779
* OS file locks are now taken out using ``CreateFile`` rather than
 
2780
  ``LockFileEx`` on Windows. The locking remains exclusive with
 
2781
  ``LockFileEx`` but now it also works on older versions of Windows (such
 
2782
  as Win98). (Martin <gzlist>)
 
2783
 
 
2784
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
2785
  than the ``Packer`` code. The user visible change is that we now
 
2786
  properly fetch the minimum number of texts for non-smart fetching.
 
2787
  (John Arbash Meinel)
 
2788
 
 
2789
 
 
2790
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
 
2791
  the repository as a single string, rather than a list of lines. This can
 
2792
  improve memory overhead and performance of committing large files.
 
2793
  (Currently a private api, used only by commit). (John Arbash Meinel)
 
2794
 
 
2795
 
 
2796
Improvements
 
2797
************
 
2798
 
 
2799
* ``bzr annotate`` can now be significantly faster. The time for
 
2800
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
 
2801
  histories and lots of 'duplicate insertions' will be improved more than
 
2802
  others. (John Arbash Meinel, Vincent Ladeuil)
 
2803
 
 
2804
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
2805
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
2806
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
2807
 
 
2808
* Improve "Path(s) are not versioned" error reporting for some commands.
 
2809
  (Benoît PIERRE)
 
2810
 
 
2811
* Initial commit performance in ``--2a`` repositories has been improved by
 
2812
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
 
2813
 
 
2814
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
2815
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
2816
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
2817
 
 
2818
* ``revision-info`` now properly aligns the revnos/revids in the output
 
2819
  and doesn't traceback when given revisions not in the current branch.
 
2820
  Performance is also significantly improved when requesting multiple revs
 
2821
  at once.  (Matthew Fuller, John Arbash Meinel)
 
2822
 
 
2823
* Tildes are no longer escaped by Transports. (Andy Kilner)
 
2824
 
 
2825
 
 
2826
Documentation
 
2827
*************
 
2828
 
 
2829
* Avoid bad text wrapping in generated documentation.  Slightly better
 
2830
  formatting in the user reference.
 
2831
  (Martin Pool, #249908)
 
2832
 
 
2833
* Minor clarifications to the help for End-Of-Line conversions.
 
2834
  (Ian Clatworthy)
 
2835
 
 
2836
API Changes
 
2837
***********
 
2838
 
 
2839
* Removed overspecific error class ``InvalidProgressBarType``.
 
2840
  (Martin Pool)
 
2841
 
 
2842
* The method ``ProgressView._show_transport_activity`` is now
 
2843
  ``show_transport_activity`` because it's part of the contract between
 
2844
  this class and the UI.  (Martin Pool)
 
2845
 
 
2846
 
 
2847
bzr 1.16.1
 
2848
##########
 
2849
 
 
2850
:Released: 2009-06-26
 
2851
 
 
2852
End user testing of the 2a format revealed two serious bugs. The first,
 
2853
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
 
2854
This meant that commits or pushes to 2a-format repositories failed
 
2855
intermittently.
 
2856
 
 
2857
The second bug, #390563, caused the smart server to raise AbsentContentFactory
 
2858
when streaming 2a stacked 2a-format branches. This particularly affected
 
2859
branches stored on Launchpad in the 2a format.
 
2860
 
 
2861
Both of these bugs cause command failures only, neither of them cause data
 
2862
corruption or data loss. And, of course, both of these bugs are now fixed.
 
2863
 
 
2864
Bug Fixes
 
2865
*********
 
2866
 
 
2867
* We now properly request a more minimal set of file texts when fetching
 
2868
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
 
2869
 
 
2870
* Repositories using CHK pages (which includes the new 2a format) will no
 
2871
  longer error during commit or push operations when an autopack operation
 
2872
  is triggered. (Robert Collins, #365615)
 
2873
 
 
2874
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
 
2875
  of referenced nodes rather than the *union* to determine what
 
2876
  uninteresting pages we still need to look at. Prior to this,
 
2877
  incrementally pushing to stacked branch would push the minimal data, but
 
2878
  fetching everything would request extra texts. There are some unhandled
 
2879
  cases wrt trees of different depths, but this fixes the common cases.
 
2880
  (Robert Collins, John Arbash Meinel, #390563)
 
2881
 
 
2882
* ``GroupCompress`` repositories now take advantage of the pack hints
 
2883
  parameter to permit cross-format fetching to incrementally pack the
 
2884
  converted data. (Robert Collins)
 
2885
 
 
2886
* ``Repository.commit_write_group`` now returns opaque data about what
 
2887
  was committed, for passing to the ``Repository.pack``. Repositories
 
2888
  without atomic commits will still return None. (Robert Collins)
 
2889
 
 
2890
* ``Repository.pack`` now takes an optional ``hint`` parameter
 
2891
  which will support doing partial packs for repositories that can do
 
2892
  that. (Robert Collins)
 
2893
 
 
2894
* RepositoryFormat has a new attribute 'pack_compresses' which is True
 
2895
  when doing a pack operation changes the compression of content in the
 
2896
  repository. (Robert Collins)
 
2897
 
 
2898
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
 
2899
  ``Repository.pack`` with the hint returned by
 
2900
  ``Repository.commit_write_group`` if the formats were different and the
 
2901
  repository can increase compression by doing a pack operation.
 
2902
  (Robert Collins, #376748)
 
2903
 
 
2904
 
 
2905
bzr 1.16
 
2906
########
 
2907
:Codename: yesterday-in-california
 
2908
:1.16rc1: 2009-06-11
 
2909
:1.16: 2009-06-18
 
2910
 
 
2911
This version of Bazaar contains the beta release of the new ``2a`` repository
 
2912
format, suitable for testing by fearless, advanced users. This format or an
 
2913
updated version of it will become the default format in Bazaar 2.0. Please
 
2914
read the NEWS entry before even thinking about upgrading to the new format.
 
2915
 
 
2916
Also included are speedups for many operations on huge projects, a bug fix for
 
2917
pushing stacked new stacked branches to smart servers and the usual bevy of
 
2918
bug fixes and improvements.
 
2919
 
 
2920
 
 
2921
Changes from 1.16rc1 to 1.16final
 
2922
*********************************
 
2923
 
 
2924
* Fix the nested tree flag check so that upgrade from development formats to
 
2925
  2a can work correctly.
 
2926
  (Jelmer Vernooij, #388727)
 
2927
 
 
2928
* Automatic format upgrades triggered by default stacking policies on a
 
2929
  1.16rc1 (or later) smart server work again.
 
2930
  (Andrew Bennetts, #388675)
 
2931
 
 
2932
 
 
2933
Compatibility Breaks
 
2934
********************
 
2935
 
 
2936
* Display prompt on stderr (instead of stdout) when querying users so
 
2937
  that the output of commands can be safely redirected.
 
2938
  (Vincent Ladeuil, #376582)
 
2939
 
 
2940
 
 
2941
New Features
 
2942
************
 
2943
 
 
2944
* A new repository format ``2a`` has been added.  This is a beta release
 
2945
  of the brisbane-core (aka group-compress) project.  This format now
 
2946
  suitable for wider testing by advanced users willing to deal with some
 
2947
  bugs.  We would appreciate test reports, either positive or negative.
 
2948
  Format 2a is substantially smaller and faster for many operations on
 
2949
  many trees.  This format or an updated version will become the default
 
2950
  in bzr 2.0.
 
2951
 
 
2952
  This is a rich-root format, so this repository format can be used with
 
2953
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
2954
  converted (including by merge, push and pull) to format 2a, but not vice
 
2955
  versa.  We recommend upgrading previous development formats to 2a.
 
2956
 
 
2957
  Upgrading to this format can take considerable time because it expands
 
2958
  and more concisely repacks the full history.
 
2959
 
 
2960
  If you use stacked branches, you must upgrade the stacked branches
 
2961
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
2962
 
 
2963
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
2964
  but using a Revision serializer using bencode rather than XML.
 
2965
  (Jelmer Vernooij, John Arbash Meinel)
 
2966
 
 
2967
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
2968
  configured from address.  (Barry Warsaw)
 
2969
 
 
2970
Improvements
 
2971
************
 
2972
 
 
2973
 
 
2974
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
2975
  bugs with stacking and non default formats.)
 
2976
  (John Arbash Meinel, #373455)
 
2977
 
 
2978
* ``--development6-rich-root`` delays generating a delta index for the
 
2979
  first object inserted into a group. This has a beneficial impact on
 
2980
  ``bzr commit`` since each committed texts goes to its own group. For
 
2981
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
2982
  up commit from 7s => 4s. (John Arbash Meinel)
 
2983
 
 
2984
* Numerous operations are now faster for huge projects, i.e. those
 
2985
  with a large number of files and/or a large number of revisions,
 
2986
  particularly when the latest development format is used. These
 
2987
  operations (and improvements on OpenOffice.org) include:
 
2988
 
 
2989
  * branch in a shared repository (2X faster)
 
2990
  * branch --no-tree (100X faster)
 
2991
  * diff (2X faster)
 
2992
  * tags (70X faster)
 
2993
 
 
2994
  (Ian Clatworthy)
 
2995
 
 
2996
* Pyrex version of ``bencode`` support. This provides optimized support
 
2997
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
2998
  ``bzrlib.utils.bencode`` is now deprecated.
 
2999
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
 
3000
 
 
3001
 
 
3002
Bug Fixes
 
3003
*********
 
3004
 
 
3005
* Bazaar can now pass attachment files to the mutt email client.
 
3006
  (Edwin Grubbs, #384158)
 
3007
 
 
3008
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
 
3009
  see which files can also be added.  (Jason Spashett, #76616)
 
3010
 
 
3011
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
3012
  Also, the ``Branch.revision_history()`` API now works in the same
 
3013
  situation.  (Andrew Bennetts, #380314)
 
3014
  
 
3015
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
3016
  TCP client disconnected. (Andrew Bennetts)
 
3017
 
 
3018
* Clarify the rules for locking and fallback repositories. Fix bugs in how
 
3019
  ``RemoteRepository`` was handling fallbacks along with the
 
3020
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
 
3021
 
 
3022
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
3023
  branch. Not often triggered, because it required ghosts to be part of
 
3024
  the fetched revisions, not in the stacked-on ancestry.
 
3025
  (John Arbash Meinel)
 
3026
 
 
3027
* Fix status and commit to work with content filtered trees, addressing
 
3028
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
3029
 
 
3030
* Fix problem of "directory not empty" when contending for a lock over
 
3031
  sftp.  (Martin Pool, #340352)
 
3032
 
 
3033
* Fix rule handling so that eol is optional, not mandatory.
 
3034
  (Ian Clatworthy, #379370)
 
3035
 
 
3036
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
3037
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
3038
  1.16, but required changes to the network protocol, so the
 
3039
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
3040
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
3041
  still work with a 1.16 server as they will fallback to slower (and
 
3042
  bug-free) methods.
 
3043
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
3044
 
 
3045
* Reconcile can now deal with text revisions that originated in revisions 
 
3046
  that are ghosts. (Jelmer Vernooij, #336749)
 
3047
 
 
3048
* Support cloning of branches with ghosts in the left hand side history.
 
3049
  (Jelmer Vernooij, #248540)
 
3050
 
 
3051
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
3052
  helpful message to the trace file, unless the temp directory really was
 
3053
  removed (which would be very strange).  Since the diff operation has
 
3054
  succeeded from the user's perspective, no output is written to stderr 
 
3055
  or stdout.  (Maritza Mendez, #363837)
 
3056
 
 
3057
* Translate errors received from a smart server in response to a
 
3058
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
3059
  This was causing tracebacks even for mundane errors like
 
3060
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
3061
 
 
3062
Documentation
 
3063
*************
 
3064
 
 
3065
* Added directory structure and started translation of docs in Russian.
 
3066
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
3067
  Volodymyr Kotulskyi)
 
3068
 
 
3069
API Changes
 
3070
***********
 
3071
 
 
3072
* Added osutils.parent_directories(). (Ian Clatworthy)
 
3073
 
 
3074
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
3075
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
3076
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
3077
 
 
3078
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
3079
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
3080
  for external users. (Gary van der Merwe)
 
3081
 
 
3082
* ``bzrlib.user_encoding`` is deprecated in favor of
 
3083
  ``get_user_encoding``.  (Alexander Belchenko)
 
3084
 
 
3085
* TreeTransformBase no longer assumes that limbo is provided via disk.
 
3086
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
 
3087
 
 
3088
Internals
 
3089
*********
 
3090
 
 
3091
* Remove ``weave.py`` script for accessing internals of old weave-format
 
3092
  repositories.  (Martin Pool)
 
3093
 
 
3094
Testing
 
3095
*******
 
3096
 
 
3097
* ``make check`` no longer repeats the test run in ``LANG=C``.
 
3098
  (Martin Pool, #386180)
 
3099
 
 
3100
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
3101
 
 
3102
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
3103
 
 
3104
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
3105
 
 
3106
 
 
3107
bzr 1.15
 
3108
########
 
3109
:1.15rc1: 2009-05-16
 
3110
:1.15: 2009-05-22
 
3111
:1.15.1: 2009-06-09
 
3112
 
 
3113
The smart server will no longer raise 'NoSuchRevision' when streaming content
 
3114
with a size mismatch in a reconstructed graph search. New command ``bzr
 
3115
dpush``. Plugins can now define their own annotation tie-breaker when two
 
3116
revisions introduce the exact same line.
 
3117
 
 
3118
Changes from 1.15.1 to 1.15.2
 
3119
*****************************
 
3120
 
 
3121
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
3122
  (Alexander Belchenko)
 
3123
 
 
3124
Changes from 1.15final to 1.15.1
 
3125
*********************************
 
3126
 
 
3127
* Translate errors received from a smart server in response to a
 
3128
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
3129
  This was causing tracebacks even for mundane errors like
 
3130
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
3131
 
 
3132
Changes from 1.15rc1 to 1.15final
 
3133
*********************************
 
3134
 
 
3135
* No changes
 
3136
 
 
3137
Compatibility Breaks
 
3138
********************
 
3139
 
 
3140
* ``bzr ls`` is no longer recursive by default. To recurse, use the
 
3141
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
 
3142
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
 
3143
  ``--no-recursive`` instead.  (Ian Clatworthy)
 
3144
 
 
3145
New Features
 
3146
************
 
3147
 
 
3148
* New command ``bzr dpush`` that can push changes to foreign 
 
3149
  branches (svn, git) without setting custom bzr-specific metadata.
 
3150
  (Jelmer Vernooij)
 
3151
 
 
3152
* The new development format ``--development6-rich-root`` now supports
 
3153
  stacking. We chose not to use a new format marker, since old clients
 
3154
  will just fail to open stacked branches, the same as if we used a new
 
3155
  format flag. (John Arbash Meinel, #373455)
 
3156
 
 
3157
* Plugins can now define their own annotation tie-breaker when two revisions
 
3158
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
 
3159
  Be aware though that this is temporary, private (as indicated by the leading
 
3160
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
 
3161
 
 
3162
* New command ``bzr dpush`` that can push changes to foreign 
 
3163
  branches (svn, git) without setting custom bzr-specific metadata.
 
3164
  (Jelmer Vernooij)
 
3165
 
 
3166
* ``bzr send`` will now check the ``child_submit_format`` setting in
 
3167
  the submit branch to determine what format to use, if none was 
 
3168
  specified on the command-line.  (Jelmer Vernooij)
 
3169
 
 
3170
Improvements
 
3171
************
 
3172
 
 
3173
* -Dhpss output now includes the number of VFS calls made to the remote
 
3174
  server. (Jonathan Lange)
 
3175
 
 
3176
* ``--coverage`` works for code running in threads too.
 
3177
  (Andrew Bennets, Vincent Ladeuil)
 
3178
 
 
3179
* ``bzr pull`` now has a ``--local`` option to only make changes to the
 
3180
  local branch, and not the bound master branch.
 
3181
  (Gary van der Merwe, #194716)
 
3182
 
 
3183
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
 
3184
 
 
3185
Bug Fixes
 
3186
*********
 
3187
 
 
3188
* Adding now works properly when path contains a symbolic link.
 
3189
  (Geoff Bache, #183831)
 
3190
 
 
3191
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
 
3192
 
 
3193
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
 
3194
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
 
3195
 
 
3196
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
 
3197
  (Martin von Gagern, #248932)
 
3198
 
 
3199
* ``bzr send`` works to send emails again using MAPI.
 
3200
  (Neil Martinsen-Burrell, #346998)
 
3201
 
 
3202
* Check for missing parent inventories in StreamSink.  This prevents
 
3203
  incomplete stacked branches being created by 1.13 bzr:// and
 
3204
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
 
3205
  causes those clients to send the missing records.  (Andrew Bennetts)
 
3206
 
 
3207
* Correctly handle http servers proposing multiple authentication schemes.
 
3208
  (Vincent Ladeuil, #366107)
 
3209
 
 
3210
* End-Of-Line content filters are now loaded correctly.
 
3211
  (Ian Clatworthy, Brian de Alwis, #355280)
 
3212
 
 
3213
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
3214
  longer than 64KiB. (John Arbash Meinel, #364900)
 
3215
 
 
3216
* Fix TypeError in running ``bzr break-lock`` on some URLs.
 
3217
  (Alexander Belchenko, Martin Pool, #365891)
 
3218
 
 
3219
* Non-recursive ``bzr ls`` now works properly when a path is specified.
 
3220
  (Jelmer Vernooij, #357863)
 
3221
 
 
3222
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
 
3223
  (Vincent Ladeuil, #367726)
 
3224
 
 
3225
* Several bugs related to unicode symlinks have been fixed and the test suite
 
3226
  enhanced to better catch regressions for them. (Vincent Ladeuil)
 
3227
 
 
3228
* The smart server will no longer raise 'NoSuchRevision' when streaming
 
3229
  content with a size mismatch in a reconstructed graph search: it assumes
 
3230
  that the client will make sure it is happy with what it got, and this
 
3231
  sort of mismatch is normal for stacked environments.
 
3232
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
 
3233
  getting all the content expected would be a bug. However the graph
 
3234
  search is how we figured out what we wanted, so a mismatch is both odd
 
3235
  and unrecoverable without starting over, and starting over will end up
 
3236
  with the same data as if we just permitted the mismatch. If data is
 
3237
  gc'd, doing a new search will find only the truncated data, so sending
 
3238
  only the truncated data seems reasonable. bzr versions newer than this
 
3239
  will stream from stacked branches and check the stream to find missing
 
3240
  content in the stacked-on branch, and thus will handle the situation
 
3241
  implicitly.  (Robert Collins, #360791)
 
3242
 
 
3243
* Upgrading to, or fetching into a 'rich-root' format will now correctly
 
3244
  set the root data the same way that reconcile does.
 
3245
  (Robert Collins, #368921)
 
3246
 
 
3247
* Using unicode Windows API to obtain command-line arguments.
 
3248
  (Alexander Belchenko, #375934)
 
3249
 
 
3250
Documentation
 
3251
*************
 
3252
 
 
3253
API Changes
 
3254
***********
 
3255
 
 
3256
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
 
3257
  instead of ``InstallFailed`` when they detect a missing revision.
 
3258
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
 
3259
 
 
3260
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
 
3261
  arguments from ``osutils.get_unicode_argv()`` which has proper support
 
3262
  for unicode arguments on windows. Further, the supplied arguments are now 
 
3263
  required to be unicode strings, rather than user_encoded strings.
 
3264
  (Alexander Belchenko)
 
3265
 
 
3266
Internals
 
3267
*********
 
3268
 
 
3269
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
 
3270
  class and will call ``_set_parent_location`` after doing unicode 
 
3271
  encoding. (Robert Collins)
 
3272
 
 
3273
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
 
3274
  ``Branch.set_parent_location`` removing further VFS operations.
 
3275
  (Robert Collins)
 
3276
 
 
3277
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
 
3278
  or similar when the dir supports configuration settings. The base class
 
3279
  defaults to None. There is a matching new server verb
 
3280
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
 
3281
  configuration. (Robert Collins)
 
3282
 
 
3283
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
 
3284
  called before the first test is started, ``done`` called after the last
 
3285
  test completes, and a new parameter ``strict``. (Robert Collins)
 
3286
 
 
3287
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
 
3288
  VFS operations are started on a smart server repository. This should not
 
3289
  occur on regular push and pull operations, and is a key indicator for
 
3290
  performance regressions. (Robert Collins)
 
3291
 
 
3292
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
 
3293
  cause mismatched physical locks to cause test errors rather than just
 
3294
  reporting to the screen. (Robert Collins)
 
3295
 
 
3296
* -Dprogress will cause pdb to start up if a progress view jumps
 
3297
  backwards. (Robert Collins)
 
3298
 
 
3299
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
 
3300
  are now be able to provide credentials if obtaining credentials 
 
3301
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
 
3302
  Vincent Ladeuil, #321918)
 
3303
 
 
3304
* New hook ``Lock.lock_broken`` which runs when a lock is
 
3305
  broken. This is mainly for testing that lock/unlock are
 
3306
  balanced in tests. (Vincent Ladeuil)
 
3307
 
 
3308
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
 
3309
  alter a body for the message produced by ``bzr send``.
 
3310
 
 
3311
* New smart server verb ``BzrDir.initialize_ex`` which implements a
 
3312
  refactoring to the core of clone allowing less round trips on new
 
3313
  branches. (Robert Collins)
 
3314
 
 
3315
* New method ``Tags.rename_revisions`` that can rename revision ids tags
 
3316
  are pointing at. (Jelmer Vernooij)
 
3317
 
 
3318
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
 
3319
 
 
3320
Testing
 
3321
*******
 
3322
 
 
3323
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
 
3324
  tests. Using ``-Dlock`` will turn the related failures into warnings.
 
3325
  (Vincent Ladeuil, Robert Collins)
 
3326
 
 
3327
bzr 1.14
 
3328
########
 
3329
:Codename: brisbane-core
 
3330
:1.14rc1: 2009-04-06
 
3331
:1.14rc2: 2009-04-19
 
3332
:1.14: 2009-04-28
 
3333
:1.14.1: 2009-05-01
 
3334
 
 
3335
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
 
3336
keyword templating (via the bzr-keywords plugin) and generic content filtering.
 
3337
End-of-line conversion is now supported for formats supporting content
 
3338
filtering.
 
3339
 
 
3340
Changes from 1.14final to 1.14.1
 
3341
********************************
 
3342
 
 
3343
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
 
3344
 
 
3345
Changes from 1.14rc2 to 1.14final
 
3346
*********************************
 
3347
 
 
3348
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
3349
  longer than 64KiB. (John Arbash Meinel, #364900)
 
3350
 
 
3351
Changes from 1.14rc1 to 1.14rc2
 
3352
*******************************
 
3353
 
 
3354
* Fix for bug 358037 Revision not in
 
3355
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
 
3356
  John A Meinel)
 
3357
 
 
3358
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
3359
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
3360
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
3361
 
 
3362
* Fix for bug 355280 eol content filters are never loaded and thus never
 
3363
  applied (Brian de Alwis, Ian Clatworthy)
 
3364
 
 
3365
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
 
3366
  write a better fix. (John Arbash Meinel, Robert Collins)
 
3367
 
 
3368
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
 
3369
  (Marius Kruger, Ian Clatworthy)
 
3370
 
 
3371
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
 
3372
  (Andrew Bennetts, Robert Collins)
 
3373
 
 
3374
Compatibility Breaks
 
3375
********************
 
3376
 
 
3377
* A previously disabled code path to accelerate getting configuration
 
3378
  settings from a smart server has been reinstated. We think this *may*
 
3379
  cause a incompatibility with servers older than bzr 0.15. We intend
 
3380
  to issue a point release to address this if it turns out to be a
 
3381
  problem. (Robert Collins, Andrew Bennetts)
14
3382
 
15
3383
* bzr no longer autodetects nested trees as 'tree-references'.  They
16
3384
  must now be explicitly added tree references.  At the commandline, use
17
3385
  join --reference instead of add.  (Aaron Bentley)
18
3386
 
 
3387
* The ``--long`` log format (the default) no longer shows merged
 
3388
  revisions implicitly, making it consistent with the ``short`` and
 
3389
  ``line`` log formats.  To see merged revisions for just a given
 
3390
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
 
3391
  use ``bzr log -n0``.  (Ian Clatworthy)
 
3392
 
19
3393
New Features
20
3394
************
21
3395
 
22
 
* New ``guess-renames`` command recognizes renames after they occur.
 
3396
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
 
3397
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
 
3398
  and generic content filtering. These formats replace the experimental
 
3399
  ``development-wt5`` and ``development-wt5-rich-root`` formats
 
3400
  respectively, but have support for filtered views disabled.
 
3401
  (Ian Clatworthy)
 
3402
 
 
3403
* New ``mv --auto`` option recognizes renames after they occur.
23
3404
  (Aaron Bentley)
24
3405
 
 
3406
* ``bzr`` can now get passwords from stdin without requiring a controlling
 
3407
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
 
3408
 
25
3409
* ``bzr log`` now supports filtering of multiple files and directories
26
3410
  and will show changes that touch any of them. Furthermore,
27
3411
  directory filtering now shows the changes to any children of that
46
3430
  trees). See ``bzr help content-filters`` for further details.
47
3431
  (Ian Clatworthy, Alexander Belchenko)
48
3432
 
 
3433
* End-of-line conversion is now supported for formats supporting
 
3434
  content filtering. See ``bzr help eol`` for details.
 
3435
  (Ian Clatworthy)
 
3436
 
 
3437
* Newly-blessed `join` command allows combining two trees into one.
 
3438
  (Aaron Bentley)
 
3439
 
49
3440
Improvements
50
3441
************
51
3442
 
67
3458
  version controlled files match the ignore pattern. (Neil
68
3459
  Martinsen-Burrell, #248895)
69
3460
 
 
3461
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
 
3462
  (Ian Clatworthy)
 
3463
 
70
3464
* ``bzr send`` is faster on repositories with deep histories.
71
3465
  (Ian Clatworthy)
72
3466
 
 
3467
* IPv6 literals are accepted in URLs.
 
3468
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
 
3469
 
73
3470
* Progress bars now show the rate of network activity for
74
3471
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
75
3472
 
 
3473
* Prompt for user names if they are not in the configuration. 
 
3474
  (Jelmer Vernooij, #256612)
 
3475
 
76
3476
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
77
3477
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
78
3478
  #294479)
81
3481
  implemented using a new ``Repository.insert_stream_locked`` RPC.
82
3482
  (Andrew Bennetts, Robert Collins)
83
3483
 
 
3484
* The "ignoring files outside view: .." message has been re-worded
 
3485
  to "Ignoring files outside view. View is .." to reduce confusion
 
3486
  about what was being considered and what was being ignored.
 
3487
  (Ian Clatworthy)
 
3488
 
 
3489
* The ``long`` log formatter now shows [merge] indicators. If
 
3490
  only one level of revisions is displayed and merges are found,
 
3491
  the ``long`` and ``short`` log formatters now tell the user
 
3492
  how to see the hidden merged revisions.  (Ian Clatworthy)
 
3493
 
 
3494
* The ``brisbane-core`` project has delivered its beta format
 
3495
  ``development6-rich-root``. This format is suitable for judicious
 
3496
  testing by early adopters. In particular if you are benchmarking bzr
 
3497
  performance please be sure to test using this format. At this stage
 
3498
  more information is best obtained by contacting the Bazaar mailing list
 
3499
  or IRC channel if you are interested in using this format. We will make
 
3500
  end user documentation available closer to blessing the format as
 
3501
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
 
3502
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
 
3503
 
84
3504
* Tildes are no longer escaped. No more %7Euser/project/branch!
85
3505
  (Jonathan Lange)
86
3506
 
87
3507
Bug Fixes
88
3508
*********
89
3509
 
 
3510
* Pushing a new stacked branch will also push the parent inventories for
 
3511
  revisions at the stacking boundary.  This makes sure that the stacked
 
3512
  branch has enough data to calculate inventory deltas for all of its
 
3513
  revisions (without requiring the fallback branch).  This avoids
 
3514
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
3515
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
3516
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
3517
 
 
3518
* End-Of-Line content filters are now loaded correctly.
 
3519
  (Ian Clatworthy, Brian de Alwis, #355280)
 
3520
 
90
3521
* Authentication plugins now receive all the parameters from the request
91
3522
  itself (aka host, port, realm, path, etc). Previously, only the 
92
3523
  authentication section name, username and encoded password were 
95
3526
* bzr gives a better message if an invalid regexp is passed to ``bzr log
96
3527
  -m``.  (Anne Mohsen, Martin Pool)
97
3528
 
 
3529
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
 
3530
 
 
3531
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
 
3532
  #313028)
 
3533
 
98
3534
* Fix "is not a stackable format" error when pushing a
99
3535
  stackable-format branch with an unstackable-format repository to a
100
3536
  destination with a default stacking policy.  (Andrew Bennetts)
102
3538
* Fixed incorrect "Source format does not support stacking" warning
103
3539
  when pushing to a smart server.  (Andrew Bennetts, #334114)
104
3540
 
 
3541
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
 
3542
  needed. (Vincent Ladeuil, #355454)
 
3543
 
105
3544
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
106
 
  on ``bzr add x/y/z`` in WorkingTree5 formats (e.g. ``development-wt5``)
107
 
  when no view is defined.  (Ian Clatworthy, #344708)
 
3545
  on ``bzr add x/y/z`` in formats supporting views when no view is
 
3546
  defined.  (Ian Clatworthy, #344708)
108
3547
 
109
3548
* It is no longer possible to fetch between repositories while the
110
3549
  target repository is in a write group. This prevents race conditions
122
3561
  both branches, we know that the trunk for the project can be read too,
123
3562
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
124
3563
 
 
3564
* Pushing a new stacked branch will also push the parent inventories for
 
3565
  revisions at the stacking boundary.  This makes sure that the stacked
 
3566
  branch has enough data to calculate inventory deltas for all of its
 
3567
  revisions (without requiring the fallback branch).  This avoids
 
3568
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
3569
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
3570
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
3571
 
 
3572
* The full test suite is passing again on OSX. Several minor issues (mostly
 
3573
  test related) have been fixed. (Vincent Ladeuil, #355273).
 
3574
 
125
3575
* The GNU Changelog formatter is slightly improved in the case where
126
3576
  the delta is empty, and now correctly claims not to support tags.
127
3577
  (Andrea Bolognani)
129
3579
* Shelve can now shelve changes to a symlink target.
130
3580
  (James Westby, #341558)
131
3581
 
 
3582
* The help for the ``info`` command has been corrected.
 
3583
  (Ian Clatworthy, #351931)
 
3584
 
 
3585
* Upgrade will now use a sensible default format if the source repository
 
3586
  uses rich roots.  (Jelmer Vernooij, #252908)
 
3587
 
132
3588
Documentation
133
3589
*************
134
3590
 
142
3598
API Changes
143
3599
***********
144
3600
 
145
 
* APIs deprecated in 1.6 and previous verisons of bzr are now removed.
 
3601
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
146
3602
  (Martin Pool)
147
3603
 
 
3604
* ``CommitReporter`` is no longer called with ``unchanged`` status during
 
3605
  commit - this was a full-tree overhead that bzr no longer performs.
 
3606
  (Robert Collins)
 
3607
 
 
3608
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
 
3609
  obtain the username to use when connecting to remote machines. 
 
3610
  (Jelmer Vernooij)
 
3611
 
148
3612
* New API ``Inventory.filter()`` added that filters an inventory by
149
3613
  a set of file-ids so that only those fileids, their parents and
150
3614
  their children are included.  (Ian Clatworthy)
166
3630
* The ``pb`` argument to ``fetch()`` is deprecated.
167
3631
  (Martin Pool)
168
3632
 
 
3633
* The ``Serializer`` class and the serializer ``format registry`` have moved
 
3634
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
 
3635
 
169
3636
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
170
3637
  that is not inside the backing transport from being opened.  See the
171
3638
  module documentation for ``bzrlib.smart.request`` for details.
172
3639
  (Andrew Bennetts, Robert Collins)
173
3640
 
 
3641
* ``Tree.get_symlink_target`` now always returns a unicode string result
 
3642
  or None. Previously it would return the bytes from reading the link
 
3643
  which could be in any arbitrary encoding. (Robert Collins)
 
3644
 
174
3645
Testing
175
3646
*******
176
3647
 
192
3663
Internals
193
3664
*********
194
3665
 
 
3666
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
 
3667
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
3668
 
 
3669
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
 
3670
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
3671
 
 
3672
* Added ``bzrlib.inventory_delta`` module.  This will be used for
 
3673
  serializing and deserializing inventory deltas for more efficient
 
3674
  streaming on the network.  (Robert Collins, Andrew Bennetts)
 
3675
 
 
3676
* ``Branch._get_config`` has been added, which splits out access to the
 
3677
  specific config file from the branch. This is used to let RemoteBranch
 
3678
  avoid constructing real branch objects to access configuration settings.
 
3679
  (Robert Collins, Andrew Bennetts)
 
3680
 
 
3681
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
 
3682
  the implementation is generic and should impact foreign formats. This
 
3683
  helps performance for ``RemoteBranch`` push operations to new stacked
 
3684
  branches. (Robert Collins, Andrew Bennetts)
 
3685
 
195
3686
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
196
3687
  optmizations turned off. This only has effect when processing > 100,000
197
3688
  keys during something like ``bzr pack``. (John Arbash Meinel)
219
3710
  objects, allowing better enforcement of the smart server jail when
220
3711
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
221
3712
 
 
3713
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
 
3714
  to be added to the stanza that is printed for a particular revision.
 
3715
  (Jelmer Vernooij)
 
3716
 
222
3717
* New repository method ``refresh_data`` to cause any repository to
223
3718
  make visible data inserted into the repository by a smart server
224
3719
  fetch operation. (Robert Collins, Andrew Bennetts)
225
3720
 
 
3721
* ``register_filter_stack_map`` now takes an optional fallback parameter,
 
3722
  a callable to invoke if a preference has a value not in the map
 
3723
  of filter stacks. This enhancement allows, for example,  bzr-svn to
 
3724
  handle existing svn properties that define a list of keywords to be
 
3725
  expanded.  (Ian Clatworthy)
 
3726
 
 
3727
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
 
3728
  to write config settings to smart servers that support this, saving
 
3729
  5 round trips on the stacked streaming acceptance test.
 
3730
  (Robert Collins, Andrew Bennetts)
 
3731
 
 
3732
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
 
3733
  branch specific configuration from a remote server, which uses the 
 
3734
  already existing ``Branch.get_config_file`` smart verb.
 
3735
  (Robert Collins, Andrew Bennetts)
 
3736
 
226
3737
* ``RemoteRepository`` will now negatively cache missing revisions during
227
3738
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
228
3739
  (Robert Collins, Andrew Bennetts)
241
3752
  building a working tree (file.writelines(str) is very inefficient). This
242
3753
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
243
3754
 
 
3755
* selftest now supports a --parallel option, with values of 'fork' or
 
3756
  'subprocess' to run the test suite in parallel. Currently only linux
 
3757
  machine work, other platforms need patches submitted. (Robert Collins,
 
3758
  Vincent Ladeuil)
 
3759
 
244
3760
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
245
3761
  callables to use to decorate the test suite. Such decorators can add or
246
3762
  remove tests, or even remote the test suite to another machine if
263
3779
:1.13: 2009-03-14
264
3780
:1.13rc1: 2009-03-10
265
3781
:1.13.1: 2009-03-23
 
3782
:1.13.2: 2009-04-27
266
3783
 
267
3784
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
268
3785
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
269
3786
stacked branches should both be much faster over remote connections.  
270
3787
 
271
 
Changes From 1.13 to 1.13.1
272
 
***************************
 
3788
Changes From 1.13.1 to 1.13.2
 
3789
*****************************
 
3790
 
 
3791
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
 
3792
a stacked branch they do not take care to push all the parent inventories for
 
3793
the transferred revisions. This means that a smart server serving that branch
 
3794
often cannot calculate inventory deltas for the branch (because smart server
 
3795
does not/cannot open fallback repositories). Prior to 1.13 the server did not
 
3796
have a verb to stream revisions out of a repository, so that's why this bug has
 
3797
appeared now.
 
3798
 
 
3799
Bug Fixes
 
3800
*********
 
3801
 
 
3802
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
3803
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
3804
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
3805
 
 
3806
Changes From 1.13final to 1.13.1
 
3807
********************************
 
3808
 
273
3809
A couple regessions where found in the 1.13 release. The pyrex-generated C
274
3810
extensions are missing from the .tar.gz and .zip files.  Documentation on how
275
3811
to generate GNU ChangeLogs is wrong.
288
3824
 
289
3825
* ``merge --force`` works again. (Robert Collins, #342105)
290
3826
 
291
 
Changes From RC1 to Final
292
 
*************************
 
3827
Changes From 1.13rc1 to 1.13final
 
3828
*********************************
293
3829
 
294
3830
* Fix "is not a stackable format" error when pushing a
295
3831
  stackable-format branch with an unstackable-format repository to a
330
3866
* Multiple authors for a commit can now be recorded by using the "--author"
331
3867
  option multiple times. (James Westby, #185772)
332
3868
 
333
 
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernoij)
 
3869
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
334
3870
 
335
3871
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
336
3872
  branch in your web browser, as long as the branch is on Launchpad at all.
441
3977
  reoccuring. (Robert Collins, Andrew Bennetts)
442
3978
 
443
3979
* Restore the progress bar on Windows. We were disabling it when TERM
444
 
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko)
 
3980
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
 
3981
  #334808)
445
3982
 
446
3983
* ``setup.py build_ext`` now gives a proper error when an extension
447
3984
  fails to build. (John Arbash Meinel)
843
4380
  (Vincent Ladeuil)
844
4381
 
845
4382
 
846
 
bzr 1.11 "Eyes up!" 2009-01-19
847
 
##############################
 
4383
bzr 1.11
 
4384
########
 
4385
 
 
4386
:Codename: "Eyes up!"
 
4387
:Released: 2009-01-19
848
4388
 
849
4389
This first monthly release of Bazaar for 2009 improves Bazaar's operation
850
4390
in Windows, Mac OS X, and other situations where file names are matched
870
4410
 
871
4411
 
872
4412
 
873
 
bzr 1.11rc1 "Eyes up!" 2009-01-09
874
 
#################################
 
4413
bzr 1.11rc1
 
4414
###########
 
4415
 
 
4416
:Codename: "Eyes up!"
 
4417
:Released: 2009-01-09
875
4418
 
876
4419
Changes
877
4420
*******
1107
4650
 
1108
4651
 
1109
4652
 
1110
 
bzr 1.10 2008-12-05
1111
 
###################
 
4653
bzr 1.10
 
4654
########
 
4655
 
 
4656
:Released: 2008-12-05
1112
4657
 
1113
4658
Bazaar 1.10 has several performance improvements for copying revisions
1114
4659
(especially for small updates to large projects).  There has also been a
1133
4678
  topologically. (John Arbash Meinel, #304841)
1134
4679
 
1135
4680
 
1136
 
bzr 1.10rc1 2008-11-28
1137
 
######################
 
4681
bzr 1.10rc1
 
4682
###########
 
4683
 
 
4684
:Released: 2008-11-28
1138
4685
 
1139
4686
This release of Bazaar focuses on performance improvements when pushing
1140
4687
and pulling revisions, both locally and to remote networks.  The popular
1254
4801
* Doctests now only report the first failure.  (Martin Pool)
1255
4802
 
1256
4803
 
1257
 
bzr 1.9 2008-11-07
1258
 
##################
 
4804
bzr 1.9
 
4805
#######
 
4806
 
 
4807
:Released: 2008-11-07
1259
4808
 
1260
4809
This release of Bazaar adds a new repository format, ``1.9``, with smaller
1261
4810
and more efficient index files.  This format can be specified when
1277
4826
  (John Arbash Meinel, #293746)
1278
4827
 
1279
4828
 
1280
 
bzr 1.9rc1 2008-10-31
1281
 
#####################
 
4829
bzr 1.9rc1
 
4830
##########
 
4831
 
 
4832
:Released: 2008-10-31
1282
4833
 
1283
4834
New Features
1284
4835
************
1395
4946
  configuration of authetication credentials.
1396
4947
 
1397
4948
 
1398
 
bzr 1.8 2008-10-16
1399
 
##################
 
4949
bzr 1.8
 
4950
#######
 
4951
 
 
4952
:Released: 2008-10-16
1400
4953
 
1401
4954
Bazaar 1.8 includes several fixes that improve working tree performance,
1402
4955
display of revision logs, and merges.  The bzr testsuite now passes on OS
1417
4970
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
1418
4971
 
1419
4972
 
1420
 
bzr 1.8rc1 2008-10-07
1421
 
#####################
 
4973
bzr 1.8rc1
 
4974
##########
 
4975
 
 
4976
:Released: 2008-10-07
1422
4977
 
1423
4978
Changes
1424
4979
*******
1616
5171
  (Vincent Ladeuil)
1617
5172
 
1618
5173
 
1619
 
bzr 1.7.1 2008-10-01
1620
 
####################
 
5174
bzr 1.7.1
 
5175
#########
 
5176
 
 
5177
:Released:  2008-10-01
1621
5178
 
1622
5179
No changes from 1.7.1rc1.
1623
5180
 
1624
5181
 
1625
 
bzr 1.7.1rc1 2008-09-24
1626
 
#######################
 
5182
bzr 1.7.1rc1
 
5183
############
 
5184
 
 
5185
:Released: 2008-09-24
1627
5186
 
1628
5187
This release just includes an update to how the merge algorithm handles
1629
5188
file paths when we encounter complex history.
1638
5197
  (John Arbash Meinel)
1639
5198
 
1640
5199
 
1641
 
bzr 1.7 2008-09-23
1642
 
##################
 
5200
bzr 1.7
 
5201
#######
 
5202
 
 
5203
:Released: 2008-09-23
1643
5204
 
1644
5205
This release includes many bug fixes and a few performance and feature
1645
5206
improvements.  ``bzr rm`` will now scan for missing files and remove them,
1656
5217
  packaging qbzr. (Mark Hammond)
1657
5218
 
1658
5219
 
1659
 
bzr 1.7rc2 2008-09-17
1660
 
#####################
 
5220
bzr 1.7rc2
 
5221
##########
 
5222
 
 
5223
:Released: 2008-09-17
1661
5224
 
1662
5225
A few bug fixes from 1.7rc1. The biggest change is a new
1663
5226
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
1681
5244
  (Andrew Bennetts)
1682
5245
 
1683
5246
 
1684
 
bzr 1.7rc1 2008-09-09
1685
 
#####################
 
5247
bzr 1.7rc1
 
5248
##########
 
5249
 
 
5250
:Released: 2008-09-09
1686
5251
 
1687
5252
This release candidate for bzr 1.7 has several bug fixes and a few
1688
5253
performance and feature improvements.  ``bzr rm`` will now scan for
1879
5444
  clients now use this mechanism.  (Neil Martinsen-Burrell)
1880
5445
 
1881
5446
 
1882
 
bzr 1.6.1 2008-09-05
1883
 
####################
 
5447
bzr 1.6.1
 
5448
#########
 
5449
 
 
5450
:Released: 2008-09-05
1884
5451
 
1885
5452
A couple regressions were found in the 1.6 release. There was a
1886
5453
performance issue when using ``bzr+ssh`` to branch large repositories,
1887
5454
and some problems with stacking and ``rich-root`` capable repositories.
1888
5455
 
1889
5456
 
1890
 
bzr 1.6.1rc2 2008-09-03
1891
 
#######################
 
5457
bzr 1.6.1rc2
 
5458
############
 
5459
 
 
5460
:Released: 2008-09-03
1892
5461
 
1893
5462
Bug Fixes
1894
5463
*********
1899
5468
  (John Arbash Meinel, #264321)
1900
5469
 
1901
5470
 
1902
 
bzr 1.6.1rc1 2008-08-29
1903
 
#######################
 
5471
bzr 1.6.1rc1
 
5472
############
 
5473
 
 
5474
:Released: 2008-08-29
1904
5475
 
1905
5476
This release fixes a few regressions found in the 1.6 client. Fetching
1906
5477
changes was using an O(N^2) buffering algorithm, so for large projects it
1940
5511
  (John Arbash Meinel, #262333)
1941
5512
 
1942
5513
 
1943
 
bzr 1.6 2008-08-25
1944
 
##################
 
5514
bzr 1.6
 
5515
#######
 
5516
 
 
5517
:Released: 2008-08-25
1945
5518
 
1946
5519
Finally, the long awaited bzr 1.6 has been released. This release includes
1947
5520
new features like Stacked Branches, improved weave merge, and an updated
1954
5527
TortoiseBzr in the standalone Windows installer.
1955
5528
 
1956
5529
 
1957
 
bzr 1.6rc5 2008-08-19
1958
 
#####################
 
5530
bzr 1.6rc5
 
5531
##########
 
5532
 
 
5533
:Released: 2008-08-19
1959
5534
 
1960
5535
Bug Fixes
1961
5536
*********
1967
5542
  (This change was reverted when merged to bzr.dev)
1968
5543
 
1969
5544
 
1970
 
bzr 1.6rc4 2008-08-18
1971
 
#####################
 
5545
bzr 1.6rc4
 
5546
##########
 
5547
 
 
5548
:Released: 2008-08-18
1972
5549
 
1973
5550
Bug Fixes
1974
5551
*********
1978
5555
  rather than preserving deltas.  (John Arbash Meinel, #256757)
1979
5556
 
1980
5557
 
1981
 
bzr 1.6rc3 2008-08-14
1982
 
#####################
 
5558
bzr 1.6rc3
 
5559
##########
 
5560
 
 
5561
:Released: 2008-08-14
1983
5562
 
1984
5563
Changes
1985
5564
*******
2012
5591
  development which is substantially faster. (Robert Collins)
2013
5592
 
2014
5593
 
2015
 
bzr 1.6rc2 2008-08-13
2016
 
#####################
 
5594
bzr 1.6rc2
 
5595
##########
 
5596
 
 
5597
:Released: 2008-08-13
2017
5598
 
2018
5599
This release candidate has a few minor bug fixes, and some regression
2019
5600
fixes for Windows.
2051
5632
  will get the same results.  (John Arbash Meinel, #232188)
2052
5633
 
2053
5634
 
2054
 
bzr 1.6rc1 2008-08-06
2055
 
#####################
 
5635
bzr 1.6rc1
 
5636
##########
 
5637
 
 
5638
:Released: 2008-08-06
2056
5639
 
2057
5640
This release candidate for bzr 1.6 solidifies the new branch stacking
2058
5641
feature.  Bazaar now recommends that users upgrade all knit repositories,
2188
5771
  (Ian Clatworthy)
2189
5772
 
2190
5773
 
2191
 
bzr 1.6beta3 2008-07-17
2192
 
#######################
 
5774
bzr 1.6beta3
 
5775
############
 
5776
 
 
5777
:Released: 2008-07-17
2193
5778
 
2194
5779
This release adds a new 'stacked branches' feature allowing branches to
2195
5780
share storage without being in the same repository or on the same machine.
2361
5946
  (Robert Collins)
2362
5947
 
2363
5948
 
2364
 
bzr 1.6beta2 2008-06-10
2365
 
#######################
 
5949
bzr 1.6beta2
 
5950
############
 
5951
 
 
5952
:Released: 2008-06-10
2366
5953
 
2367
5954
This release contains further progress towards our 1.6 goals of shallow
2368
5955
repositories, and contains a fix for some user-affecting bugs in the
2445
6032
* Knit record serialisation is now stricter on what it will accept, to
2446
6033
  guard against potential internal bugs, or broken input. (Robert Collins)
2447
6034
 
2448
 
bzr 1.6beta1 2008-06-02
2449
 
#######################
 
6035
bzr 1.6beta1
 
6036
############
2450
6037
 
 
6038
:Released: 2008-06-02
2451
6039
 
2452
6040
Commands that work on the revision history such as push, pull, missing,
2453
6041
uncommit and log are now substantially faster.  This release adds a
2665
6253
  (Martin Pool)
2666
6254
 
2667
6255
 
2668
 
bzr 1.5 2008-05-16
2669
 
##################
 
6256
bzr 1.5
 
6257
#######
 
6258
 
 
6259
:Released: 2008-05-16
2670
6260
 
2671
6261
This release of Bazaar includes several updates to the documentation, and fixes
2672
6262
to prepare for making rich root support the default format. Many bugs have been
2687
6277
  (Ian Clatworthy)
2688
6278
 
2689
6279
 
2690
 
bzr 1.5rc1 2008-05-09
2691
 
#####################
 
6280
bzr 1.5rc1
 
6281
##########
 
6282
 
 
6283
:Released: 2008-05-09
2692
6284
 
2693
6285
Changes
2694
6286
*******
2803
6395
  exception. (Andrew Bennetts)
2804
6396
 
2805
6397
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
2806
 
  options for debugging tests, these are complementary to the the -D
 
6398
  options for debugging tests, these are complementary to the -D
2807
6399
  options.  The ``-Dselftest_debug`` global option has been replaced by the
2808
6400
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
2809
6401
 
2858
6450
  (Martin Pool)
2859
6451
 
2860
6452
 
2861
 
bzr 1.4 2008-04-28
2862
 
##################
 
6453
bzr 1.4 
 
6454
#######
 
6455
 
 
6456
:Released: 2008-04-28
2863
6457
 
2864
6458
This release of Bazaar includes handy improvements to the speed of log and
2865
6459
status, new options for several commands, improved documentation, and better
2878
6472
  (John Arbash Meinel, Andrew Bennetts, #214894)
2879
6473
 
2880
6474
 
2881
 
bzr 1.4rc2 2008-04-21
2882
 
#####################
 
6475
bzr 1.4rc2
 
6476
##########
 
6477
 
 
6478
:Released: 2008-04-21
2883
6479
 
2884
6480
Bug Fixes
2885
6481
*********
2902
6498
  (Robert Collins, John Arbash Meinel)
2903
6499
 
2904
6500
 
2905
 
bzr 1.4rc1 2008-04-11
2906
 
#####################
 
6501
bzr 1.4rc1
 
6502
##########
 
6503
 
 
6504
:Released: 2008-04-11
2907
6505
 
2908
6506
Changes
2909
6507
*******
3190
6788
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
3191
6789
 
3192
6790
 
3193
 
bzr 1.3.1 2008-04-09
3194
 
####################
 
6791
bzr 1.3.1
 
6792
#########
 
6793
 
 
6794
:Released: 2008-04-09
3195
6795
 
3196
6796
No changes from 1.3.1rc1.
3197
6797
 
3198
6798
 
3199
 
bzr 1.3.1rc1 2008-04-04
3200
 
#######################
 
6799
bzr 1.3.1rc1
 
6800
############
 
6801
 
 
6802
:Released: 2008-04-04
3201
6803
 
3202
6804
Bug Fixes
3203
6805
*********
3208
6810
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
3209
6811
 
3210
6812
 
3211
 
bzr 1.3 2008-03-20
3212
 
##################
 
6813
bzr 1.3
 
6814
#######
 
6815
 
 
6816
:Released: 2008-03-20
3213
6817
 
3214
6818
Bazaar has become part of the GNU project <http://www.gnu.org>
3215
6819
 
3225
6829
  (#202778, Martin Pool)
3226
6830
 
3227
6831
 
3228
 
bzr 1.3rc1 2008-03-16
3229
 
#####################
 
6832
bzr 1.3rc1
 
6833
##########
 
6834
 
 
6835
:Released: 2008-03-16
3230
6836
 
3231
6837
Notes When Upgrading
3232
6838
********************
3412
7018
  format. (Robert Collins)
3413
7019
 
3414
7020
 
3415
 
bzr 1.2 2008-02-15
3416
 
##################
 
7021
bzr 1.2
 
7022
#######
 
7023
 
 
7024
:Released: 2008-02-15
3417
7025
 
3418
7026
Bug Fixes
3419
7027
*********
3421
7029
* Fix failing test in Launchpad plugin. (Martin Pool)
3422
7030
 
3423
7031
 
3424
 
bzr 1.2rc1 2008-02-13
3425
 
#####################
 
7032
bzr 1.2rc1
 
7033
##########
 
7034
 
 
7035
:Released: 2008-02-13
3426
7036
 
3427
7037
Notes When Upgrading
3428
7038
********************
3540
7150
  checkouts.  (Aaron Bentley, #182040)
3541
7151
 
3542
7152
* Stop polluting /tmp when running selftest.
3543
 
  (Vincent Ladeuil, #123623)
 
7153
  (Vincent Ladeuil, #123363)
3544
7154
 
3545
7155
* Switch from NFKC => NFC for normalization checks. NFC allows a few
3546
7156
  more characters which should be considered valid.
3623
7233
  revision names etc. (Robert Collins)
3624
7234
 
3625
7235
 
3626
 
bzr 1.1 2008-01-15
3627
 
##################
 
7236
bzr 1.1
 
7237
#######
 
7238
 
 
7239
:Released: 2008-01-15
3628
7240
 
3629
7241
(no changes from 1.1rc1)
3630
7242
 
3631
 
bzr 1.1rc1 2008-01-05
3632
 
#####################
 
7243
bzr 1.1rc1
 
7244
##########
 
7245
 
 
7246
:Released: 2008-01-05
3633
7247
 
3634
7248
Changes
3635
7249
*******
3839
7453
  replaced by the new helper methods added in this release. (Robert Collins)
3840
7454
 
3841
7455
 
3842
 
bzr 1.0 2007-12-14
3843
 
##################
 
7456
bzr 1.0
 
7457
#######
 
7458
 
 
7459
:Released: 2007-12-14
3844
7460
 
3845
7461
Documentation
3846
7462
*************
3857
7473
  (Ian Clatworthy)
3858
7474
 
3859
7475
 
3860
 
bzr 1.0rc3 2007-12-11
3861
 
#####################
 
7476
bzr 1.0rc3
 
7477
##########
 
7478
 
 
7479
:Released: 2007-12-11
3862
7480
 
3863
7481
Changes
3864
7482
*******
3899
7517
  (Vincent Ladeuil)
3900
7518
 
3901
7519
 
3902
 
bzr 1.0rc2 2007-12-07
3903
 
#####################
 
7520
bzr 1.0rc2
 
7521
##########
 
7522
 
 
7523
:Released: 2007-12-07
3904
7524
 
3905
7525
Improvements
3906
7526
************
3974
7594
  ``started`` methods. (Matt Nordhoff)
3975
7595
 
3976
7596
 
3977
 
bzr 1.0rc1 2007-11-30
3978
 
#####################
 
7597
bzr 1.0rc1
 
7598
##########
 
7599
 
 
7600
:Released: 2007-11-30
3979
7601
 
3980
7602
Notes When Upgrading
3981
7603
********************
4251
7873
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
4252
7874
 
4253
7875
 
4254
 
bzr 0.92 2007-11-05
4255
 
###################
 
7876
bzr 0.92
 
7877
########
 
7878
 
 
7879
:Released: 2007-11-05
4256
7880
 
4257
7881
Changes
4258
7882
*******
4260
7884
  * New uninstaller on Win32.  (Alexander Belchenko)
4261
7885
 
4262
7886
 
4263
 
bzr 0.92rc1 2007-10-29
4264
 
######################
 
7887
bzr 0.92rc1
 
7888
###########
 
7889
 
 
7890
:Released: 2007-10-29
4265
7891
 
4266
7892
Changes
4267
7893
*******
4580
8206
  raises a Python warning.  (Martin Pool)
4581
8207
 
4582
8208
 
4583
 
bzr 0.91 2007-09-26
4584
 
###################
 
8209
bzr 0.91
 
8210
########
 
8211
 
 
8212
:Released: 2007-09-26
4585
8213
 
4586
8214
Bug Fixes
4587
8215
*********
4602
8230
  (Andrew Bennetts)
4603
8231
 
4604
8232
 
4605
 
bzr 0.91rc2 2007-09-11
4606
 
######################
 
8233
bzr 0.91rc2
 
8234
###########
 
8235
 
 
8236
:Released: 2007-09-11
4607
8237
 
4608
8238
* Replaced incorrect tarball for previous release; a debug statement was left
4609
8239
  in bzrlib/remote.py.
4610
8240
 
4611
8241
 
4612
 
bzr 0.91rc1 2007-09-11
4613
 
######################
 
8242
bzr 0.91rc1
 
8243
###########
 
8244
 
 
8245
:Released: 2007-09-11
4614
8246
 
4615
8247
Changes
4616
8248
*******
4937
8569
  [] to revert all files is deprecated.  (Aaron Bentley)
4938
8570
 
4939
8571
 
4940
 
bzr 0.90 2007-08-28
4941
 
###################
 
8572
bzr 0.90
 
8573
########
 
8574
 
 
8575
:Released: 2007-08-28
4942
8576
 
4943
8577
Improvements
4944
8578
************
4961
8595
  and call ``create_repository`` on that.  (Martin Pool)
4962
8596
 
4963
8597
 
4964
 
bzr 0.90rc1 2007-08-14
4965
 
######################
 
8598
bzr 0.90rc1
 
8599
###########
 
8600
 
 
8601
:Released: 2007-08-14
4966
8602
 
4967
8603
Bugfixes
4968
8604
********
5234
8870
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
5235
8871
 
5236
8872
 
5237
 
bzr 0.18  2007-07-17
5238
 
####################
 
8873
bzr 0.18
 
8874
########
 
8875
 
 
8876
:Released:  2007-07-17
5239
8877
 
5240
8878
Bugfixes
5241
8879
********
5243
8881
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
5244
8882
 
5245
8883
 
5246
 
bzr 0.18rc1  2007-07-10
5247
 
#######################
 
8884
bzr 0.18rc1
 
8885
###########
 
8886
 
 
8887
:Released:  2007-07-10
5248
8888
 
5249
8889
Bugfixes
5250
8890
********
5495
9135
  (Vincent Ladeuil, #110448)
5496
9136
 
5497
9137
 
5498
 
bzr 0.17  2007-06-18
5499
 
####################
 
9138
bzr 0.17
 
9139
########
 
9140
 
 
9141
:Released:  2007-06-18
5500
9142
 
5501
9143
Bugfixes
5502
9144
********
5508
9150
  (Aaron Bentley, Ian Clatworthy, #120930)
5509
9151
 
5510
9152
 
5511
 
bzr 0.17rc1  2007-06-12
5512
 
#######################
 
9153
bzr 0.17rc1
 
9154
###########
 
9155
 
 
9156
:Released:  2007-06-12
5513
9157
 
5514
9158
Notes When Upgrading
5515
9159
********************
5610
9254
  your repository. (Previously Branch6 only supported revisions in your
5611
9255
  mainline). (John Arbash Meinel, #115343)
5612
9256
 
5613
 
bzr 0.16  2007-05-07
5614
 
####################
 
9257
bzr 0.16
 
9258
########
 
9259
 
 
9260
:Released:  2007-05-07
5615
9261
 
5616
9262
Bugfixes
5617
9263
********
5641
9287
  diff`` and ``bzr status`` significantly improving the speed of
5642
9288
  both. (John Arbash Meinel)
5643
9289
 
5644
 
bzr 0.16rc2  2007-04-30
5645
 
#######################
 
9290
bzr 0.16rc2
 
9291
###########
 
9292
 
 
9293
:Released:  2007-04-30
5646
9294
 
5647
9295
Bugfixes
5648
9296
********
5665
9313
* ``WorkingTree4._iter_changes`` should not descend into unversioned
5666
9314
  directories. (John Arbash Meinel, #110399)
5667
9315
 
5668
 
bzr 0.16rc1  2007-04-26
5669
 
#######################
 
9316
bzr 0.16rc1
 
9317
###########
 
9318
 
 
9319
:Released:  2007-04-26
5670
9320
 
5671
9321
Notes When Upgrading
5672
9322
********************
5973
9623
  implementation of new auth schemes for both http and proxy.
5974
9624
  (Vincent Ladeuil)
5975
9625
 
5976
 
bzr 0.15 2007-04-01
5977
 
###################
 
9626
bzr 0.15
 
9627
########
 
9628
 
 
9629
:Released: 2007-04-01
5978
9630
 
5979
9631
Bugfixes
5980
9632
********
5986
9638
  checking out a branch that contains an old-format working tree.
5987
9639
  (Martin Pool)
5988
9640
 
5989
 
bzr 0.15rc3  2007-03-26
5990
 
#######################
 
9641
bzr 0.15rc3
 
9642
###########
 
9643
 
 
9644
:Released:  2007-03-26
5991
9645
 
5992
9646
Changes
5993
9647
*******
6062
9716
* Correctly handles mutiple permanent http redirections.
6063
9717
  (vila, #88780)
6064
9718
 
6065
 
bzr 0.15rc2  2007-03-14
6066
 
#######################
 
9719
bzr 0.15rc2
 
9720
###########
 
9721
 
 
9722
:Released:  2007-03-14
6067
9723
 
6068
9724
Notes When Upgrading
6069
9725
********************
6116
9772
  (Wouter van Heyst, #53483)
6117
9773
 
6118
9774
 
6119
 
bzr 0.15rc1  2007-03-07
6120
 
#######################
 
9775
bzr 0.15rc1
 
9776
###########
 
9777
 
 
9778
:Released:  2007-03-07
6121
9779
 
6122
9780
Surprises
6123
9781
*********
6347
10005
  before the rest of the suite.  (Martin Pool)
6348
10006
 
6349
10007
 
6350
 
bzr 0.14  2007-01-23
6351
 
####################
 
10008
bzr 0.14
 
10009
########
 
10010
 
 
10011
:Released:  2007-01-23
6352
10012
 
6353
10013
Improvements
6354
10014
************
6367
10027
  it is in is below a repository. (James Westby, #77306)
6368
10028
 
6369
10029
 
6370
 
bzr 0.14rc1  2007-01-16
6371
 
#######################
 
10030
bzr 0.14rc1
 
10031
###########
 
10032
 
 
10033
:Released:  2007-01-16
6372
10034
 
6373
10035
Improvements
6374
10036
************
6502
10164
  (Alexander Belchenko, #68124)
6503
10165
 
6504
10166
 
6505
 
bzr 0.13  2006-12-05
6506
 
####################
 
10167
bzr 0.13
 
10168
########
 
10169
 
 
10170
:Released:  2006-12-05
6507
10171
 
6508
10172
No changes from 0.13rc
6509
10173
 
6510
10174
 
6511
 
bzr 0.13rc1  2006-11-27
6512
 
#######################
 
10175
bzr 0.13rc1
 
10176
###########
 
10177
 
 
10178
:Released:  2006-11-27
6513
10179
 
6514
10180
Improvements
6515
10181
************
6634
10300
* TestingHTTPRequestHandler really handles the Range header
6635
10301
  (previously it was ignoring it and returning the whole file,).
6636
10302
 
6637
 
bzr 0.12  2006-10-30
6638
 
####################
 
10303
bzr 0.12
 
10304
########
 
10305
 
 
10306
:Released:  2006-10-30
6639
10307
 
6640
10308
Internals
6641
10309
*********
6644
10312
  and remove benchmarks that take longer than 10min to run.
6645
10313
  (John Arbash Meinel)
6646
10314
 
6647
 
bzr 0.12rc1  2006-10-23
6648
 
#######################
 
10315
bzr 0.12rc1
 
10316
###########
 
10317
 
 
10318
:Released:  2006-10-23
6649
10319
 
6650
10320
Improvements
6651
10321
************
6721
10391
* Avoid circular imports by creating a deprecated function for
6722
10392
  ``bzrlib.tree.RevisionTree``. Callers should have been using
6723
10393
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
6724
 
  #63360, #66349)
 
10394
  #66349)
6725
10395
 
6726
10396
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
6727
10397
  platforms. (Martin Pool, #66356)
6766
10436
  option to set the BzrDir, Repository and Branch formats of the
6767
10437
  created objects. (Robert Collins, John Arbash Meinel)
6768
10438
 
6769
 
bzr 0.11  2006-10-02
6770
 
####################
 
10439
bzr 0.11
 
10440
########
 
10441
 
 
10442
:Released:  2006-10-02
6771
10443
 
6772
10444
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
6773
10445
 
6774
 
bzr 0.11rc2  2006-09-27
6775
 
#######################
 
10446
bzr 0.11rc2
 
10447
###########
 
10448
 
 
10449
:Released:  2006-09-27
6776
10450
 
6777
10451
Bug Fixes
6778
10452
*********
6782
10456
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
6783
10457
  Arbash Meinel).
6784
10458
 
6785
 
bzr 0.11rc1  2006-09-25
6786
 
#######################
 
10459
bzr 0.11rc1
 
10460
###########
 
10461
 
 
10462
:Released:  2006-09-25
6787
10463
 
6788
10464
Improvements
6789
10465
************
6976
10652
  allow upgrades to a richer interface than the VFS one provided by
6977
10653
  Transport. (Andrew Bennetts, Martin Pool)
6978
10654
 
6979
 
bzr 0.10  2006-08-29
6980
 
####################
 
10655
bzr 0.10
 
10656
########
 
10657
 
 
10658
:Released:  2006-08-29
6981
10659
 
6982
10660
Improvements
6983
10661
************
7054
10732
  need to be installed. This should help make the life of packagers
7055
10733
  easier. (John Arbash Meinel)
7056
10734
 
7057
 
bzr 0.9.0  2006-08-11
7058
 
#####################
 
10735
bzr 0.9.0
 
10736
#########
 
10737
 
 
10738
:Released:  2006-08-11
7059
10739
 
7060
10740
Surprises
7061
10741
*********
7322
11002
 
7323
11003
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
7324
11004
 
7325
 
bzr 0.8.2  2006-05-17
7326
 
#####################
 
11005
bzr 0.8.2
 
11006
#########
 
11007
 
 
11008
:Released:  2006-05-17
7327
11009
 
7328
11010
Bug Fixes
7329
11011
*********
7330
11012
 
7331
11013
* setup.py failed to install launchpad plugin.  (Martin Pool)
7332
11014
 
7333
 
bzr 0.8.1  2006-05-16
7334
 
#####################
 
11015
bzr 0.8.1
 
11016
#########
 
11017
 
 
11018
:Released:  2006-05-16
7335
11019
 
7336
11020
Bug Fixes
7337
11021
*********
7384
11068
* Fix test case for bzr info in upgrading a standalone branch to metadir,
7385
11069
  uses bzrlib api now. (Olaf Conradi)
7386
11070
 
7387
 
bzr 0.8  2006-05-08
7388
 
###################
 
11071
bzr 0.8
 
11072
#######
 
11073
 
 
11074
:Released:  2006-05-08
7389
11075
 
7390
11076
Notes When Upgrading
7391
11077
********************
7646
11332
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
7647
11333
  parameter which will provide String("foo") to the command as its stdin.
7648
11334
 
7649
 
bzr 0.7 2006-01-09
7650
 
##################
 
11335
bzr 0.7
 
11336
#######
 
11337
 
 
11338
:Released: 2006-01-09
7651
11339
 
7652
11340
Changes
7653
11341
*******
7942
11630
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
7943
11631
  for functions that need unicode strings. (Robert Collins)
7944
11632
 
7945
 
bzr 0.6 2005-10-28
7946
 
##################
 
11633
bzr 0.6
 
11634
#######
 
11635
 
 
11636
:Released: 2005-10-28
7947
11637
 
7948
11638
Improvements
7949
11639
************
8119
11809
  about future directions. (Robert Collins/Martin Pool)
8120
11810
 
8121
11811
* bzrlib.transport.http has been modified so that only 404 urllib errors
8122
 
  are returned as NoSuchFile. Other exceptions will propogate as normal.
 
11812
  are returned as NoSuchFile. Other exceptions will propagate as normal.
8123
11813
  This allows debuging of actual errors. (Robert Collins)
8124
11814
 
8125
11815
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
8158
11848
  [-1] in the revision-history. (Andres Salomon)
8159
11849
 
8160
11850
 
8161
 
bzr 0.1.1 2005-10-12
8162
 
####################
 
11851
bzr 0.1.1
 
11852
#########
 
11853
 
 
11854
:Released: 2005-10-12
8163
11855
 
8164
11856
Bug Fixes
8165
11857
*********
8176
11868
* Avoid some unnecessary http operations in branch and pull.
8177
11869
 
8178
11870
 
8179
 
bzr 0.1 2005-10-11
8180
 
##################
 
11871
bzr 0.1
 
11872
#######
 
11873
 
 
11874
:Released: 2005-10-11
8181
11875
 
8182
11876
Notes
8183
11877
*****
8306
12000
  of tests to run, e.g. ``bzr selftest test_weave``
8307
12001
 
8308
12002
 
8309
 
bzr 0.0.9 2005-09-23
8310
 
####################
 
12003
bzr 0.0.9
 
12004
#########
 
12005
 
 
12006
:Released: 2005-09-23
8311
12007
 
8312
12008
Bug Fixes
8313
12009
*********
8348
12044
  another (used by pull, merged, etc.)
8349
12045
 
8350
12046
 
8351
 
bzr 0.0.8 2005-09-20
8352
 
####################
 
12047
bzr 0.0.8
 
12048
#########
 
12049
 
 
12050
:Released: 2005-09-20
 
12051
 
8353
12052
 
8354
12053
Improvements
8355
12054
************
8399
12098
* Quieten warnings about locking; patch from Matt Lavin.
8400
12099
 
8401
12100
 
8402
 
bzr-0.0.7 2005-09-02
8403
 
####################
 
12101
bzr-0.0.7
 
12102
#########
 
12103
 
 
12104
:Released: 2005-09-02
8404
12105
 
8405
12106
New Features
8406
12107
************
8454
12155
 
8455
12156
 
8456
12157
 
8457
 
bzr-0.0.6 2005-08-18
8458
 
####################
 
12158
bzr-0.0.6
 
12159
#########
 
12160
 
 
12161
:Released: 2005-08-18
8459
12162
 
8460
12163
New Features
8461
12164
************
8540
12243
* Fix bugs in committing only selected files or within a subdirectory.
8541
12244
 
8542
12245
 
8543
 
bzr-0.0.5  2005-06-15
8544
 
#####################
 
12246
bzr-0.0.5
 
12247
#########
 
12248
 
 
12249
:Released:  2005-06-15
8545
12250
 
8546
12251
Changes
8547
12252
*******
8682
12387
  2.4 is now only recommended.
8683
12388
 
8684
12389
 
8685
 
bzr-0.0.4  2005-04-22
8686
 
#####################
 
12390
bzr-0.0.4
 
12391
#########
 
12392
 
 
12393
:Released:  2005-04-22
8687
12394
 
8688
12395
Enhancements
8689
12396
************
8751
12458
  from QuantumG.
8752
12459
 
8753
12460
 
8754
 
bzr-0.0.3  2005-04-06
8755
 
#####################
 
12461
bzr-0.0.3
 
12462
#########
 
12463
 
 
12464
:Released:  2005-04-06
8756
12465
 
8757
12466
Enhancements
8758
12467
************
8806
12515
* Win32 fixes from Steve Brown.
8807
12516
 
8808
12517
 
8809
 
bzr-0.0.2  "black cube"  2005-03-31
8810
 
###################################
 
12518
bzr-0.0.2
 
12519
#########
 
12520
 
 
12521
:Codename: "black cube"
 
12522
:Released: 2005-03-31
8811
12523
 
8812
12524
Enhancements
8813
12525
************
8835
12547
  the root directory only.
8836
12548
 
8837
12549
 
8838
 
bzr-0.0.1  2005-03-26
8839
 
#####################
 
12550
bzr-0.0.1
 
12551
#########
 
12552
 
 
12553
:Released:  2005-03-26
8840
12554
 
8841
12555
Enhancements
8842
12556
************
8865
12579
  supported).
8866
12580
 
8867
12581
 
8868
 
bzr-0.0.0.69  2005-03-22
8869
 
########################
 
12582
bzr-0.0.0.69
 
12583
############
 
12584
 
 
12585
:Released:  2005-03-22
8870
12586
 
8871
12587
Enhancements
8872
12588
************
8876
12592
* Storage of local versions: init, add, remove, rm, info, log,
8877
12593
  diff, status, etc.
8878
12594
 
 
12595
 
8879
12596
..
8880
 
   vim: tw=74 ft=rst ff=unix
 
12597
   vim: tw=74 ft=rst ff=unix encoding=utf-8