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.8 |
|
9 |
####### |
|
10 |
||
11 |
:Released: 2008-10-16 |
|
12 |
||
13 |
Bazaar 1.8 includes several fixes that improve working tree performance, |
|
14 |
display of revision logs, and merges. The bzr testsuite now passes on OS |
|
15 |
X and Python 2.6, and almost completely passes on Windows. The |
|
16 |
smartserver code has gained several bug fixes and performance |
|
5538.2.1
by Zearin
Fixed capitalization of XML and HTTP. Fixed by hand and only where appropriate (e.g., left http://some/url lowercase, but capitalized "When making an HTTP request…"). |
17 |
improvements, and can now run server-side hooks within an HTTP server. |
5462.5.1
by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt |
18 |
|
19 |
Bug Fixes |
|
20 |
********* |
|
21 |
||
22 |
* Fix "Must end write group" error when another error occurs during |
|
23 |
``bzr push``. (Andrew Bennetts, #230902) |
|
24 |
||
25 |
Portability |
|
26 |
*********** |
|
27 |
||
28 |
* Some Pyrex versions require the WIN32 macro defined to compile on |
|
29 |
that platform. (Alexander Belchenko, Martin Pool, #277481) |
|
30 |
||
31 |
||
32 |
bzr 1.8rc1 |
|
33 |
########## |
|
34 |
||
35 |
:Released: 2008-10-07 |
|
36 |
||
37 |
Changes |
|
38 |
******* |
|
39 |
||
40 |
* ``bzr log file`` has been changed. It now uses a different method |
|
41 |
for determining which revisions to show as merging the changes to |
|
42 |
the file. It now only shows revisions which merged the change |
|
43 |
towards your mainline. This simplifies the output, makes it faster, |
|
44 |
and reduces memory consumption. (John Arbash Meinel) |
|
45 |
||
46 |
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever |
|
47 |
``--show-base`` is not supplied. (John Arbash Meinel) |
|
48 |
||
49 |
* ``bzr+http//`` will now optionally load plugins and write logs on the |
|
50 |
server. (Marius Kruger) |
|
51 |
||
52 |
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with |
|
53 |
Pyrex 0.9.4.1 (it generates C code which causes segfaults). We |
|
54 |
explicitly blacklist that version of the compiler for that |
|
55 |
extension. Packaged versions will include .c files created with |
|
56 |
pyrex >= 0.9.6 so it doesn't effect releases, only users running |
|
57 |
from the source tree. (John Arbash Meinel, #276868) |
|
58 |
||
59 |
Features |
|
60 |
******** |
|
61 |
||
62 |
* bzr is now compatible with python-2.6. python-2.6 is not yet officially |
|
63 |
supported (nor released, tests were conducted with the dev version of |
|
64 |
python-2.6rc2), but all known problems have been fixed. Feedback |
|
65 |
welcome. |
|
66 |
(Vincent Ladeuil, #269535) |
|
67 |
||
68 |
Improvements |
|
69 |
************ |
|
70 |
||
71 |
* ``bzr annotate`` will now include uncommitted changes from the local |
|
72 |
working tree by default. Such uncommitted changes are given the |
|
73 |
revision number they would get if a commit was done, followed with a |
|
74 |
? to indicate that its not actually known. (Robert Collins, #3439) |
|
75 |
||
76 |
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a |
|
77 |
standalone branch regardless of the presence of shared repositories. |
|
78 |
(Daniel Watkins) |
|
79 |
||
80 |
* ``bzr push`` is faster in the case there are no new revisions to |
|
81 |
push. It is also faster if there are no tags in the local branch. |
|
82 |
(Andrew Bennetts) |
|
83 |
||
84 |
* File changes during a commit will update the tree stat cache. |
|
85 |
(Robert Collins) |
|
86 |
||
87 |
* Location aliases can now accept a trailing path. (Micheal Hudson) |
|
88 |
||
89 |
* New hooks ``Lock.hooks`` when LockDirs are acquired and released. |
|
90 |
(Robert Collins, MartinPool) |
|
91 |
||
92 |
* Switching in heavyweight checkouts uses the master branch's context, not |
|
93 |
the checkout's context. (Adrian Wilkins) |
|
94 |
||
95 |
* ``status`` on large trees is now faster, due to optimisations in the |
|
96 |
walkdirs code. Of particular note, the walkdirs code now performs |
|
97 |
a temporary ``chdir()`` while reading a single directory; if your |
|
98 |
platform has non thread-local current working directories (and is |
|
99 |
not windows which has its own implementation), this may introduce a |
|
100 |
race condition during concurrent uses of bzrlib. The bzrlib CLI |
|
101 |
will not encounter this as it is single threaded for working tree |
|
102 |
operations. (Robert Collins) |
|
103 |
||
104 |
* The C extensions now build on python 2.4 (Robert Collins, #271939) |
|
105 |
||
106 |
* The ``-Dhpss`` debug flag now reports the number of smart server |
|
107 |
calls per medium to stderr. This is in addition to the existing |
|
108 |
detailed logging to the .bzr.log trace file. (Andrew Bennetts) |
|
109 |
||
110 |
Bug Fixes |
|
111 |
********* |
|
112 |
||
113 |
* Avoid random failures arising from misinterpreted ``errno`` values |
|
114 |
in ``_readdir_pyx.read_dir``. |
|
115 |
(Martin Pool, #279381) |
|
116 |
||
117 |
* Branching from a shared repository on a smart server into a new |
|
118 |
repository now preserves the repository format. |
|
119 |
(Andrew Bennetts, #269214) |
|
120 |
||
121 |
* ``bzr log`` now accepts a ``--change`` option. |
|
122 |
(Vincent Ladeuil, #248427) |
|
123 |
||
124 |
* ``bzr missing`` now accepts an ``--include-merges`` option. |
|
125 |
(Vincent Ladeuil, #233817) |
|
126 |
||
127 |
* Don't try to filter (internally) '.bzr' from the files to be deleted if |
|
128 |
it's not there. |
|
129 |
(Vincent Ladeuil, #272648) |
|
130 |
||
131 |
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag. |
|
132 |
(Andrew Bennetts) |
|
133 |
||
134 |
* Fix TooManyConcurrentRequests errors caused by a connection failure |
|
135 |
when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL. |
|
136 |
(Andrew Bennetts, #246233) |
|
137 |
||
138 |
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch |
|
139 |
is in a different repository than the current one. |
|
140 |
(Lukáš Lalinský, #144421) |
|
141 |
||
142 |
* Make the first line of the manpage preamble a comment again. |
|
143 |
(David Futcher, #242106) |
|
144 |
||
145 |
* Remove use of optional parameter in GSSAPI FTP support, since |
|
146 |
it breaks newer versions of Python-Kerberos. (Jelmer Vernooij) |
|
147 |
||
148 |
* The autopacking logic will now always create a single new pack from |
|
149 |
all of the content which it deems is worth moving. This avoids the |
|
150 |
'repack a single pack' bug and should result in better packing |
|
151 |
overall. (John Arbash Meinel, #242510, #172644) |
|
152 |
||
153 |
* Trivial documentation fix. |
|
154 |
(John Arbash Meinel, #270471) |
|
155 |
||
156 |
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if |
|
157 |
it was previously set. All checkouts will now refer to the bound branch |
|
158 |
for a nickname if one was not explicitly set. |
|
159 |
(Marius Kruger, #230903) |
|
160 |
||
161 |
Documentation |
|
162 |
************* |
|
163 |
||
164 |
* Explain revision/range identifiers. (Daniel Clemente) |
|
165 |
||
166 |
API Changes |
|
167 |
*********** |
|
168 |
||
169 |
* ``CommitBuilder.record_entry_contents`` returns one more element in |
|
170 |
its result tuple - an optional file system hash for the hash cache |
|
171 |
to use. (Robert Collins) |
|
172 |
||
173 |
* ``dirstate.DirState.update_entry`` will now only calculate the sha1 |
|
174 |
of a file if it is likely to be needed in determining the output |
|
175 |
of iter_changes. (Robert Collins) |
|
176 |
||
177 |
* The PackRepository, RepositoryPackCollection, NewPack classes have a |
|
178 |
slightly changed interface to support different index types; as a |
|
179 |
result other users of these classes need to supply the index types |
|
180 |
they want. (Robert Collins) |
|
181 |
||
182 |
Testing |
|
183 |
******* |
|
184 |
||
185 |
* ``bzrlib.tests.repository_implementations`` has been renamed to |
|
186 |
``bzrlib.tests.per_repository`` so that we have a common structure |
|
187 |
(and it is shorter). (John Arbash Meinel, #239343) |
|
188 |
||
189 |
* ``LocalTransport.abspath()`` now returns a drive letter if the |
|
190 |
transport has one, fixing numerous tests on Windows. |
|
191 |
(Mark Hammond) |
|
192 |
||
193 |
* PreviewTree is now tested via intertree_implementations. |
|
194 |
(Aaron Bentley) |
|
195 |
||
196 |
* The full test suite is passing again on OSX. |
|
197 |
(Guillermo Gonzalez, Vincent Ladeuil) |
|
198 |
||
199 |
* The full test suite passes when run with ``-Eallow_debug``. |
|
200 |
(Andrew Bennetts) |
|
201 |
||
202 |
Internals |
|
203 |
********* |
|
204 |
||
205 |
* A new hook, ``Branch.open``, has been added, which is called when |
|
206 |
branch objects are opened. (Robert Collins) |
|
207 |
||
208 |
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common |
|
209 |
tree walking, and modular directory listing code to aid future |
|
210 |
performance optimisations and refactoring. (Robert Collins) |
|
211 |
||
212 |
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump |
|
213 |
in the middle of processing. It only reports memory if |
|
214 |
``/proc/PID/status`` is available. (John Arbash Meinel) |
|
215 |
||
216 |
* New method ``RevisionSpec.as_tree`` for representing the revision |
|
217 |
specifier as a revision tree object. (Lukáš Lalinský) |
|
218 |
||
219 |
* New race-free method on MutableTree ``get_file_with_stat`` for use |
|
220 |
when generating stat cache results. (Robert Collins) |
|
221 |
||
222 |
* New win32utils.get_local_appdata_location() provides access to a local |
|
223 |
directory for storing data. (Mark Hammond) |
|
224 |
||
225 |
* To be compatible with python-2.6 a few new rules should be |
|
226 |
observed. 'message' attribute can't be used anymore in exception |
|
227 |
classes, 'sha' and 'md5' modules have been deprecated (use |
|
228 |
osutils.[md5|sha]), object__init__ and object.__new__ don't accept |
|
229 |
parameters anymore. |
|
230 |
(Vincent Ladeuil) |
|
231 |
||
232 |
||
233 |
.. |
|
234 |
vim: tw=74 ft=rst ff=unix |