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 1.2 |
|
9 |
####### |
|
10 |
||
11 |
:Released: 2008-02-15 |
|
12 |
||
13 |
Bug Fixes |
|
14 |
********* |
|
15 |
||
16 |
* Fix failing test in Launchpad plugin. (Martin Pool) |
|
17 |
||
18 |
||
19 |
bzr 1.2rc1 |
|
20 |
########## |
|
21 |
||
22 |
:Released: 2008-02-13 |
|
23 |
||
24 |
Notes When Upgrading |
|
25 |
******************** |
|
26 |
||
27 |
* Fetching via the smart protocol may need to reconnect once during a fetch |
|
28 |
if the remote server is running Bazaar 1.1 or earlier, because the client |
|
29 |
attempts to use more efficient requests that confuse older servers. You |
|
30 |
may be required to re-enter a password or passphrase when this happens. |
|
31 |
This won't happen if the server is upgraded to Bazaar 1.2. |
|
32 |
(Andrew Bennetts) |
|
33 |
||
34 |
Changes |
|
35 |
******* |
|
36 |
||
37 |
* Fetching via bzr+ssh will no longer fill ghosts by default (this is |
|
38 |
consistent with pack-0.92 fetching over SFTP). (Robert Collins) |
|
39 |
||
40 |
* Formatting of ``bzr plugins`` output is changed to be more human- |
|
41 |
friendly. Full path of plugins locations will be shown only with |
|
42 |
``--verbose`` command-line option. (Alexander Belchenko) |
|
43 |
||
44 |
* ``merge`` now prefers to use the submit branch, but will fall back to |
|
45 |
parent branch. For many users, this has no effect. But some users who |
|
46 |
pull and merge on the same branch will notice a change. This change |
|
47 |
makes it easier to work on a branch on two different machines, pulling |
|
48 |
between the machines, while merging from the upstream. |
|
49 |
``merge --remember`` can now be used to set the submit_branch. |
|
50 |
(Aaron Bentley) |
|
51 |
||
52 |
Features |
|
53 |
******** |
|
54 |
||
55 |
* ``merge --preview`` produces a diff of the changes merge would make, |
|
56 |
but does not actually perform the merge. (Aaron Bentley) |
|
57 |
||
58 |
* New smart method ``Repository.get_parent_map`` for getting revision |
|
59 |
parent data. This returns additional parent information topologically |
|
60 |
adjacent to the requested data to reduce round trip latency impacts. |
|
61 |
(Robert Collins) |
|
62 |
||
63 |
* New smart method, ``Repository.stream_revisions_chunked``, for fetching |
|
64 |
revision data that streams revision data via a chunked encoding. This |
|
65 |
avoids buffering large amounts of revision data on the server and on the |
|
66 |
client, and sends less data to the server to request the revisions. |
|
67 |
(Andrew Bennetts, Robert Collins, #178353) |
|
68 |
||
5538.2.3
by Zearin
Continued capitalization fixes. (URL, URLs) |
69 |
* The launchpad plugin now handles lp URLs of the form |
5462.5.1
by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt |
70 |
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate |
71 |
launchpad instance to do the resolution of the branch identities. |
|
72 |
This is primarily of use to Launchpad developers, but can also |
|
73 |
be used by other users who want to try out Launchpad as |
|
74 |
a branch location without messing up their public Launchpad |
|
75 |
account. Branches that are pushed to the staging environment |
|
76 |
have an expected lifetime of one day. (Tim Penhey) |
|
77 |
||
78 |
Improvements |
|
79 |
************ |
|
80 |
||
81 |
* Creating a new branch no longer tries to read the entire revision-history |
|
82 |
unnecessarily over smart server operations. (Robert Collins) |
|
83 |
||
84 |
* Fetching between different repository formats with compatible models now |
|
85 |
takes advantage of the smart method to stream revisions. (Andrew Bennetts) |
|
86 |
||
87 |
* The ``--coverage`` option is now global, rather specific to ``bzr |
|
88 |
selftest``. (Andrew Bennetts) |
|
89 |
||
5538.2.3
by Zearin
Continued capitalization fixes. (URL, URLs) |
90 |
* The ``register-branch`` command will now use the public URL of the branch |
5462.5.1
by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt |
91 |
containing the current directory, if one has been set and no explicit |
92 |
branch is provided. (Robert Collins) |
|
93 |
||
94 |
* Tweak the ``reannotate`` code path to optimize the 2-parent case. |
|
95 |
Speeds up ``bzr annotate`` with a pack repository by approx 3:2. |
|
96 |
(John Arbash Meinel) |
|
97 |
||
98 |
Bugfixes |
|
99 |
******** |
|
100 |
||
101 |
* Calculate remote path relative to the shared medium in _SmartClient. This |
|
102 |
is related to the problem in bug #124089. (Andrew Bennetts) |
|
103 |
||
104 |
* Cleanly handle connection errors in smart protocol version two, the same |
|
105 |
way as they are handled by version one. (Andrew Bennetts) |
|
106 |
||
107 |
* Clearer error when ``version-info --custom`` is used without |
|
108 |
``--template`` (Lukáš Lalinský) |
|
109 |
||
110 |
* Don't raise UnavailableFeature during test setup when medusa is not |
|
111 |
available or tearDown is never called leading to nasty side effects. |
|
112 |
(#137823, Vincent Ladeuil) |
|
113 |
||
114 |
* If a plugin's test suite cannot be loaded, for example because of a syntax |
|
115 |
error in the tests, then ``selftest`` fails, rather than just printing |
|
116 |
a warning. (Martin Pool, #189771) |
|
117 |
||
118 |
* List possible values for BZR_SSH environment variable in env-variables |
|
119 |
help topic. (Alexander Belchenko, #181842) |
|
120 |
||
121 |
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages: |
|
122 |
popping the log redirection now precisely restores the previous state, |
|
123 |
which makes it easier to use bzr log output from other programs. |
|
124 |
TestCaseInTempDir no longer depends on a log redirection being established |
|
125 |
by the test framework, which lets bzr tests cleanly run from a normal |
|
126 |
unittest runner. |
|
127 |
(#124153, #124849, Martin Pool, Jonathan Lange) |
|
128 |
||
129 |
* ``pull --quiet`` is now more quiet, in particular a message is no longer |
|
130 |
printed when the remembered pull location is used. (James Westby, |
|
131 |
#185907) |
|
132 |
||
133 |
* ``reconfigure`` can safely be interrupted while fetching. |
|
134 |
(Aaron Bentley, #179316) |
|
135 |
||
136 |
* ``reconfigure`` preserves tags when converting to and from lightweight |
|
137 |
checkouts. (Aaron Bentley, #182040) |
|
138 |
||
139 |
* Stop polluting /tmp when running selftest. |
|
140 |
(Vincent Ladeuil, #123363) |
|
141 |
||
142 |
* Switch from NFKC => NFC for normalization checks. NFC allows a few |
|
143 |
more characters which should be considered valid. |
|
144 |
(John Arbash Meinel, #185458) |
|
145 |
||
5538.2.4
by Zearin
Fixed capitalization (RPC, XML-RPC). |
146 |
* The launchpad plugin now uses the ``edge`` XML-RPC server to avoid |
5462.5.1
by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt |
147 |
interacting badly with a bug on the launchpad side. (Robert Collins) |
148 |
||
149 |
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause |
|
150 |
tracebacks. (Andrew Bennetts, #182849) |
|
151 |
||
152 |
API Breaks |
|
153 |
********** |
|
154 |
||
155 |
* Classes implementing Merge types like Merge3Merger must now accept (and |
|
156 |
honour) a do_merge flag in their constructor. (Aaron Bentley) |
|
157 |
||
158 |
* ``Repository.add_inventory`` and ``add_revision`` now require the caller |
|
159 |
to previously take a write lock (and start a write group.) |
|
160 |
(Martin Pool) |
|
161 |
||
162 |
Testing |
|
163 |
******* |
|
164 |
||
165 |
* selftest now accepts --load-list <file> to load a test id list. This |
|
166 |
speeds up running the test suite on a limited set of tests. |
|
167 |
(Vincent Ladeuil) |
|
168 |
||
169 |
Internals |
|
170 |
********* |
|
171 |
||
172 |
* Add a new method ``get_result`` to graph search objects. The resulting |
|
173 |
``SearchResult`` can be used to recreate the search later, which will |
|
174 |
be useful in reducing network traffic. (Robert Collins) |
|
175 |
||
176 |
* Use convenience function to check whether two repository handles |
|
177 |
are referring to the same repository in ``Repository.get_graph``. |
|
178 |
(Jelmer Vernooij, #187162) |
|
179 |
||
180 |
* Fetching now passes the find_ghosts flag through to the |
|
181 |
``InterRepository.missing_revision_ids`` call consistently for all |
|
182 |
repository types. This will enable faster missing revision discovery with |
|
183 |
bzr+ssh. (Robert Collins) |
|
184 |
||
185 |
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky) |
|
186 |
||
187 |
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of |
|
188 |
``InterRepository.search_missing_revision_ids`` which returns a |
|
189 |
``bzrlib.graph.SearchResult`` suitable for making requests from the smart |
|
190 |
server. (Robert Collins) |
|
191 |
||
192 |
* New error ``NoPublicBranch`` for commands that need a public branch to |
|
193 |
operate. (Robert Collins) |
|
194 |
||
195 |
* New method ``iter_inventories`` on Repository for access to many |
|
196 |
inventories. This is primarily used by the ``revision_trees`` method, as |
|
197 |
direct access to inventories is discouraged. (Robert Collins) |
|
198 |
||
199 |
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects |
|
200 |
which will split out ghosts and present parents into two separate sets, |
|
201 |
useful for code which needs to be aware of ghosts (e.g. fetching data |
|
202 |
cares about ghosts during revision selection). (Robert Collins) |
|
203 |
||
204 |
* Record a timestamp against each mutter to the trace file, relative to the |
|
205 |
first import of bzrlib. (Andrew Bennetts) |
|
206 |
||
207 |
* ``Repository.get_data_stream`` is now deprecated in favour of |
|
208 |
``Repository.get_data_stream_for_search`` which allows less network |
|
209 |
traffic when requesting data streams over a smart server. (Robert Collins) |
|
210 |
||
211 |
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``, |
|
212 |
removing one round trip on many network operations. (Robert Collins) |
|
213 |
||
214 |
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like |
|
215 |
SFTPTransport and HttpTransportBase. (Andrew Bennetts) |
|
216 |
||
217 |
* Repository has a new method ``has_revisions`` which signals the presence |
|
218 |
of many revisions by returning a set of the revisions listed which are |
|
219 |
present. This can be done by index queries without reading data for parent |
|
220 |
revision names etc. (Robert Collins) |
|
221 |
||
222 |
||
223 |
.. |
|
224 |
vim: tw=74 ft=rst ff=unix |