5462.5.1
by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt |
1 |
#################### |
2 |
Bazaar Release Notes |
|
3 |
#################### |
|
4 |
||
5 |
.. toctree:: |
|
6 |
:maxdepth: 1 |
|
7 |
||
8 |
bzr 0.12 |
|
9 |
######## |
|
10 |
||
11 |
:Released: 2006-10-30 |
|
12 |
||
13 |
Internals |
|
14 |
********* |
|
15 |
||
16 |
* Clean up ``bzr selftest --benchmark bundle`` to correct an import, |
|
17 |
and remove benchmarks that take longer than 10min to run. |
|
18 |
(John Arbash Meinel) |
|
19 |
||
20 |
bzr 0.12rc1 |
|
21 |
########### |
|
22 |
||
23 |
:Released: 2006-10-23 |
|
24 |
||
25 |
Improvements |
|
26 |
************ |
|
27 |
||
28 |
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions, |
|
29 |
rather than just showing a decimal revision number for revisions on the |
|
30 |
mainline. These revision numbers are not yet accepted as input into bzr |
|
31 |
commands such as log, diff etc. (Robert Collins) |
|
32 |
||
33 |
* revisions can now be specified using dotted-decimal revision numbers. |
|
34 |
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins) |
|
35 |
||
36 |
* ``bzr help commands`` output is now shorter (Aaron Bentley) |
|
37 |
||
38 |
* ``bzr`` now uses lazy importing to reduce the startup time. This has |
|
39 |
a moderate effect on lots of actions, especially ones that have |
|
40 |
little to do. For example ``bzr rocks`` time is down to 116ms from |
|
41 |
283ms. (John Arbash Meinel) |
|
42 |
||
43 |
* New Registry class to provide name-to-object registry-like support, |
|
44 |
for example for schemes where plugins can register new classes to |
|
45 |
do certain tasks (e.g. log formatters). Also provides lazy registration |
|
46 |
to allow modules to be loaded on request. |
|
47 |
(John Arbash Meinel, Adeodato Simó) |
|
48 |
||
49 |
API Incompatability |
|
50 |
******************* |
|
51 |
||
52 |
* LogFormatter subclasses show now expect the 'revno' parameter to |
|
53 |
show() to be a string rather than an int. (Robert Collins) |
|
54 |
||
55 |
Internals |
|
56 |
********* |
|
57 |
||
58 |
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess`` |
|
59 |
can take a ``working_dir='foo'`` parameter, which will change directory |
|
60 |
for the command. (John Arbash Meinel) |
|
61 |
||
62 |
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy |
|
63 |
around a regex, which defers compilation until first use. |
|
64 |
(John Arbash Meinel) |
|
65 |
||
66 |
* ``TestCase.run_bzr_subprocess`` defaults to supplying the |
|
67 |
``--no-plugins`` parameter to ensure test reproducability, and avoid |
|
68 |
problems with system-wide installed plugins. (John Arbash Meinel) |
|
69 |
||
70 |
* Unique tree root ids are now supported. Newly created trees still |
|
71 |
use the common root id for compatibility with bzr versions before 0.12. |
|
72 |
(Aaron Bentley) |
|
73 |
||
74 |
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please |
|
75 |
pass in ``inventory.ROOT_ID`` if you want the default root id value. |
|
76 |
(Robert Collins, John Arbash Meinel) |
|
77 |
||
78 |
* New method ``WorkingTree.flush()`` which will write the current memory |
|
79 |
inventory out to disk. At the same time, ``read_working_inventory`` will |
|
80 |
no longer trash the current tree inventory if it has been modified within |
|
81 |
the current lock, and the tree will now ``flush()`` automatically on |
|
82 |
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take |
|
83 |
advantage of this functionality. (Robert Collins, John Arbash Meinel) |
|
84 |
||
85 |
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This |
|
86 |
parameter will cause it to add another column to its output, which |
|
87 |
contains the dotted-decimal revno for each revision, as a tuple. |
|
88 |
(Robert Collins) |
|
89 |
||
90 |
* ``LogFormatter.show_merge`` is deprecated in favour of |
|
91 |
``LogFormatter.show_merge_revno``. (Robert Collins) |
|
92 |
||
93 |
Bug Fixes |
|
94 |
********* |
|
95 |
||
96 |
* Avoid circular imports by creating a deprecated function for |
|
97 |
``bzrlib.tree.RevisionTree``. Callers should have been using |
|
98 |
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel, |
|
99 |
#66349) |
|
100 |
||
101 |
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all |
|
102 |
platforms. (Martin Pool, #66356) |
|
103 |
||
104 |
* Don't require ``Content-Type`` in range responses. Assume they are a |
|
105 |
single range if ``Content-Type`` does not exist. |
|
106 |
(John Arbash Meinel, #62473) |
|
107 |
||
108 |
* bzr branch/pull no longer complain about progress bar cleanup when |
|
109 |
interrupted during fetch. (Aaron Bentley, #54000) |
|
110 |
||
111 |
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write |
|
112 |
the basis inventory, rather than going through the repository. This |
|
113 |
allows us to have 1 inventory read, and 2 inventory writes when |
|
114 |
committing a new tree. (John Arbash Meinel) |
|
115 |
||
116 |
* When reverting, files that are not locally modified that do not exist |
|
117 |
in the target are deleted, not just unversioned (Aaron Bentley) |
|
118 |
||
119 |
* When trying to acquire a lock, don't fail immediately. Instead, try |
|
120 |
a few times (up to 1 hour) before timing out. Also, report why the |
|
121 |
lock is unavailable (John Arbash Meinel, #43521, #49556) |
|
122 |
||
123 |
* Leave HttpTransportBase daughter classes decides how they |
|
124 |
implement cloning. (Vincent Ladeuil, #61606) |
|
125 |
||
126 |
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley) |
|
127 |
||
128 |
* If a commit fails, the commit message is stored in a file at the root of |
|
129 |
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher, |
|
130 |
#32054) |
|
131 |
||
132 |
Testing |
|
133 |
******* |
|
134 |
||
135 |
* New test base class TestCaseWithMemoryTransport offers memory-only |
|
136 |
testing facilities: its not suitable for tests that need to mutate disk |
|
137 |
state, but most tests should not need that and should be converted to |
|
138 |
TestCaseWithMemoryTransport. (Robert Collins) |
|
139 |
||
140 |
* ``TestCase.make_branch_and_memory_tree`` now takes a format |
|
141 |
option to set the BzrDir, Repository and Branch formats of the |
|
142 |
created objects. (Robert Collins, John Arbash Meinel) |
|
143 |
||
144 |
||
145 |
.. |
|
146 |
vim: tw=74 ft=rst ff=unix |