Merge lp:~mbp/bzr/doc-old into lp:~bzr/bzr/trunk-old
- doc-old
- Merge into trunk-old
Proposed by
Martin Pool
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | not available | ||||||||
Proposed branch: | lp:~mbp/bzr/doc-old | ||||||||
Merge into: | lp:~bzr/bzr/trunk-old | ||||||||
Diff against target: | 16815 lines | ||||||||
To merge this branch: | bzr merge lp:~mbp/bzr/doc-old | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bazaar Developers | Pending | ||
Review via email: mp+4088@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Martin Pool (mbp) wrote : | # |
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'NEWS' | |||
2 | --- NEWS 2009-03-18 15:38:56 +0000 | |||
3 | +++ NEWS 2009-03-19 05:35:11 +0000 | |||
4 | @@ -1,482 +1,507 @@ | |||
6 | 1 | -------------------- | 1 | ==================== |
7 | 2 | Bazaar Release Notes | 2 | Bazaar Release Notes |
150 | 3 | -------------------- | 3 | ==================== |
151 | 4 | 4 | ||
152 | 5 | .. contents:: | 5 | |
153 | 6 | 6 | .. contents:: List of Releases | |
154 | 7 | 7 | :depth: 1 | |
155 | 8 | IN DEVELOPMENT | 8 | |
156 | 9 | -------------- | 9 | In Development |
157 | 10 | 10 | ############## | |
158 | 11 | COMPATIBILITY BREAKS: | 11 | |
159 | 12 | 12 | Compatibility Breaks | |
160 | 13 | * bzr no longer autodetects nested trees as 'tree-references'. They | 13 | ******************** |
161 | 14 | must now be explicitly added tree references. At the commandline, use | 14 | |
162 | 15 | join --reference instead of add. (Aaron Bentley) | 15 | * bzr no longer autodetects nested trees as 'tree-references'. They |
163 | 16 | 16 | must now be explicitly added tree references. At the commandline, use | |
164 | 17 | NEW FEATURES: | 17 | join --reference instead of add. (Aaron Bentley) |
165 | 18 | 18 | ||
166 | 19 | * shelve can now apply changes without storing anything on the shelf, via | 19 | New Features |
167 | 20 | the new --destroy option. (Aaron Bentley) | 20 | ************ |
168 | 21 | 21 | ||
169 | 22 | * ``bzr send`` now accepts --body to specify an initial message body. | 22 | * ``bzr shelve`` can now apply changes without storing anything on the |
170 | 23 | (Aaron bentley) | 23 | shelf, via the new --destroy option. (Aaron Bentley) |
171 | 24 | 24 | ||
172 | 25 | * ``bzr xxx --usage`` where xxx is a command now shows a usage | 25 | * ``bzr send`` now accepts --body to specify an initial message body. |
173 | 26 | message and the options without the descriptive help sections | 26 | (Aaron bentley) |
174 | 27 | (like Description and Examples). A message is also given | 27 | |
175 | 28 | explaining how to see the complete help, i.e. ``bzr help xxx``. | 28 | * ``bzr xxx --usage`` where xxx is a command now shows a usage |
176 | 29 | (Ian Clatworthy) | 29 | message and the options without the descriptive help sections |
177 | 30 | 30 | (like Description and Examples). A message is also given | |
178 | 31 | IMPROVEMENTS: | 31 | explaining how to see the complete help, i.e. ``bzr help xxx``. |
179 | 32 | 32 | (Ian Clatworthy) | |
180 | 33 | * A new format name alias ``default-rich-root`` has been added and | 33 | |
181 | 34 | points at the closest relative of the default format that supports | 34 | Improvements |
182 | 35 | rich roots. (Jelmer Vernooij, #338061) | 35 | ************ |
183 | 36 | 36 | ||
184 | 37 | * Branching from a stacked branch using ``bzr*://`` will now stream | 37 | * A new format name alias ``default-rich-root`` has been added and |
185 | 38 | the data when the target repository does not need topological | 38 | points at the closest relative of the default format that supports |
186 | 39 | ordering, reducing round trips and network overhead. This uses the | 39 | rich roots. (Jelmer Vernooij, #338061) |
187 | 40 | existing smart server methods added in 1.13, so will work on any | 40 | |
188 | 41 | 1.13 or newer server. (Robert Collins, Andrew Bennetts) | 41 | * Branching from a stacked branch using ``bzr*://`` will now stream |
189 | 42 | 42 | the data when the target repository does not need topological | |
190 | 43 | * ``bzr ignore`` gives a more informative message when existing | 43 | ordering, reducing round trips and network overhead. This uses the |
191 | 44 | version controlled files match the ignore pattern. (Neil | 44 | existing smart server methods added in 1.13, so will work on any |
192 | 45 | Martinsen-Burrell, #248895) | 45 | 1.13 or newer server. (Robert Collins, Andrew Bennetts) |
193 | 46 | 46 | ||
194 | 47 | * ``bzr send`` is faster on repositories with deep histories. | 47 | * ``bzr ignore`` gives a more informative message when existing |
195 | 48 | (Ian Clatworthy) | 48 | version controlled files match the ignore pattern. (Neil |
196 | 49 | 49 | Martinsen-Burrell, #248895) | |
197 | 50 | * Progress bars now show the rate of network activity for | 50 | |
198 | 51 | ``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts) | 51 | * ``bzr send`` is faster on repositories with deep histories. |
199 | 52 | 52 | (Ian Clatworthy) | |
200 | 53 | * Streaming push can be done to older repository formats. This is | 53 | |
201 | 54 | implemented using a new ``Repository.insert_stream_locked`` RPC. | 54 | * Progress bars now show the rate of network activity for |
202 | 55 | (Andrew Bennetts, Robert Collins) | 55 | ``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts) |
203 | 56 | 56 | ||
204 | 57 | * Tildes are no longer escaped. No more %7Euser/project/branch! | 57 | * Streaming push can be done to older repository formats. This is |
205 | 58 | (Jonathan Lange) | 58 | implemented using a new ``Repository.insert_stream_locked`` RPC. |
206 | 59 | 59 | (Andrew Bennetts, Robert Collins) | |
207 | 60 | BUG FIXES: | 60 | |
208 | 61 | 61 | * Tildes are no longer escaped. No more %7Euser/project/branch! | |
209 | 62 | * Authentication plugins now receive all the parameters from the request | 62 | (Jonathan Lange) |
210 | 63 | itself (aka host, port, realm, path, etc). Previously, only the | 63 | |
211 | 64 | authentication section name, username and encoded password were | 64 | Bug Fixes |
212 | 65 | provided. (Jean-Francois Roy) | 65 | ********* |
213 | 66 | 66 | ||
214 | 67 | * Fix "is not a stackable format" error when pushing a | 67 | * Authentication plugins now receive all the parameters from the request |
215 | 68 | stackable-format branch with an unstackable-format repository to a | 68 | itself (aka host, port, realm, path, etc). Previously, only the |
216 | 69 | destination with a default stacking policy. (Andrew Bennetts) | 69 | authentication section name, username and encoded password were |
217 | 70 | 70 | provided. (Jean-Francois Roy) | |
218 | 71 | * Fixed incorrect "Source format does not support stacking" warning | 71 | |
219 | 72 | when pushing to a smart server. (Andrew Bennetts, #334114) | 72 | * Fix "is not a stackable format" error when pushing a |
220 | 73 | 73 | stackable-format branch with an unstackable-format repository to a | |
221 | 74 | * It is no longer possible to fetch between repositories while the | 74 | destination with a default stacking policy. (Andrew Bennetts) |
222 | 75 | target repository is in a write group. This prevents race conditions | 75 | |
223 | 76 | that prevent the use of RPC's to perform fetch, and thus allows | 76 | * Fixed incorrect "Source format does not support stacking" warning |
224 | 77 | optimising more operations. (Robert Collins, Andrew Bennetts) | 77 | when pushing to a smart server. (Andrew Bennetts, #334114) |
225 | 78 | 78 | ||
226 | 79 | * ``merge --force`` works again. (Robert Collins, #342105) | 79 | * It is no longer possible to fetch between repositories while the |
227 | 80 | 80 | target repository is in a write group. This prevents race conditions | |
228 | 81 | * The GNU Changelog formatter is slightly improved in the case where | 81 | that prevent the use of RPC's to perform fetch, and thus allows |
229 | 82 | the delta is empty, and now correctly claims not to support tags. | 82 | optimising more operations. (Robert Collins, Andrew Bennetts) |
230 | 83 | (Andrea Bolognani) | 83 | |
231 | 84 | 84 | * ``merge --force`` works again. (Robert Collins, #342105) | |
232 | 85 | * Shelve can now shelve changes to a symlink target. | 85 | |
233 | 86 | (James Westby, #341558) | 86 | * The GNU Changelog formatter is slightly improved in the case where |
234 | 87 | 87 | the delta is empty, and now correctly claims not to support tags. | |
235 | 88 | DOCUMENTATION: | 88 | (Andrea Bolognani) |
236 | 89 | 89 | ||
237 | 90 | * New topic `bzr help debug-flags`. (Martin Pool) | 90 | * Shelve can now shelve changes to a symlink target. |
238 | 91 | 91 | (James Westby, #341558) | |
239 | 92 | * The generated manpage now explicitly lists aliases as commands. | 92 | |
240 | 93 | (James Westby, #336998) | 93 | Documentation |
241 | 94 | 94 | ************* | |
242 | 95 | API CHANGES: | 95 | |
243 | 96 | 96 | * New topic `bzr help debug-flags`. (Martin Pool) | |
244 | 97 | * New sort order for ``get_record_stream`` ``groupcompress`` which | 97 | |
245 | 98 | sorts optimally for use with groupcompress compressors. (John Arbash | 98 | * The generated manpage now explicitly lists aliases as commands. |
246 | 99 | Meinel, Robert Collins) | 99 | (James Westby, #336998) |
247 | 100 | 100 | ||
248 | 101 | * The ``get_credentials`` and ``set_credentials`` methods of | 101 | API Changes |
249 | 102 | ``AuthenticationConfig`` now accept an optional realm argument. | 102 | *********** |
250 | 103 | (Jean-Francois Roy) | 103 | |
251 | 104 | 104 | * New sort order for ``get_record_stream`` ``groupcompress`` which | |
252 | 105 | * The ``pb`` argument to ``fetch()`` is deprecated. | 105 | sorts optimally for use with groupcompress compressors. (John Arbash |
253 | 106 | (Martin Pool) | 106 | Meinel, Robert Collins) |
254 | 107 | 107 | ||
255 | 108 | TESTING: | 108 | * The ``get_credentials`` and ``set_credentials`` methods of |
256 | 109 | 109 | ``AuthenticationConfig`` now accept an optional realm argument. | |
257 | 110 | * ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp`` | 110 | (Jean-Francois Roy) |
258 | 111 | and ``tearDown`` weren't called. This catches faulty tests that | 111 | |
259 | 112 | forget to upcall when overriding ``setUp`` and ``tearDown``. Those | 112 | * The ``pb`` argument to ``fetch()`` is deprecated. |
260 | 113 | faulty tests were not properly isolated. | 113 | (Martin Pool) |
261 | 114 | (Andrew Bennetts, Robert Collins) | 114 | |
262 | 115 | 115 | Testing | |
263 | 116 | INTERNALS: | 116 | ******* |
264 | 117 | 117 | ||
265 | 118 | * ``DirState`` can now be passed a custom ``SHA1Provider`` object | 118 | * ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp`` |
266 | 119 | enabling it to store the sha1 and stat of the canonical (post | 119 | and ``tearDown`` weren't called. This catches faulty tests that |
267 | 120 | content filtered) form. (Ian Clatworthy) | 120 | forget to upcall when overriding ``setUp`` and ``tearDown``. Those |
268 | 121 | 121 | faulty tests were not properly isolated. | |
269 | 122 | * New ``assertLength`` method based on one Martin has squirreled away | 122 | (Andrew Bennetts, Robert Collins) |
270 | 123 | somewhere. (Robert Collins, Martin Pool) | 123 | |
271 | 124 | 124 | Internals | |
272 | 125 | * New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir`` | 125 | ********* |
273 | 126 | objects, allowing better enforcement of the smart server jail when | 126 | |
274 | 127 | dealing with stacked branches. (Robert Collins, Andrew Bennetts) | 127 | * ``DirState`` can now be passed a custom ``SHA1Provider`` object |
275 | 128 | 128 | enabling it to store the SHA1 and stat of the canonical (post | |
276 | 129 | * New repository method ``refresh_data`` to cause any repository to | 129 | content filtered) form. (Ian Clatworthy) |
277 | 130 | make visible data inserted into the repository by a smart server | 130 | |
278 | 131 | fetch operation. (Robert Collins, Andrew Bennetts) | 131 | * New ``assertLength`` method based on one Martin has squirreled away |
279 | 132 | 132 | somewhere. (Robert Collins, Martin Pool) | |
280 | 133 | * Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and | 133 | |
281 | 134 | ``InterPackToRemotePack`` classes, as they are now unnecessary. | 134 | * New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir`` |
282 | 135 | (Andrew Bennetts) | 135 | objects, allowing better enforcement of the smart server jail when |
283 | 136 | 136 | dealing with stacked branches. (Robert Collins, Andrew Bennetts) | |
284 | 137 | * ``_walk_to_common_revisions`` will now batch up at least 50 | 137 | |
285 | 138 | revisions before calling ``get_parent_map`` on the target, | 138 | * New repository method ``refresh_data`` to cause any repository to |
286 | 139 | regardless of ``InterRepository``. | 139 | make visible data inserted into the repository by a smart server |
287 | 140 | (Andrew Bennetts, Robert Collins) | 140 | fetch operation. (Robert Collins, Andrew Bennetts) |
288 | 141 | 141 | ||
289 | 142 | 142 | * Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and | |
290 | 143 | bzr 1.13 "paraskavedekatriaphobia" 2009-03-14 | 143 | ``InterPackToRemotePack`` classes, as they are now unnecessary. |
291 | 144 | --------------------------------------------- | 144 | (Andrew Bennetts) |
292 | 145 | |||
293 | 146 | * ``_walk_to_common_revisions`` will now batch up at least 50 | ||
294 | 147 | revisions before calling ``get_parent_map`` on the target, | ||
295 | 148 | regardless of ``InterRepository``. | ||
296 | 149 | (Andrew Bennetts, Robert Collins) | ||
297 | 150 | |||
298 | 151 | |||
299 | 152 | bzr 1.13 | ||
300 | 153 | ######## | ||
301 | 154 | |||
302 | 155 | :Codename: paraskavedekatriaphobia | ||
303 | 156 | :1.13: 2009-03-14 | ||
304 | 157 | :1.13rc1: 2009-03-10 | ||
305 | 145 | 158 | ||
306 | 146 | This release includes bug fixes and a few performance and feature improvements. | 159 | This release includes bug fixes and a few performance and feature improvements. |
640 | 147 | GNU Changelog output can now be produced by ``bzr log --gnu-changelog``. Debug | 160 | GNU Changelog output can now be produced by ``bzr log --gnu-changelog``. |
641 | 148 | flags can now be set in ``~/.bazaar/bazaar.conf``. Lightweight Checkouts and | 161 | Debug flags can now be set in ``~/.bazaar/bazaar.conf``. Lightweight checkouts |
642 | 149 | Stacked Branches should both be much faster over remote connections. | 162 | and stacked branches should both be much faster over remote connections. |
643 | 150 | 163 | ||
644 | 151 | CHANGES FROM bzr 1.13rc1 2009-03-10: | 164 | Changes From RC1 to Final |
645 | 152 | 165 | ************************* | |
646 | 153 | * Fix "is not a stackable format" error when pushing a | 166 | |
647 | 154 | stackable-format branch with an unstackable-format repository to a | 167 | * Fix "is not a stackable format" error when pushing a |
648 | 155 | destination with a default stacking policy. (Andrew Bennetts) | 168 | stackable-format branch with an unstackable-format repository to a |
649 | 156 | 169 | destination with a default stacking policy. (Andrew Bennetts) | |
650 | 157 | * Progress bars now show the rate of network activity for | 170 | |
651 | 158 | ``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts) | 171 | * Progress bars now show the rate of network activity for |
652 | 159 | 172 | ``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts) | |
653 | 160 | COMPATIBILITY BREAKS: | 173 | |
654 | 161 | 174 | Compatibility Breaks | |
655 | 162 | * ``bzr log --line`` now indicates which revisions are merges with | 175 | ******************** |
656 | 163 | `[merge]` after the date. Scripts which parse the output of this | 176 | |
657 | 164 | command may need to be adjusted. | 177 | * ``bzr log --line`` now indicates which revisions are merges with |
658 | 165 | (Neil Martinsen-Burrell) | 178 | `[merge]` after the date. Scripts which parse the output of this |
659 | 166 | 179 | command may need to be adjusted. | |
660 | 167 | NEW FEATURES: | 180 | (Neil Martinsen-Burrell) |
661 | 168 | 181 | ||
662 | 169 | * ``bzr reconfigure`` now supports --with-trees and --with-no-trees | 182 | New Features |
663 | 170 | options to change the default tree-creation policy of shared | 183 | ************ |
664 | 171 | repositories. (Matthew Fuller, Marius Kruger, #145033) | 184 | |
665 | 172 | 185 | * ``bzr reconfigure`` now supports --with-trees and --with-no-trees | |
666 | 173 | * Debug flags can now be set in ``~/.bazaar/bazaar.conf``. | 186 | options to change the default tree-creation policy of shared |
667 | 174 | (Martin Pool) | 187 | repositories. (Matthew Fuller, Marius Kruger, #145033) |
668 | 175 | 188 | ||
669 | 176 | * Filtered views provide a mask over the tree so that users can focus | 189 | * Debug flags can now be set in ``~/.bazaar/bazaar.conf``. |
670 | 177 | on a subset of a tree when doing their work. See ``Filtered views`` | 190 | (Martin Pool) |
671 | 178 | in chapter 7 of the User Guide and ``bzr help view`` for details. | 191 | |
672 | 179 | (Ian Clatworthy) | 192 | * Filtered views provide a mask over the tree so that users can focus |
673 | 180 | 193 | on a subset of a tree when doing their work. See ``Filtered views`` | |
674 | 181 | * GNU Changelog output can now be produced by ``bzr log --gnu-changelog``. | 194 | in chapter 7 of the User Guide and ``bzr help view`` for details. |
675 | 182 | (Andrea Bolognani, Martin Pool) | 195 | (Ian Clatworthy) |
676 | 183 | 196 | ||
677 | 184 | * The ``-Dmemory`` flag now gives memory information on Windows. | 197 | * GNU Changelog output can now be produced by ``bzr log --gnu-changelog``. |
678 | 185 | (John Arbash Meinel) | 198 | (Andrea Bolognani, Martin Pool) |
679 | 186 | 199 | ||
680 | 187 | * Multiple authors for a commit can now be recorded by using the "--author" | 200 | * The ``-Dmemory`` flag now gives memory information on Windows. |
681 | 188 | option multiple times. (James Westby, #185772) | 201 | (John Arbash Meinel) |
682 | 189 | 202 | ||
683 | 190 | * New clean-tree command, from bzrtools. (Aaron Bentley, Jelmer Vernoij) | 203 | * Multiple authors for a commit can now be recorded by using the "--author" |
684 | 191 | 204 | option multiple times. (James Westby, #185772) | |
685 | 192 | * New command ``bzr launchpad-open`` opens a Launchpad web page for that | 205 | |
686 | 193 | branch in your web browser, as long as the branch is on Launchpad at all. | 206 | * New clean-tree command, from bzrtools. (Aaron Bentley, Jelmer Vernoij) |
687 | 194 | (Jonathan Lange) | 207 | |
688 | 195 | 208 | * New command ``bzr launchpad-open`` opens a Launchpad web page for that | |
689 | 196 | * New API for getting bugs fixed by a revision: Revision.iter_bugs(). | 209 | branch in your web browser, as long as the branch is on Launchpad at all. |
690 | 197 | (Jonathan Lange) | 210 | (Jonathan Lange) |
691 | 198 | 211 | ||
692 | 199 | IMPROVEMENTS: | 212 | * New API for getting bugs fixed by a revision: Revision.iter_bugs(). |
693 | 200 | 213 | (Jonathan Lange) | |
694 | 201 | * All bzr ``Hooks`` classes are now registered in | 214 | |
695 | 202 | ``bzrlib.hooks.known_hooks``. This removes the separate list from | 215 | Improvements |
696 | 203 | ``bzrlib.tests`` and ensures that all hooks registered there are | 216 | ************ |
697 | 204 | correctly isolated by the test suite (previously | 217 | |
698 | 205 | ``MutableTreeHooks`` were not being isolated correctly). Further, | 218 | * All bzr ``Hooks`` classes are now registered in |
699 | 206 | documentation for hooks is now dynamically generated from the | 219 | ``bzrlib.hooks.known_hooks``. This removes the separate list from |
700 | 207 | present HookPoints. ``bzr hooks`` will now also report on all the | 220 | ``bzrlib.tests`` and ensures that all hooks registered there are |
701 | 208 | hooks present in the ``bzrlib.hooks.known_hooks`` registry. | 221 | correctly isolated by the test suite (previously |
702 | 209 | (Robert Collins) | 222 | ``MutableTreeHooks`` were not being isolated correctly). Further, |
703 | 210 | 223 | documentation for hooks is now dynamically generated from the | |
704 | 211 | * ``bzr add`` no longer prints ``add completed`` on success. Failure | 224 | present HookPoints. ``bzr hooks`` will now also report on all the |
705 | 212 | still prints an error message. (Robert Collins) | 225 | hooks present in the ``bzrlib.hooks.known_hooks`` registry. |
706 | 213 | 226 | (Robert Collins) | |
707 | 214 | * ``bzr branch`` now has a ``--no-tree`` option which turns off the | 227 | |
708 | 215 | generation of a working tree in the new branch. | 228 | * ``bzr add`` no longer prints ``add completed`` on success. Failure |
709 | 216 | (Daniel Watkins, John Klinger, #273993) | 229 | still prints an error message. (Robert Collins) |
710 | 217 | 230 | ||
711 | 218 | * Bazaar will now point out ``bzr+ssh://`` to the user when they | 231 | * ``bzr branch`` now has a ``--no-tree`` option which turns off the |
712 | 219 | use ssh://. (Jelmer Vernooij, #330535) | 232 | generation of a working tree in the new branch. |
713 | 220 | 233 | (Daniel Watkins, John Klinger, #273993) | |
714 | 221 | * ``bzr -v info`` now omits the number of committers branch statistic, | 234 | |
715 | 222 | making it many times faster for large projects. To include that | 235 | * Bazaar will now point out ``bzr+ssh://`` to the user when they |
716 | 223 | statistic in the output, use ``bzr -vv info``. | 236 | use ssh://. (Jelmer Vernooij, #330535) |
717 | 224 | (Ian Clatworthy) | 237 | |
718 | 225 | 238 | * ``bzr -v info`` now omits the number of committers branch statistic, | |
719 | 226 | * ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will | 239 | making it many times faster for large projects. To include that |
720 | 227 | stream if the server is version 1.13 or greater, reducing roundtrips | 240 | statistic in the output, use ``bzr -vv info``. |
721 | 228 | significantly. (Andrew Bennetts, Robert Collins) | 241 | (Ian Clatworthy) |
722 | 229 | 242 | ||
723 | 230 | * Lightweight Checkouts and Stacked Branches should both be much | 243 | * ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will |
724 | 231 | faster over remote connections. Building the working tree now | 244 | stream if the server is version 1.13 or greater, reducing roundtrips |
725 | 232 | batches up requests into approx 5MB requests, rather than a separate | 245 | significantly. (Andrew Bennetts, Robert Collins) |
726 | 233 | request for each file. (John Arbash Meinel) | 246 | |
727 | 234 | 247 | * Lightweight Checkouts and Stacked Branches should both be much | |
728 | 235 | * Support for GSSAPI authentication when using HTTP or HTTPS. | 248 | faster over remote connections. Building the working tree now |
729 | 236 | (Jelmer Vernooij) | 249 | batches up requests into approx 5MB requests, rather than a separate |
730 | 237 | 250 | request for each file. (John Arbash Meinel) | |
731 | 238 | * The ``bzr shelve`` prompt now includes a '?' help option to explain the | 251 | |
732 | 239 | short options better. (Daniel Watkins, #327429) | 252 | * Support for GSSAPI authentication when using HTTP or HTTPS. |
733 | 240 | 253 | (Jelmer Vernooij) | |
734 | 241 | * ``bzr lp-open`` now falls back to the push location if it cannot find a | 254 | |
735 | 242 | public location. (Jonathan Lange, #332372) | 255 | * The ``bzr shelve`` prompt now includes a '?' help option to explain the |
736 | 243 | 256 | short options better. (Daniel Watkins, #327429) | |
737 | 244 | * ``bzr lp-open`` will try to find the Launchpad URL for the location | 257 | |
738 | 245 | passed on the command line. This makes ``bzr lp-open lp:foo`` work as | 258 | * ``bzr lp-open`` now falls back to the push location if it cannot find a |
739 | 246 | expected. (Jonathan Lange, #332705) | 259 | public location. (Jonathan Lange, #332372) |
740 | 247 | 260 | ||
741 | 248 | * ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie) | 261 | * ``bzr lp-open`` will try to find the Launchpad URL for the location |
742 | 249 | 262 | passed on the command line. This makes ``bzr lp-open lp:foo`` work as | |
743 | 250 | BUG FIXES: | 263 | expected. (Jonathan Lange, #332705) |
744 | 251 | 264 | ||
745 | 252 | * Bazaar now gives a better message including the filename if it's | 265 | * ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie) |
746 | 253 | unable to read a file in the working directory, for example because | 266 | |
747 | 254 | of a permission error. (Martin Pool, #338653) | 267 | Bug Fixes |
748 | 255 | 268 | ********* | |
749 | 256 | * ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a | 269 | |
750 | 257 | file id in the working tree different from the one in revision <old>. | 270 | * Bazaar now gives a better message including the filename if it's |
751 | 258 | (Vincent Ladeuil, #341517, #253806) | 271 | unable to read a file in the working directory, for example because |
752 | 259 | 272 | of a permission error. (Martin Pool, #338653) | |
753 | 260 | * ``bzr send`` help is more specific about how to apply merge | 273 | |
754 | 261 | directives. (Neil Martinsen-Burrell, #253470) | 274 | * ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a |
755 | 262 | 275 | file id in the working tree different from the one in revision <old>. | |
756 | 263 | * ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather | 276 | (Vincent Ladeuil, #341517, #253806) |
757 | 264 | than fetching trees and determining a delta itself. (Jelmer | 277 | |
758 | 265 | Vernooij, #315048) | 278 | * ``bzr send`` help is more specific about how to apply merge |
759 | 266 | 279 | directives. (Neil Martinsen-Burrell, #253470) | |
760 | 267 | * ``bzr push`` to a smart server no longer causes "Revision | 280 | |
761 | 268 | {set([('null:',)])} not present ..." errors when the branch has | 281 | * ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather |
762 | 269 | multiple root revisions. (Andrew Bennetts, #317654) | 282 | than fetching trees and determining a delta itself. (Jelmer |
763 | 270 | 283 | Vernooij, #315048) | |
764 | 271 | * ``bzr shelve`` now properly handle patches with no terminating newline. | 284 | |
765 | 272 | (Benoît PIERRE, #303569) | 285 | * ``bzr push`` to a smart server no longer causes "Revision |
766 | 273 | 286 | {set([('null:',)])} not present ..." errors when the branch has | |
767 | 274 | * ``bzr unshelve`` gives a more palatable error if passed a non-integer | 287 | multiple root revisions. (Andrew Bennetts, #317654) |
768 | 275 | shelf id. (Daniel Watkins) | 288 | |
769 | 276 | 289 | * ``bzr shelve`` now properly handle patches with no terminating newline. | |
770 | 277 | * Export now handles files that are not present in the tree. | 290 | (Benoît PIERRE, #303569) |
771 | 278 | (James Westby, #174539) | 291 | |
772 | 279 | 292 | * ``bzr unshelve`` gives a more palatable error if passed a non-integer | |
773 | 280 | * Fixed incorrect "Source format does not support stacking" warning | 293 | shelf id. (Daniel Watkins) |
774 | 281 | when pushing to a smart server. (Andrew Bennetts, #334114) | 294 | |
775 | 282 | 295 | * Export now handles files that are not present in the tree. | |
776 | 283 | * Fixed "sprout() got an unexpected keyword argument 'source_branch'" | 296 | (James Westby, #174539) |
777 | 284 | error branching from old repositories. | 297 | |
778 | 285 | (Martin Pool, #321695) | 298 | * Fixed incorrect "Source format does not support stacking" warning |
779 | 286 | 299 | when pushing to a smart server. (Andrew Bennetts, #334114) | |
780 | 287 | * Make ``bzr push --quiet <non-local location>`` less chatty. | 300 | |
781 | 288 | (Kent Gibson, #221461) | 301 | * Fixed "sprout() got an unexpected keyword argument 'source_branch'" |
782 | 289 | 302 | error branching from old repositories. | |
783 | 290 | * Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://`` | 303 | (Martin Pool, #321695) |
784 | 291 | branches, and this was not noticed due to a bug in the test logic | 304 | |
785 | 292 | for branches. This is now fixed and a test added to prevent it | 305 | * Make ``bzr push --quiet <non-local location>`` less chatty. |
786 | 293 | reoccuring. (Robert Collins, Andrew Bennetts) | 306 | (Kent Gibson, #221461) |
787 | 294 | 307 | ||
788 | 295 | * Restore the progress bar on Windows. We were disabling it when TERM | 308 | * Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://`` |
789 | 296 | wasn't set, but Windows doesn't set TERM. (Alexander Belchenko) | 309 | branches, and this was not noticed due to a bug in the test logic |
790 | 297 | 310 | for branches. This is now fixed and a test added to prevent it | |
791 | 298 | * ``setup.py build_ext`` now gives a proper error when an extension | 311 | reoccuring. (Robert Collins, Andrew Bennetts) |
792 | 299 | fails to build. (John Arbash Meinel) | 312 | |
793 | 300 | 313 | * Restore the progress bar on Windows. We were disabling it when TERM | |
794 | 301 | * Symlinks to non ascii file names are now supported. | 314 | wasn't set, but Windows doesn't set TERM. (Alexander Belchenko) |
795 | 302 | (Robert Collins, Vincent Ladeuil, #339055, #272444) | 315 | |
796 | 303 | 316 | * ``setup.py build_ext`` now gives a proper error when an extension | |
797 | 304 | * Under rare circumstances (aka nobody reported a bug about it), the ftp | 317 | fails to build. (John Arbash Meinel) |
798 | 305 | transport could revert to ascii mode. It now stays in binary mode except | 318 | |
799 | 306 | when needed. | 319 | * Symlinks to non ascii file names are now supported. |
800 | 307 | (Vincent Ladeuil) | 320 | (Robert Collins, Vincent Ladeuil, #339055, #272444) |
801 | 308 | 321 | ||
802 | 309 | * Unshelve does not generate warnings about progress bars. | 322 | * Under rare circumstances (aka nobody reported a bug about it), the ftp |
803 | 310 | (Aaron Bentley, #328148) | 323 | transport could revert to ascii mode. It now stays in binary mode except |
804 | 311 | 324 | when needed. | |
805 | 312 | * shelve cleans up properly when unversioned files are specified. | 325 | (Vincent Ladeuil) |
806 | 313 | (Benoît Pierre, Aaron Bentley) | 326 | |
807 | 314 | 327 | * Unshelve does not generate warnings about progress bars. | |
808 | 315 | DOCUMENTATION: | 328 | (Aaron Bentley, #328148) |
809 | 316 | 329 | ||
810 | 317 | * Added ``Organizing your workspace`` to the User Guide appendices, | 330 | * shelve cleans up properly when unversioned files are specified. |
811 | 318 | summarizing some common ways of organizing trees, branches and | 331 | (Benoît Pierre, Aaron Bentley) |
812 | 319 | repositories and the processes/workflows implied/enabled by each. | 332 | |
813 | 320 | (Ian Clatworthy) | 333 | Documentation |
814 | 321 | 334 | ************* | |
815 | 322 | * Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook`` | 335 | |
816 | 323 | is the entry point for this feature. (Robert Collins) | 336 | * Added ``Organizing your workspace`` to the User Guide appendices, |
817 | 324 | 337 | summarizing some common ways of organizing trees, branches and | |
818 | 325 | * The documentation for ``shelve`` and ``unshelve`` has been clarified. | 338 | repositories and the processes/workflows implied/enabled by each. |
819 | 326 | (Daniel Watkins, #327421, #327425) | 339 | (Ian Clatworthy) |
820 | 327 | 340 | ||
821 | 328 | API CHANGES: | 341 | * Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook`` |
822 | 329 | 342 | is the entry point for this feature. (Robert Collins) | |
823 | 330 | * ``bzr selftest`` now fails if the bazaar sources contain trailing | 343 | |
824 | 331 | whitespace, non-unix style line endings and files not ending in a | 344 | * The documentation for ``shelve`` and ``unshelve`` has been clarified. |
825 | 332 | newline. About 372 files and 3243 lines with trailing whitespace was | 345 | (Daniel Watkins, #327421, #327425) |
826 | 333 | updated to comply with this. The code already complied with the other | 346 | |
827 | 334 | criteria, but now it is enforced. (Marius Kruger) | 347 | API Changes |
828 | 335 | 348 | *********** | |
829 | 336 | ``bzrlib.branch.PushResult`` was renamed to | 349 | |
830 | 337 | ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij) | 350 | * ``bzr selftest`` now fails if the bazaar sources contain trailing |
831 | 338 | 351 | whitespace, non-unix style line endings and files not ending in a | |
832 | 339 | * ``Branch.fetch`` and ``Repository.fetch`` now return None rather | 352 | newline. About 372 files and 3243 lines with trailing whitespace was |
833 | 340 | than a count of copied revisions and failed revisions. A while back | 353 | updated to comply with this. The code already complied with the other |
834 | 341 | we stopped ever reporting failed revisions because we started | 354 | criteria, but now it is enforced. (Marius Kruger) |
835 | 342 | erroring instead, and the copied revisions count is not used in the | 355 | |
836 | 343 | UI at all - indeed it only reflects the repository status not | 356 | * ``bzrlib.branch.PushResult`` was renamed to |
837 | 344 | changes to the branch itself. (Robert Collins) | 357 | ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij) |
838 | 345 | 358 | ||
839 | 346 | * ``Inventory.apply_delta`` now raises an AssertionError if a file-id | 359 | * ``Branch.fetch`` and ``Repository.fetch`` now return None rather |
840 | 347 | appears multiple times within the delta. (Ian Clatworthy) | 360 | than a count of copied revisions and failed revisions. A while back |
841 | 348 | 361 | we stopped ever reporting failed revisions because we started | |
842 | 349 | * MutableTree.commit now favours the "authors" argument, with the old | 362 | erroring instead, and the copied revisions count is not used in the |
843 | 350 | "author" argument being deprecated. | 363 | UI at all - indeed it only reflects the repository status not |
844 | 351 | 364 | changes to the branch itself. (Robert Collins) | |
845 | 352 | * Remove deprecated EmptyTree. (Martin Pool) | 365 | |
846 | 353 | 366 | * ``Inventory.apply_delta`` now raises an AssertionError if a file-id | |
847 | 354 | * ``Repository.fetch`` now accepts an optional ``fetch_spec`` | 367 | appears multiple times within the delta. (Ian Clatworthy) |
848 | 355 | parameter. A ``SearchResult`` or ``MiniSearchResult`` may be passed | 368 | |
849 | 356 | to ``fetch_spec`` instead of a ``last_revision`` to specify exactly | 369 | * MutableTree.commit now favours the "authors" argument, with the old |
850 | 357 | which revisions to fetch. (Andrew Bennetts) | 370 | "author" argument being deprecated. |
851 | 358 | 371 | ||
852 | 359 | * ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a | 372 | * Remove deprecated EmptyTree. (Martin Pool) |
853 | 360 | tuple of ``(repository, is_new_flag)``, rather than just the | 373 | |
854 | 361 | repository. (Andrew Bennetts) | 374 | * ``Repository.fetch`` now accepts an optional ``fetch_spec`` |
855 | 362 | 375 | parameter. A ``SearchResult`` or ``MiniSearchResult`` may be passed | |
856 | 363 | * Revision.get_apparent_author() is now deprecated, replaced by | 376 | to ``fetch_spec`` instead of a ``last_revision`` to specify exactly |
857 | 364 | Revision.get_apparent_authors(), which returns a list. The former | 377 | which revisions to fetch. (Andrew Bennetts) |
858 | 365 | now returns the first item that would be returned from the second. | 378 | |
859 | 366 | 379 | * ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a | |
860 | 367 | * The ``BranchBuilder`` test helper now accepts a ``timestamp`` | 380 | tuple of ``(repository, is_new_flag)``, rather than just the |
861 | 368 | parameter to ``build_commit`` and ``build_snapshot``. (Martin Pool) | 381 | repository. (Andrew Bennetts) |
862 | 369 | 382 | ||
863 | 370 | * The ``_fetch_*`` attributes on ``Repository`` are now on | 383 | * Revision.get_apparent_author() is now deprecated, replaced by |
864 | 371 | ``RepositoryFormat``, more accurately reflecting their intent (they | 384 | Revision.get_apparent_authors(), which returns a list. The former |
865 | 372 | describe a disk format capability, not state of a particular | 385 | now returns the first item that would be returned from the second. |
866 | 373 | repository of that format). (Robert Collins) | 386 | |
867 | 374 | 387 | * The ``BranchBuilder`` test helper now accepts a ``timestamp`` | |
868 | 375 | INTERNALS: | 388 | parameter to ``build_commit`` and ``build_snapshot``. (Martin Pool) |
869 | 376 | 389 | ||
870 | 377 | * Branching from a non-stacked branch on a smart protocol is now | 390 | * The ``_fetch_*`` attributes on ``Repository`` are now on |
871 | 378 | free of virtual file system methods. | 391 | ``RepositoryFormat``, more accurately reflecting their intent (they |
872 | 379 | (Robert Collins, Andrew Bennetts) | 392 | describe a disk format capability, not state of a particular |
873 | 380 | 393 | repository of that format). (Robert Collins) | |
874 | 381 | * Branch and Repository creation on a bzr+ssh://server are now done | 394 | |
875 | 382 | via RPC calls rather than VFS calls, reducing round trips for | 395 | Internals |
876 | 383 | pushing new branches substantially. (Robert Collins) | 396 | ********* |
877 | 384 | 397 | ||
878 | 385 | * ``Branch.clone`` now takes the ``repository_policy`` formerly used | 398 | * Branching from a non-stacked branch on a smart protocol is now |
879 | 386 | inside ``BzrDir.clone_on_transport``, allowing stacking to be | 399 | free of virtual file system methods. |
880 | 387 | configured before the branch tags and revision tip are set. This | 400 | (Robert Collins, Andrew Bennetts) |
881 | 388 | fixes a race condition cloning stacked branches that would cause | 401 | |
882 | 389 | plugins to have hooks called on non-stacked instances. | 402 | * Branch and Repository creation on a bzr+ssh://server are now done |
883 | 390 | (Robert Collins, #334187) | 403 | via RPC calls rather than VFS calls, reducing round trips for |
884 | 391 | 404 | pushing new branches substantially. (Robert Collins) | |
885 | 392 | * ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins) | 405 | |
886 | 393 | 406 | * ``Branch.clone`` now takes the ``repository_policy`` formerly used | |
887 | 394 | * ``BzrDirFormat.__str__`` now uses the human readable description | 407 | inside ``BzrDir.clone_on_transport``, allowing stacking to be |
888 | 395 | rather than the sometimes-absent disk label. (Robert Collins) | 408 | configured before the branch tags and revision tip are set. This |
889 | 396 | 409 | fixes a race condition cloning stacked branches that would cause | |
890 | 397 | * ``bzrlib.fetch`` is now composed of a sender and a sink component | 410 | plugins to have hooks called on non-stacked instances. |
891 | 398 | allowing for decoupling over a network connection. Fetching from | 411 | (Robert Collins, #334187) |
892 | 399 | or into a RemoteRepository with a 1.13 server will use this to | 412 | |
893 | 400 | stream the operation. | 413 | * ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins) |
894 | 401 | (Andrew Bennetts, Robert Collins) | 414 | |
895 | 402 | 415 | * ``BzrDirFormat.__str__`` now uses the human readable description | |
896 | 403 | * ``bzrlib.tests.run_suite`` accepts a runner_class parameter | 416 | rather than the sometimes-absent disk label. (Robert Collins) |
897 | 404 | supporting the use of different runners. (Robert Collins) | 417 | |
898 | 405 | 418 | * ``bzrlib.fetch`` is now composed of a sender and a sink component | |
899 | 406 | * Change how file_ids and revision_ids are interned as part of | 419 | allowing for decoupling over a network connection. Fetching from |
900 | 407 | inventory deserialization. Now we use the real ``intern()``, rather | 420 | or into a RemoteRepository with a 1.13 server will use this to |
901 | 408 | than our own workaround that would also cache a Unicode copy of the | 421 | stream the operation. |
902 | 409 | string, and never emptied the cache. This should slightly reduce | 422 | (Andrew Bennetts, Robert Collins) |
903 | 410 | memory consumption. (John Arbash Meinel) | 423 | |
904 | 411 | 424 | * ``bzrlib.tests.run_suite`` accepts a runner_class parameter | |
905 | 412 | * New branch method ``create_clone_on_transport`` that returns a | 425 | supporting the use of different runners. (Robert Collins) |
906 | 413 | branch object. (Robert Collins) | 426 | |
907 | 414 | 427 | * Change how file_ids and revision_ids are interned as part of | |
908 | 415 | * New hook Commands['extend_command'] to allow plugins to access a | 428 | inventory deserialization. Now we use the real ``intern()``, rather |
909 | 416 | command object before the command is run (or help generated from | 429 | than our own workaround that would also cache a Unicode copy of the |
910 | 417 | it), without overriding the command. (Robert Collins) | 430 | string, and never emptied the cache. This should slightly reduce |
911 | 418 | 431 | memory consumption. (John Arbash Meinel) | |
912 | 419 | * New version of the ``BzrDir.find_repository`` verb supporting | 432 | |
913 | 420 | ``_network_name`` to support removing more _ensure_real calls. | 433 | * New branch method ``create_clone_on_transport`` that returns a |
914 | 421 | (Robert Collins) | 434 | branch object. (Robert Collins) |
915 | 422 | 435 | ||
916 | 423 | * ``RemoteBranchFormat`` no longer claims to have a disk format string. | 436 | * New hook Commands['extend_command'] to allow plugins to access a |
917 | 424 | (Robert Collins) | 437 | command object before the command is run (or help generated from |
918 | 425 | 438 | it), without overriding the command. (Robert Collins) | |
919 | 426 | * ``Repository`` objects now have ``suspend_write_group`` and | 439 | |
920 | 427 | ``resume_write_group`` methods. These are currently only useful | 440 | * New version of the ``BzrDir.find_repository`` verb supporting |
921 | 428 | with pack repositories. (Andrew Bennetts, Robert Collins) | 441 | ``_network_name`` to support removing more _ensure_real calls. |
922 | 429 | 442 | (Robert Collins) | |
923 | 430 | * ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects | 443 | |
924 | 431 | now have a ``network_name`` for passing the format across RPC calls. | 444 | * ``RemoteBranchFormat`` no longer claims to have a disk format string. |
925 | 432 | (Robert Collins, Andrew Bennetts) | 445 | (Robert Collins) |
926 | 433 | 446 | ||
927 | 434 | * ``RepositoryFormat`` objects now all have a new attribute | 447 | * ``Repository`` objects now have ``suspend_write_group`` and |
928 | 435 | ``_serializer`` used by fetch when reserialising is required. | 448 | ``resume_write_group`` methods. These are currently only useful |
929 | 436 | (Robert Collins, Andrew Bennetts) | 449 | with pack repositories. (Andrew Bennetts, Robert Collins) |
930 | 437 | 450 | ||
931 | 438 | * Some methods have been pulled up from ``BzrBranch`` to ``Branch`` | 451 | * ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects |
932 | 439 | to aid branch types that are not bzr branch objects (like | 452 | now have a ``network_name`` for passing the format across RPC calls. |
933 | 440 | RemoteBranch). (Robert Collins, Andrew Bennetts) | 453 | (Robert Collins, Andrew Bennetts) |
934 | 441 | 454 | ||
935 | 442 | * Test adaptation has been made consistent throughout the built in | 455 | * ``RepositoryFormat`` objects now all have a new attribute |
936 | 443 | tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``, | 456 | ``_serializer`` used by fetch when reserialising is required. |
937 | 444 | ``adapt_tests``, ``adapt_modules`` have all been deleted. Please | 457 | (Robert Collins, Andrew Bennetts) |
938 | 445 | use ``multiply_tests``, or for lower level needs ``apply_scenarios`` | 458 | |
939 | 446 | and ``apply_scenario``. (Robert Collins) | 459 | * Some methods have been pulled up from ``BzrBranch`` to ``Branch`` |
940 | 447 | 460 | to aid branch types that are not bzr branch objects (like | |
941 | 448 | * ``TestSkipped`` is now detected by TestCase and passed to the | 461 | RemoteBranch). (Robert Collins, Andrew Bennetts) |
942 | 449 | ``TestResult`` by calling ``addSkip``. For older TestResult objects, | 462 | |
943 | 450 | where ``addSkip`` is not available, ``addError`` is still called. | 463 | * Test adaptation has been made consistent throughout the built in |
944 | 451 | This permits test filtering in subunit to strip out skipped tests | 464 | tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``, |
945 | 452 | resulting in a faster fix-shrink-list-run cycle. This is compatible | 465 | ``adapt_tests``, ``adapt_modules`` have all been deleted. Please |
946 | 453 | with the testtools protocol for skips. (Robert Collins) | 466 | use ``multiply_tests``, or for lower level needs ``apply_scenarios`` |
947 | 454 | 467 | and ``apply_scenario``. (Robert Collins) | |
948 | 455 | * The ``_index`` of ``KnitVersionedFiles`` now supports the ability | 468 | |
949 | 456 | to scan an underlying index that is going to be incorporated into | 469 | * ``TestSkipped`` is now detected by TestCase and passed to the |
950 | 457 | the ``KnitVersionedFiles`` object, to determine if it has missing | 470 | ``TestResult`` by calling ``addSkip``. For older TestResult objects, |
951 | 458 | delta references. The method is ``scan_unvalidated_index``. | 471 | where ``addSkip`` is not available, ``addError`` is still called. |
952 | 459 | (Andrew Bennetts, Robert Collins) | 472 | This permits test filtering in subunit to strip out skipped tests |
953 | 460 | 473 | resulting in a faster fix-shrink-list-run cycle. This is compatible | |
954 | 461 | * There is a RemoteSink object which handles pushing to smart servers. | 474 | with the testtools protocol for skips. (Robert Collins) |
955 | 462 | (Andrew Bennetts, Robert Collins) | 475 | |
956 | 463 | 476 | * The ``_index`` of ``KnitVersionedFiles`` now supports the ability | |
957 | 464 | * ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and | 477 | to scan an underlying index that is going to be incorporated into |
958 | 465 | ``rmdir`` calls. (Robert Collins) | 478 | the ``KnitVersionedFiles`` object, to determine if it has missing |
959 | 466 | 479 | delta references. The method is ``scan_unvalidated_index``. | |
960 | 467 | * ``VersionedFiles`` record adapters have had their signature change | 480 | (Andrew Bennetts, Robert Collins) |
961 | 468 | from ``(record, record.get_bytes_as(record.storage_kind))`` to | 481 | |
962 | 469 | ``(record)`` reducing excess duplication and allowing adapters | 482 | * There is a RemoteSink object which handles pushing to smart servers. |
963 | 470 | to access private data in record to obtain content more | 483 | (Andrew Bennetts, Robert Collins) |
964 | 471 | efficiently. (Robert Collins) | 484 | |
965 | 472 | 485 | * ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and | |
966 | 473 | * We no longer probe to see if we should create a working tree during | 486 | ``rmdir`` calls. (Robert Collins) |
967 | 474 | clone if we cannot get a local_abspath for the new bzrdir. | 487 | |
968 | 475 | (Robert Collins) | 488 | * ``VersionedFiles`` record adapters have had their signature change |
969 | 476 | 489 | from ``(record, record.get_bytes_as(record.storage_kind))`` to | |
970 | 477 | 490 | ``(record)`` reducing excess duplication and allowing adapters | |
971 | 478 | bzr 1.12 "1234567890" 2009-02-13 | 491 | to access private data in record to obtain content more |
972 | 479 | -------------------------------- | 492 | efficiently. (Robert Collins) |
973 | 493 | |||
974 | 494 | * We no longer probe to see if we should create a working tree during | ||
975 | 495 | clone if we cannot get a local_abspath for the new bzrdir. | ||
976 | 496 | (Robert Collins) | ||
977 | 497 | |||
978 | 498 | |||
979 | 499 | bzr 1.12 | ||
980 | 500 | ######## | ||
981 | 501 | |||
982 | 502 | :Codename: 1234567890 | ||
983 | 503 | :1.12: 2009-02-13 | ||
984 | 504 | :1.12rc1: 2009-02-10 | ||
985 | 480 | 505 | ||
986 | 481 | This release of Bazaar contains many improvements to the speed, | 506 | This release of Bazaar contains many improvements to the speed, |
987 | 482 | documentation and functionality of ``bzr log`` and the display of logged | 507 | documentation and functionality of ``bzr log`` and the display of logged |
988 | @@ -484,211 +509,213 @@ | |||
989 | 484 | progress, both in the way operations are drawn onto a text terminal, and | 509 | progress, both in the way operations are drawn onto a text terminal, and |
990 | 485 | by showing the rate of network IO. | 510 | by showing the rate of network IO. |
991 | 486 | 511 | ||
1193 | 487 | BUG FIXES: | 512 | Changes from RC1 to Final |
1194 | 488 | 513 | ************************* | |
1195 | 489 | * ``bzr init --development-wt5[-rich-root]`` would fail because of | 514 | |
1196 | 490 | circular import errors. (John Arbash Meinel, #328135) | 515 | * ``bzr init --development-wt5[-rich-root]`` would fail because of |
1197 | 491 | 516 | circular import errors. (John Arbash Meinel, #328135) | |
1198 | 492 | DOCUMENTATION: | 517 | |
1199 | 493 | 518 | * Expanded the help for log and added a new help topic called | |
1200 | 494 | * Expanded the help for log and added a new help topic called | 519 | ``log-formats``. (Ian Clatworthy) |
1201 | 495 | ``log-formats``. (Ian Clatworthy) | 520 | |
1202 | 496 | 521 | Compatibility Breaks | |
1203 | 497 | 522 | ******************** | |
1204 | 498 | bzr 1.12rc1 "1234567890" 2009-02-10 | 523 | |
1205 | 499 | ----------------------------------- | 524 | * By default, ``bzr status`` after a merge now shows just the pending |
1206 | 500 | 525 | merge tip revisions. This improves the signal-to-noise ratio after | |
1207 | 501 | COMPATIBILITY BREAKS: | 526 | merging from trunk and completes much faster. To see all merged |
1208 | 502 | 527 | revisions, use the new ``-v`` flag. (Ian Clatworthy) | |
1209 | 503 | * By default, ``bzr status`` after a merge now shows just the pending | 528 | |
1210 | 504 | merge tip revisions. This improves the signal-to-noise ratio after | 529 | * ``bzr log --line`` now shows any tags after the date and before |
1211 | 505 | merging from trunk and completes much faster. To see all merged | 530 | the commit message. If you have scripts which parse the output |
1212 | 506 | revisions, use the new ``-v`` flag. (Ian Clatworthy) | 531 | from this command, you may need to adjust them accordingly. |
1213 | 507 | 532 | (Ian Clatworthy) | |
1214 | 508 | * ``bzr log --line`` now shows any tags after the date and before | 533 | |
1215 | 509 | the commit message. If you have scripts which parse the output | 534 | * ``bzr log --short`` now shows any additional revision properties |
1216 | 510 | from this command, you may need to adjust them accordingly. | 535 | after the date and before the commit message. Scripts that parse |
1217 | 511 | (Ian Clatworthy) | 536 | output of the log command in this situation may need to adjust. |
1218 | 512 | 537 | (Neil Martinsen-Burrell) | |
1219 | 513 | * ``bzr log --short`` now shows any additional revision properties | 538 | |
1220 | 514 | after the date and before the commit message. Scripts that parse | 539 | * The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root`` |
1221 | 515 | output of the log command in this situation may need to adjust. | 540 | have been renamed ``development-wt5`` and ``development-wt5-rich-root`` |
1222 | 516 | (Neil Martinsen-Burrell) | 541 | respectively, given they are not ready for release in 1.12. |
1223 | 517 | 542 | (Ian Clatworthy) | |
1224 | 518 | * The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root`` | 543 | |
1225 | 519 | have been renamed ``development-wt5`` and ``development-wt5-rich-root`` | 544 | * ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil) |
1226 | 520 | respectively, given they are not ready for release in 1.12. | 545 | |
1227 | 521 | (Ian Clatworthy) | 546 | New Features |
1228 | 522 | 547 | ************ | |
1229 | 523 | * ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil) | 548 | |
1230 | 524 | 549 | * Add support for filtering ``bzr missing`` on revisions. Remote revisions | |
1231 | 525 | NEW FEATURES: | 550 | can be filtered using ``bzr missing -r -20..-10`` and local revisions can |
1232 | 526 | 551 | be filtered using ``bzr missing --my-revision -20..-10``. | |
1233 | 527 | * Add support for filtering ``bzr missing`` on revisions. Remote revisions | 552 | (Marius Kruger) |
1234 | 528 | can be filtered using ``bzr missing -r -20..-10`` and local revisions can | 553 | |
1235 | 529 | be filtered using ``bzr missing --my-revision -20..-10``. | 554 | * ``bzr log -p`` displays the patch diff for each revision. |
1236 | 530 | (Marius Kruger) | 555 | When logging a file, the diff only includes changes to that file. |
1237 | 531 | 556 | (Ian Clatworthy, #202331, #227335) | |
1238 | 532 | * ``bzr log -p`` displays the patch diff for each revision. | 557 | |
1239 | 533 | When logging a file, the diff only includes changes to that file. | 558 | * ``bzr log`` supports a new option called ``-n N`` or ``--level N``. |
1240 | 534 | (Ian Clatworthy, #202331, #227335) | 559 | A value of 0 (zero) means "show all nested merge revisions" while |
1241 | 535 | 560 | a value of 1 (one) means "show just the top level". Values above | |
1242 | 536 | * ``bzr log`` supports a new option called ``-n N`` or ``--level N``. | 561 | 1 can be used to see a limited amount of nesting. That can be |
1243 | 537 | A value of 0 (zero) means "show all nested merge revisions" while | 562 | useful for seeing the level or two below PQM submits for example. |
1244 | 538 | a value of 1 (one) means "show just the top level". Values above | 563 | To force the ``--short`` and ``--line`` formats to display all nested |
1245 | 539 | 1 can be used to see a limited amount of nesting. That can be | 564 | merge revisions just like ``--long`` does by default, use a command |
1246 | 540 | useful for seeing the level or two below PQM submits for example. | 565 | like ``bzr log --short -n0``. To display just the mainline using |
1247 | 541 | To force the ``--short`` and ``--line`` formats to display all nested | 566 | ``--long`` format, ``bzr log --long -n1``. |
1248 | 542 | merge revisions just like ``--long`` does by default, use a command | 567 | (Ian Clatworthy) |
1249 | 543 | like ``bzr log --short -n0``. To display just the mainline using | 568 | |
1250 | 544 | ``--long`` format, ``bzr log --long -n1``. | 569 | Improvements |
1251 | 545 | (Ian Clatworthy) | 570 | ************ |
1252 | 546 | 571 | ||
1253 | 547 | IMPROVEMENTS: | 572 | * ``bzr add`` more clearly communicates success vs failure. |
1254 | 548 | 573 | (Daniel Watkins) | |
1255 | 549 | * ``bzr add`` more clearly communicates success vs failure. | 574 | |
1256 | 550 | (Daniel Watkins) | 575 | * ``bzr init`` will now print a little less verbose output. |
1257 | 551 | 576 | (Marius Kruger) | |
1258 | 552 | * ``bzr init`` will now print a little less verbose output. | 577 | |
1259 | 553 | (Marius Kruger) | 578 | * ``bzr log`` is now much faster in many use cases, particularly |
1260 | 554 | 579 | at incrementally displaying results and filtering by a | |
1261 | 555 | * ``bzr log`` is now much faster in many use cases, particularly | 580 | revision range. (Ian Clatworthy) |
1262 | 556 | at incrementally displaying results and filtering by a | 581 | |
1263 | 557 | revision range. (Ian Clatworthy) | 582 | * ``bzr log --short`` and ``bzr log --line`` now show tags, if any, |
1264 | 558 | 583 | for each revision. The tags are shown comma-separated inside | |
1265 | 559 | * ``bzr log --short`` and ``bzr log --line`` now show tags, if any, | 584 | ``{}``. For short format, the tags appear at the end of line |
1266 | 560 | for each revision. The tags are shown comma-separated inside | 585 | before the optional ``[merge]`` indicator. For line format, |
1267 | 561 | ``{}``. For short format, the tags appear at the end of line | 586 | the tags appear after the date. (Ian Clatworthy) |
1268 | 562 | before the optional ``[merge]`` indicator. For line format, | 587 | |
1269 | 563 | the tags appear after the date. (Ian Clatworthy) | 588 | * Progress bars now show the rate of activity for some sftp |
1270 | 564 | 589 | operations, and they are drawn different. (Martin Pool, #172741) | |
1271 | 565 | * Progress bars now show the rate of activity for some sftp | 590 | |
1272 | 566 | operations, and they are drawn different. (Martin Pool, #172741) | 591 | * Progress bars now show the rate of activity for urllib and pycurl based |
1273 | 567 | 592 | http client implementations. The operations are tracked at the socket | |
1274 | 568 | * Progress bars now show the rate of activity for urllib and pycurl based | 593 | level for better precision. |
1275 | 569 | http client implementations. The operations are tracked at the socket | 594 | (Vincent Ladeuil) |
1276 | 570 | level for better precision. | 595 | |
1277 | 571 | (Vincent Ladeuil) | 596 | * Rule-based preferences can now accept multiple patterns for a set of |
1278 | 572 | 597 | rules. (Marius Kruger) | |
1279 | 573 | * Rule-based preferences can now accept multiple patterns for a set of | 598 | |
1280 | 574 | rules. (Marius Kruger) | 599 | * The ``ancestor:`` revision spec will now default to referring to the |
1281 | 575 | 600 | parent of the branch if no other location is given. | |
1282 | 576 | * The ``ancestor:`` revision spec will now default to referring to the | 601 | (Daniel Watkins, #198417) |
1283 | 577 | parent of the branch if no other location is given. | 602 | |
1284 | 578 | (Daniel Watkins, #198417) | 603 | * The debugger started as a result of setting ``$BZR_PDB`` works |
1285 | 579 | 604 | around a bug in ``pdb``, http://bugs.python.org/issue4150. The bug | |
1286 | 580 | * The debugger started as a result of setting ``$BZR_PDB`` works | 605 | can cause truncated tracebacks in Python versions before 2.6. |
1287 | 581 | around a bug in ``pdb``, http://bugs.python.org/issue4150. The bug | 606 | (Andrew Bennetts) |
1288 | 582 | can cause truncated tracebacks in Python versions before 2.6. | 607 | |
1289 | 583 | (Andrew Bennetts) | 608 | * VirtualVersionedFiles now implements |
1290 | 584 | 609 | ``iter_lines_added_or_present_in_keys``. This allows the creation of | |
1291 | 585 | * VirtualVersionedFiles now implements | 610 | new branches based on stacked bzr-svn branches. (#311997) |
1292 | 586 | ``iter_lines_added_or_present_in_keys``. This allows the creation of | 611 | |
1293 | 587 | new branches based on stacked bzr-svn branches. (#311997) | 612 | Bug Fixes |
1294 | 588 | 613 | ********* | |
1295 | 589 | BUG FIXES: | 614 | |
1296 | 590 | 615 | * ``bzr annotate --show-ids`` doesn't give a backtrace on empty files | |
1297 | 591 | * ``bzr annotate --show-ids`` doesn't give a backtrace on empty files | 616 | anymore. |
1298 | 592 | anymore. | 617 | (Anne Mohsen, Vincent Ladeuil, #314525) |
1299 | 593 | (Anne Mohsen, Vincent Ladeuil, #314525) | 618 | |
1300 | 594 | 619 | * ``bzr log FILE`` now correctly shows mainline revisions merging | |
1301 | 595 | * ``bzr log FILE`` now correctly shows mainline revisions merging | 620 | a change to FILE when the ``--short`` and ``--line`` log formats |
1302 | 596 | a change to FILE when the ``--short`` and ``--line`` log formats | 621 | are used. (Ian Clatworthy, #317417) |
1303 | 597 | are used. (Ian Clatworthy, #317417) | 622 | |
1304 | 598 | 623 | * ``bzr log -rX..Y FILE`` now shows the history of FILE provided | |
1305 | 599 | * ``bzr log -rX..Y FILE`` now shows the history of FILE provided | 624 | it existed in Y or X, even if the file has since been deleted or |
1306 | 600 | it existed in Y or X, even if the file has since been deleted or | 625 | renamed. If no range is given, the current/basis tree and |
1307 | 601 | renamed. If no range is given, the current/basis tree and | 626 | initial tree are searched in that order. More generally, log |
1308 | 602 | initial tree are searched in that order. More generally, log | 627 | now interprets filenames in their historical context. |
1309 | 603 | now interprets filenames in their historical context. | 628 | (Ian Clatworthy, #175520) |
1310 | 604 | (Ian Clatworthy, #175520) | 629 | |
1311 | 605 | 630 | * ``bzr status`` now reports nonexistent files and continues, then | |
1312 | 606 | * ``bzr status`` now reports nonexistent files and continues, then | 631 | errors (with code 3) at the end. (Karl Fogel, #306394) |
1313 | 607 | errors (with code 3) at the end. (Karl Fogel, #306394) | 632 | |
1314 | 608 | 633 | * Don't require the present compression base in knits to be the same | |
1315 | 609 | * Don't require the present compression base in knits to be the same | 634 | when adding records in knits. (Jelmer Vernooij, #307394) |
1316 | 610 | when adding records in knits. (Jelmer Vernooij, #307394) | 635 | |
1317 | 611 | 636 | * Fix a problem with CIFS client/server lag on Windows colliding with | |
1318 | 612 | * Fix a problem with CIFS client/server lag on Windows colliding with | 637 | an invariant-per-process algorithm for generating AtomicFile names |
1319 | 613 | an invariant-per-process algorithm for generating AtomicFile names | 638 | (Adrian Wilkins, #304023) |
1320 | 614 | (Adrian Wilkins, #304023) | 639 | |
1321 | 615 | 640 | * Many socket operations now handle EINTR by retrying the operation. | |
1322 | 616 | * Many socket operations now handle EINTR by retrying the operation. | 641 | Previously EINTR was treated as an unrecoverable failure. There is |
1323 | 617 | Previously EINTR was treated as an unrecoverable failure. There is | 642 | a new ``until_no_eintr`` helper function in ``bzrlib.osutils``. |
1324 | 618 | a new ``until_no_eintr`` helper function in ``bzrlib.osutils``. | 643 | (Andrew Bennetts) |
1325 | 619 | (Andrew Bennetts) | 644 | |
1326 | 620 | 645 | * Support symlinks with non-ascii characters in the symlink filename. | |
1327 | 621 | * Support symlinks with non-ascii characters in the symlink filename. | 646 | (Jelmer Vernooij, #319323) |
1328 | 622 | (Jelmer Vernooij, #319323) | 647 | |
1329 | 623 | 648 | * There was a bug in how we handled resolving when a file is deleted | |
1330 | 624 | * There was a bug in how we handled resolving when a file is deleted | 649 | in one branch, and modified in the other. If there was a criss-cross |
1331 | 625 | in one branch, and modified in the other. If there was a criss-cross | 650 | merge, we would cause the deletion to conflict a second time. |
1332 | 626 | merge, we would cause the deletion to conflict a second time. | 651 | (Vincent Ladeuil, John Arbash Meinel) |
1333 | 627 | (Vincent Ladeuil, John Arbash Meinel) | 652 | |
1334 | 628 | 653 | * There was another bug in how we chose the correct intermediate LCA in | |
1335 | 629 | * There was another bug in how we chose the correct intermediate LCA in | 654 | criss-cross merges leading to several kind of changes be incorrectly |
1336 | 630 | criss-cross merges leading to several kind of changes be incorrectly | 655 | handled. |
1337 | 631 | handled. | 656 | (John Arbash Meinel, Vincent Ladeuil) |
1338 | 632 | (John Arbash Meinel, Vincent Ladeuil) | 657 | |
1339 | 633 | 658 | * Unshelve now handles deleted paths without crashing. (Robert Collins) | |
1340 | 634 | * Unshelve now handles deleted paths without crashing. (Robert Collins) | 659 | |
1341 | 635 | 660 | Documentation | |
1342 | 636 | DOCUMENTATION: | 661 | ************* |
1343 | 637 | 662 | ||
1344 | 638 | * Improved plugin developer documentation. (Martin Pool) | 663 | * Improved plugin developer documentation. (Martin Pool) |
1345 | 639 | 664 | ||
1346 | 640 | API CHANGES: | 665 | API Changes |
1347 | 641 | 666 | *********** | |
1348 | 642 | * ``ProgressBarStack`` is deprecated; instead use | 667 | |
1349 | 643 | ``ui_factory.nested_progress_bar`` to create new progress bars. | 668 | * ``ProgressBarStack`` is deprecated; instead use |
1350 | 644 | (Martin Pool) | 669 | ``ui_factory.nested_progress_bar`` to create new progress bars. |
1351 | 645 | 670 | (Martin Pool) | |
1352 | 646 | * ForeignVcsMapping() now requires a ForeignVcs object as first | 671 | |
1353 | 647 | argument. (Jelmer Vernooij) | 672 | * ForeignVcsMapping() now requires a ForeignVcs object as first |
1354 | 648 | 673 | argument. (Jelmer Vernooij) | |
1355 | 649 | * ForeignVcsMapping.show_foreign_revid() has been moved to | 674 | |
1356 | 650 | ForeignVcs. (Jelmer Vernooij) | 675 | * ForeignVcsMapping.show_foreign_revid() has been moved to |
1357 | 651 | 676 | ForeignVcs. (Jelmer Vernooij) | |
1358 | 652 | * ``read_bundle_from_url`` is deprecated in favor of | 677 | |
1359 | 653 | ``read_mergeable_from_url``. (Vincent Ladeuil) | 678 | * ``read_bundle_from_url`` is deprecated in favor of |
1360 | 654 | 679 | ``read_mergeable_from_url``. (Vincent Ladeuil) | |
1361 | 655 | * Revision specifiers are now registered in | 680 | |
1362 | 656 | ``bzrlib.revisionspec.revspec_registry``, and the old list of | 681 | * Revision specifiers are now registered in |
1363 | 657 | revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been | 682 | ``bzrlib.revisionspec.revspec_registry``, and the old list of |
1364 | 658 | deprecated. (Jelmer Vernooij, #321183) | 683 | revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been |
1365 | 659 | 684 | deprecated. (Jelmer Vernooij, #321183) | |
1366 | 660 | * The progress and UI classes have changed; the main APIs remain the | 685 | |
1367 | 661 | same but code that provides a new UI or progress bar class may | 686 | * The progress and UI classes have changed; the main APIs remain the |
1368 | 662 | need to be updated. (Martin Pool) | 687 | same but code that provides a new UI or progress bar class may |
1369 | 663 | 688 | need to be updated. (Martin Pool) | |
1370 | 664 | INTERNALS: | 689 | |
1371 | 665 | 690 | Internals | |
1372 | 666 | * Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb | 691 | ********* |
1373 | 667 | terminal. It is sometimes desirable do override this default by forcing | 692 | |
1374 | 668 | bzr to use TextUIFactory. This can be achieved by setting the | 693 | * Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb |
1375 | 669 | BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to | 694 | terminal. It is sometimes desirable do override this default by forcing |
1376 | 670 | compile buffers, are such an example). | 695 | bzr to use TextUIFactory. This can be achieved by setting the |
1377 | 671 | (Vincent Ladeuil) | 696 | BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to |
1378 | 672 | 697 | compile buffers, are such an example). | |
1379 | 673 | * New API ``Branch.iter_merge_sorted_revisions()`` that iterates over | 698 | (Vincent Ladeuil) |
1380 | 674 | ``(revision_id, depth, revno, end_of_merge)`` tuples. | 699 | |
1381 | 675 | (Ian Clatworthy) | 700 | * New API ``Branch.iter_merge_sorted_revisions()`` that iterates over |
1382 | 676 | 701 | ``(revision_id, depth, revno, end_of_merge)`` tuples. | |
1383 | 677 | * New ``Branch.dotted_revno_to_revision_id()`` and | 702 | (Ian Clatworthy) |
1384 | 678 | ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most | 703 | |
1385 | 679 | efficient way of doing the mapping. | 704 | * New ``Branch.dotted_revno_to_revision_id()`` and |
1386 | 680 | (Ian Clatworthy) | 705 | ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most |
1387 | 681 | 706 | efficient way of doing the mapping. | |
1388 | 682 | * Refactor cmd_serve so that it's a little easier to build commands that | 707 | (Ian Clatworthy) |
1389 | 683 | extend it, and perhaps even a bit easier to read. (Jonathan Lange) | 708 | |
1390 | 684 | 709 | * Refactor cmd_serve so that it's a little easier to build commands that | |
1391 | 685 | * ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log | 710 | extend it, and perhaps even a bit easier to read. (Jonathan Lange) |
1392 | 686 | formatters to retrict the output. | 711 | |
1393 | 687 | (Vincent Ladeuil) | 712 | * ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log |
1394 | 713 | formatters to retrict the output. | ||
1395 | 714 | (Vincent Ladeuil) | ||
1396 | 688 | 715 | ||
1397 | 689 | 716 | ||
1398 | 690 | bzr 1.11 "Eyes up!" 2009-01-19 | 717 | bzr 1.11 "Eyes up!" 2009-01-19 |
1400 | 691 | ------------------------------ | 718 | ############################## |
1401 | 692 | 719 | ||
1402 | 693 | This first monthly release of Bazaar for 2009 improves Bazaar's operation | 720 | This first monthly release of Bazaar for 2009 improves Bazaar's operation |
1403 | 694 | in Windows, Mac OS X, and other situations where file names are matched | 721 | in Windows, Mac OS X, and other situations where file names are matched |
1404 | @@ -703,247 +730,256 @@ | |||
1405 | 703 | This release also fixes a number of bugs, particularly a glitch that can | 730 | This release also fixes a number of bugs, particularly a glitch that can |
1406 | 704 | occur when there are concurrent writes to a pack repository. | 731 | occur when there are concurrent writes to a pack repository. |
1407 | 705 | 732 | ||
1415 | 706 | BUG FIXES: | 733 | Bug Fixes |
1416 | 707 | 734 | ********* | |
1417 | 708 | * Fix failing test when CompiledChunksToLines is not available. | 735 | |
1418 | 709 | (Vincent Ladeuil) | 736 | * Fix failing test when CompiledChunksToLines is not available. |
1419 | 710 | 737 | (Vincent Ladeuil) | |
1420 | 711 | * Stacked branches don't repeatedly open their transport connection. | 738 | |
1421 | 712 | (John Arbash Meinel) | 739 | * Stacked branches don't repeatedly open their transport connection. |
1422 | 740 | (John Arbash Meinel) | ||
1423 | 713 | 741 | ||
1424 | 714 | 742 | ||
1425 | 715 | 743 | ||
1426 | 716 | bzr 1.11rc1 "Eyes up!" 2009-01-09 | 744 | bzr 1.11rc1 "Eyes up!" 2009-01-09 |
1624 | 717 | --------------------------------- | 745 | ################################# |
1625 | 718 | 746 | ||
1626 | 719 | CHANGES: | 747 | Changes |
1627 | 720 | 748 | ******* | |
1628 | 721 | * Formats using Knit-based repository formats are now explicitly | 749 | |
1629 | 722 | marked as deprecated. (Ian Clatworthy) | 750 | * Formats using Knit-based repository formats are now explicitly |
1630 | 723 | 751 | marked as deprecated. (Ian Clatworthy) | |
1631 | 724 | NEW FEATURES: | 752 | |
1632 | 725 | 753 | New Features | |
1633 | 726 | * Add support for `bzr tags -r 1..2`, that is we now support showing | 754 | ************ |
1634 | 727 | tags applicable for a specified revision range. (Marius Kruger) | 755 | |
1635 | 728 | 756 | * Add support for `bzr tags -r 1..2`, that is we now support showing | |
1636 | 729 | * ``authentication.conf`` now accepts pluggable read-only credential | 757 | tags applicable for a specified revision range. (Marius Kruger) |
1637 | 730 | stores. Such a plugin (``netrc_credential_store``) is now included, | 758 | |
1638 | 731 | handles the ``$HOME/.netrc`` file and can server as an example to | 759 | * ``authentication.conf`` now accepts pluggable read-only credential |
1639 | 732 | implement other plugins. | 760 | stores. Such a plugin (``netrc_credential_store``) is now included, |
1640 | 733 | (Vincent Ladeuil) | 761 | handles the ``$HOME/.netrc`` file and can server as an example to |
1641 | 734 | 762 | implement other plugins. | |
1642 | 735 | * ``shelve --list`` can now be used to list shelved changes. | 763 | (Vincent Ladeuil) |
1643 | 736 | (Aaron Bentley) | 764 | |
1644 | 737 | 765 | * ``shelve --list`` can now be used to list shelved changes. | |
1645 | 738 | IMPROVEMENTS: | 766 | (Aaron Bentley) |
1646 | 739 | 767 | ||
1647 | 740 | * Add trailing slash to directories in all output of ``bzr ls``, except | 768 | Improvements |
1648 | 741 | ``bzr ls --null``. (Gordon P. Hemsley, #306424) | 769 | ************ |
1649 | 742 | 770 | ||
1650 | 743 | * ``bzr revision-info`` now supports a -d option to specify an | 771 | * Add trailing slash to directories in all output of ``bzr ls``, except |
1651 | 744 | alternative branch. (Michael Hudson) | 772 | ``bzr ls --null``. (Gordon P. Hemsley, #306424) |
1652 | 745 | 773 | ||
1653 | 746 | * Add connection to a C++ implementation of the Windows Shell Extension | 774 | * ``bzr revision-info`` now supports a -d option to specify an |
1654 | 747 | which is able to fully replace the current Python implemented one. | 775 | alternative branch. (Michael Hudson) |
1655 | 748 | Advantages include 64bit support and reduction in overhead for | 776 | |
1656 | 749 | processes which drag in shell extensions. | 777 | * Add connection to a C++ implementation of the Windows Shell Extension |
1657 | 750 | (Mark Hammond) | 778 | which is able to fully replace the current Python implemented one. |
1658 | 751 | 779 | Advantages include 64bit support and reduction in overhead for | |
1659 | 752 | * Support the Claws mail client directly, rather than via | 780 | processes which drag in shell extensions. |
1660 | 753 | xdg-email. This prevents the display of an unnecessary modal | 781 | (Mark Hammond) |
1661 | 754 | dialog in Claws, informing the user that a file has been | 782 | |
1662 | 755 | attached to the message, and works around bug #291847 in | 783 | * Support the Claws mail client directly, rather than via |
1663 | 756 | xdg-utils which corrupts the destination address. | 784 | xdg-email. This prevents the display of an unnecessary modal |
1664 | 757 | 785 | dialog in Claws, informing the user that a file has been | |
1665 | 758 | * When working on a case-insensitive case-preserving file-system, as | 786 | attached to the message, and works around bug #291847 in |
1666 | 759 | commonly found with Windows, bzr will often ignore the case of the | 787 | xdg-utils which corrupts the destination address. |
1667 | 760 | arguments specified by the user in preference to the case of an existing | 788 | |
1668 | 761 | item on the file-system or in the inventory to help prevent | 789 | * When working on a case-insensitive case-preserving file-system, as |
1669 | 762 | counter-intuitive behaviour on Windows. (Mark Hammond) | 790 | commonly found with Windows, bzr will often ignore the case of the |
1670 | 763 | 791 | arguments specified by the user in preference to the case of an existing | |
1671 | 764 | BUG FIXES: | 792 | item on the file-system or in the inventory to help prevent |
1672 | 765 | 793 | counter-intuitive behaviour on Windows. (Mark Hammond) | |
1673 | 766 | * Allow BzrDir implementation to implement backing up of | 794 | |
1674 | 767 | control directory. (#139691) | 795 | Bug Fixes |
1675 | 768 | 796 | ********* | |
1676 | 769 | * ``bzr push`` creating a new stacked branch will now only open a | 797 | |
1677 | 770 | single connection to the target machine. (John Arbash Meinel) | 798 | * Allow BzrDir implementation to implement backing up of |
1678 | 771 | 799 | control directory. (#139691) | |
1679 | 772 | * Don't call iteritems on transport_list_registry, because it may | 800 | |
1680 | 773 | change during iteration. (Martin Pool, #277048) | 801 | * ``bzr push`` creating a new stacked branch will now only open a |
1681 | 774 | 802 | single connection to the target machine. (John Arbash Meinel) | |
1682 | 775 | * Don't make a broken branch when pushing an unstackable-format branch | 803 | |
1683 | 776 | that's in a stackable shared repository to a location with default | 804 | * Don't call iteritems on transport_list_registry, because it may |
1684 | 777 | stack-on location. (Andrew Bennetts, #291046) | 805 | change during iteration. (Martin Pool, #277048) |
1685 | 778 | 806 | ||
1686 | 779 | * Don't require embedding user in HTTP(S) URLs do use authentication.conf. | 807 | * Don't make a broken branch when pushing an unstackable-format branch |
1687 | 780 | (Ben Jansen, Vincent Ladeuil, #300347) | 808 | that's in a stackable shared repository to a location with default |
1688 | 781 | 809 | stack-on location. (Andrew Bennetts, #291046) | |
1689 | 782 | * Fix a problem with CIFS client/server lag on windows colliding with | 810 | |
1690 | 783 | an invariant-per-process algorithm for generating AtomicFile names | 811 | * Don't require embedding user in HTTP(S) URLs do use authentication.conf. |
1691 | 784 | (Adrian Wilkins, #304023) | 812 | (Ben Jansen, Vincent Ladeuil, #300347) |
1692 | 785 | 813 | ||
1693 | 786 | * Fix bogus setUp signature in UnavailableFTPServer. | 814 | * Fix a problem with CIFS client/server lag on windows colliding with |
1694 | 787 | (Gary van der Merwe, #313498) | 815 | an invariant-per-process algorithm for generating AtomicFile names |
1695 | 788 | 816 | (Adrian Wilkins, #304023) | |
1696 | 789 | * Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris. | 817 | |
1697 | 790 | (Jari Aalto) | 818 | * Fix bogus setUp signature in UnavailableFTPServer. |
1698 | 791 | 819 | (Gary van der Merwe, #313498) | |
1699 | 792 | * Fix SystemError in ``_patiencediff_c`` module by calling | 820 | |
1700 | 793 | PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new. | 821 | * Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris. |
1701 | 794 | (Andrew Bennetts, #303206) | 822 | (Jari Aalto) |
1702 | 795 | 823 | ||
1703 | 796 | * Give proper error message for diff with non-existent dotted revno. | 824 | * Fix SystemError in ``_patiencediff_c`` module by calling |
1704 | 797 | (Marius Kruger, #301969) | 825 | PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new. |
1705 | 798 | 826 | (Andrew Bennetts, #303206) | |
1706 | 799 | * Handle EACCES (permission denied) errors when launching a message | 827 | |
1707 | 800 | editor, and emit warnings when a configured editor cannot be | 828 | * Give proper error message for diff with non-existent dotted revno. |
1708 | 801 | started. (Andrew Bennetts) | 829 | (Marius Kruger, #301969) |
1709 | 802 | 830 | ||
1710 | 803 | * ``$HOME/.netrc`` file is now recognized as a read-only credential store | 831 | * Handle EACCES (permission denied) errors when launching a message |
1711 | 804 | if configured in ``authentication.conf`` with 'password_encoding=netrc' | 832 | editor, and emit warnings when a configured editor cannot be |
1712 | 805 | in the appropriate sections. | 833 | started. (Andrew Bennetts) |
1713 | 806 | (Vincent Ladeuil, #103029) | 834 | |
1714 | 807 | 835 | * ``$HOME/.netrc`` file is now recognized as a read-only credential store | |
1715 | 808 | * Opening a stacked branch now properly shares the connection, rather | 836 | if configured in ``authentication.conf`` with 'password_encoding=netrc' |
1716 | 809 | than opening a new connection for the stacked-on branch. | 837 | in the appropriate sections. |
1717 | 810 | (John Arbash meinel) | 838 | (Vincent Ladeuil, #103029) |
1718 | 811 | 839 | ||
1719 | 812 | * Preserve transport decorators while following redirections. | 840 | * Opening a stacked branch now properly shares the connection, rather |
1720 | 813 | (Vincent Ladeuil, #245964, #270863) | 841 | than opening a new connection for the stacked-on branch. |
1721 | 814 | 842 | (John Arbash meinel) | |
1722 | 815 | * Provides a finer and more robust filter for accepted redirections. | 843 | |
1723 | 816 | (Vincent Ladeuil, #303959, #265070) | 844 | * Preserve transport decorators while following redirections. |
1724 | 817 | 845 | (Vincent Ladeuil, #245964, #270863) | |
1725 | 818 | * ``shelve`` paths are now interpreted relative to the current working | 846 | |
1726 | 819 | tree. (Aaron Bentley) | 847 | * Provides a finer and more robust filter for accepted redirections. |
1727 | 820 | 848 | (Vincent Ladeuil, #303959, #265070) | |
1728 | 821 | * ``Transport.readv()`` defaults to not reading more than 100MB in a | 849 | |
1729 | 822 | single array. Further ``RemoteTransport.readv`` sets this to 5MB to | 850 | * ``shelve`` paths are now interpreted relative to the current working |
1730 | 823 | work better with how it splits its requests. | 851 | tree. (Aaron Bentley) |
1731 | 824 | (John Arbash Meinel, #303538) | 852 | |
1732 | 825 | 853 | * ``Transport.readv()`` defaults to not reading more than 100MB in a | |
1733 | 826 | * Pack repositories are now able to reload the pack listing and retry | 854 | single array. Further ``RemoteTransport.readv`` sets this to 5MB to |
1734 | 827 | the current operation if another action causes the data to be | 855 | work better with how it splits its requests. |
1735 | 828 | repacked. (John Arbash Meinel, #153786) | 856 | (John Arbash Meinel, #303538) |
1736 | 829 | 857 | ||
1737 | 830 | * ``pull -v`` now respects the log_format configuration variable. | 858 | * Pack repositories are now able to reload the pack listing and retry |
1738 | 831 | (Aaron Bentley) | 859 | the current operation if another action causes the data to be |
1739 | 832 | 860 | repacked. (John Arbash Meinel, #153786) | |
1740 | 833 | * ``push -v`` now works on non-initial pushes. (Aaron Bentley) | 861 | |
1741 | 834 | 862 | * ``pull -v`` now respects the log_format configuration variable. | |
1742 | 835 | * Use the short status format when the short format is used for log. | 863 | (Aaron Bentley) |
1743 | 836 | (Vincent Ladeuil, #87179) | 864 | |
1744 | 837 | 865 | * ``push -v`` now works on non-initial pushes. (Aaron Bentley) | |
1745 | 838 | * Allow files to be renamed or moved via remove + add-by-id. (Charles | 866 | |
1746 | 839 | Duffy, #314251) | 867 | * Use the short status format when the short format is used for log. |
1747 | 840 | 868 | (Vincent Ladeuil, #87179) | |
1748 | 841 | DOCUMENTATION: | 869 | |
1749 | 842 | 870 | * Allow files to be renamed or moved via remove + add-by-id. (Charles | |
1750 | 843 | * Improved the formats help topic to explain why multiple formats | 871 | Duffy, #314251) |
1751 | 844 | exist and to provide guidelines in selecting one. Introduced | 872 | |
1752 | 845 | two new supporting help topics: current-formats and other-formats. | 873 | Documentation |
1753 | 846 | (Ian Clatworthy) | 874 | ************* |
1754 | 847 | 875 | ||
1755 | 848 | API CHANGES: | 876 | * Improved the formats help topic to explain why multiple formats |
1756 | 849 | 877 | exist and to provide guidelines in selecting one. Introduced | |
1757 | 850 | * ``LRUCache(after_cleanup_size)`` was renamed to | 878 | two new supporting help topics: current-formats and other-formats. |
1758 | 851 | ``after_cleanup_count`` and the old name deprecated. The new name is | 879 | (Ian Clatworthy) |
1759 | 852 | used for clarity, and to avoid confusion with | 880 | |
1760 | 853 | ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel) | 881 | API Changes |
1761 | 854 | 882 | *********** | |
1762 | 855 | * New ``ForeignRepository`` base class, to help with foreign branch | 883 | |
1763 | 856 | support (e.g. svn). (Jelmer Vernooij) | 884 | * ``LRUCache(after_cleanup_size)`` was renamed to |
1764 | 857 | 885 | ``after_cleanup_count`` and the old name deprecated. The new name is | |
1765 | 858 | * ``node_distances`` and ``select_farthest`` can no longer be imported | 886 | used for clarity, and to avoid confusion with |
1766 | 859 | from ``bzrlib.graph``. They can still be imported from | 887 | ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel) |
1767 | 860 | ``bzrlib.deprecated_graph``, which has been the preferred way to | 888 | |
1768 | 861 | import them since before 1.0. (Andrew Bennetts) | 889 | * New ``ForeignRepository`` base class, to help with foreign branch |
1769 | 862 | 890 | support (e.g. svn). (Jelmer Vernooij) | |
1770 | 863 | * The logic in commit now delegates inventory basis calculations to | 891 | |
1771 | 864 | the ``CommitBuilder`` object; this requires that the commit builder | 892 | * ``node_distances`` and ``select_farthest`` can no longer be imported |
1772 | 865 | in use has been updated to support the new ``recording_deletes`` and | 893 | from ``bzrlib.graph``. They can still be imported from |
1773 | 866 | ``record_delete`` methods. (Robert Collins) | 894 | ``bzrlib.deprecated_graph``, which has been the preferred way to |
1774 | 867 | 895 | import them since before 1.0. (Andrew Bennetts) | |
1775 | 868 | TESTING: | 896 | |
1776 | 869 | 897 | * The logic in commit now delegates inventory basis calculations to | |
1777 | 870 | * An HTTPS server is now available (it requires python-2.6). Future bzr | 898 | the ``CommitBuilder`` object; this requires that the commit builder |
1778 | 871 | versions will allow the use of the python-2.6 ssl module that can be | 899 | in use has been updated to support the new ``recording_deletes`` and |
1779 | 872 | installed for 2.5 and 2.4. | 900 | ``record_delete`` methods. (Robert Collins) |
1780 | 873 | 901 | ||
1781 | 874 | * ``bzr selftest`` now fails if new trailing white space is added to | 902 | Testing |
1782 | 875 | the bazaar sources. It only checks changes not committed yet. This | 903 | ******* |
1783 | 876 | means that PQM will now reject changes that introduce new trailing | 904 | |
1784 | 877 | whitespace. (Marius Kruger) | 905 | * An HTTPS server is now available (it requires python-2.6). Future bzr |
1785 | 878 | 906 | versions will allow the use of the python-2.6 ssl module that can be | |
1786 | 879 | * Introduced new experimental formats called ``1.12-preview`` and | 907 | installed for 2.5 and 2.4. |
1787 | 880 | ``1.12-preview-rich-root`` to enable testing of related pending | 908 | |
1788 | 881 | features, namely content filtering and filtered views. | 909 | * ``bzr selftest`` now fails if new trailing white space is added to |
1789 | 882 | (Ian Clatworthy) | 910 | the bazaar sources. It only checks changes not committed yet. This |
1790 | 883 | 911 | means that PQM will now reject changes that introduce new trailing | |
1791 | 884 | INTERNALS: | 912 | whitespace. (Marius Kruger) |
1792 | 885 | 913 | ||
1793 | 886 | * Added an ``InventoryEntry`` cache when deserializing inventories. | 914 | * Introduced new experimental formats called ``1.12-preview`` and |
1794 | 887 | Can cut the time to iterate over multiple RevisionsTrees in half. | 915 | ``1.12-preview-rich-root`` to enable testing of related pending |
1795 | 888 | (John Arbash Meinel) | 916 | features, namely content filtering and filtered views. |
1796 | 889 | 917 | (Ian Clatworthy) | |
1797 | 890 | * Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have | 918 | |
1798 | 891 | minimal overhead versus using a plain dict for cache hits, at the | 919 | Internals |
1799 | 892 | cost of not preserving the 'active' set as well as an ``LRUCache``. | 920 | ********* |
1800 | 893 | (John Arbash Meinel) | 921 | |
1801 | 894 | 922 | * Added an ``InventoryEntry`` cache when deserializing inventories. | |
1802 | 895 | * ``bzrlib.patience_diff.unified_diff`` now properly uses a tab | 923 | Can cut the time to iterate over multiple RevisionsTrees in half. |
1803 | 896 | character to separate the filename from the date stamp, and doesn't | 924 | (John Arbash Meinel) |
1804 | 897 | add trailing whitespace when a date stamp is not supplied. | 925 | |
1805 | 898 | (Adeodato Simó, John Arbash Meinel) | 926 | * Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have |
1806 | 899 | 927 | minimal overhead versus using a plain dict for cache hits, at the | |
1807 | 900 | * ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added | 928 | cost of not preserving the 'active' set as well as an ``LRUCache``. |
1808 | 901 | as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4`` | 929 | (John Arbash Meinel) |
1809 | 902 | respectively. (Ian Clatworthy) | 930 | |
1810 | 903 | 931 | * ``bzrlib.patience_diff.unified_diff`` now properly uses a tab | |
1811 | 904 | * ``KnitVersionedFiles._check_should_delta()`` now uses the | 932 | character to separate the filename from the date stamp, and doesn't |
1812 | 905 | ``get_build_details`` api to avoid multiple hits to the index, and | 933 | add trailing whitespace when a date stamp is not supplied. |
1813 | 906 | to properly follow the ``compression_parent`` rather than assuming | 934 | (Adeodato Simó, John Arbash Meinel) |
1814 | 907 | it is the left-hand parent. (John Arbash Meinel) | 935 | |
1815 | 908 | 936 | * ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added | |
1816 | 909 | * ``KnitVersionedFiles.get_record_stream()`` will now chose a | 937 | as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4`` |
1817 | 910 | more optimal ordering when the keys are requested 'unordered'. | 938 | respectively. (Ian Clatworthy) |
1818 | 911 | Previously the order was fully random, now the records should be | 939 | |
1819 | 912 | returned from each pack in turn, in forward I/O order. | 940 | * ``KnitVersionedFiles._check_should_delta()`` now uses the |
1820 | 913 | (John Arbash Meinel) | 941 | ``get_build_details`` api to avoid multiple hits to the index, and |
1821 | 942 | to properly follow the ``compression_parent`` rather than assuming | ||
1822 | 943 | it is the left-hand parent. (John Arbash Meinel) | ||
1823 | 944 | |||
1824 | 945 | * ``KnitVersionedFiles.get_record_stream()`` will now chose a | ||
1825 | 946 | more optimal ordering when the keys are requested 'unordered'. | ||
1826 | 947 | Previously the order was fully random, now the records should be | ||
1827 | 948 | returned from each pack in turn, in forward I/O order. | ||
1828 | 949 | (John Arbash Meinel) | ||
1829 | 914 | 950 | ||
1857 | 915 | * ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more | 951 | * ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more |
1858 | 916 | than 2s since the last time it flushed. (John Arbash Meinel) | 952 | than 2s since the last time it flushed. (John Arbash Meinel) |
1859 | 917 | 953 | ||
1860 | 918 | * New method ``bzrlib.repository.Repository.add_inventory_by_delta`` | 954 | * New method ``bzrlib.repository.Repository.add_inventory_by_delta`` |
1861 | 919 | allows adding an inventory via an inventory delta, which can be | 955 | allows adding an inventory via an inventory delta, which can be |
1862 | 920 | more efficient for some repository types. (Robert Collins) | 956 | more efficient for some repository types. (Robert Collins) |
1863 | 921 | 957 | ||
1864 | 922 | * Repository ``CommitBuilder`` objects can now accumulate an inventory | 958 | * Repository ``CommitBuilder`` objects can now accumulate an inventory |
1865 | 923 | delta. To enable this functionality call ``builder.recording_deletes`` | 959 | delta. To enable this functionality call ``builder.recording_deletes`` |
1866 | 924 | and additionally call ``builder.record_delete`` when a delete | 960 | and additionally call ``builder.record_delete`` when a delete |
1867 | 925 | against the basis occurs. (Robert Collins) | 961 | against the basis occurs. (Robert Collins) |
1868 | 926 | 962 | ||
1869 | 927 | * The default http handler has been changed from pycurl to urllib. | 963 | * The default http handler has been changed from pycurl to urllib. |
1870 | 928 | The default is still pycurl for https connections. (The only | 964 | The default is still pycurl for https connections. (The only |
1871 | 929 | advantage of pycurl is that it checks ssl certificates.) | 965 | advantage of pycurl is that it checks ssl certificates.) |
1872 | 930 | (John Arbash Meinel) | 966 | (John Arbash Meinel) |
1873 | 931 | 967 | ||
1874 | 932 | * ``VersionedFiles.get_record_stream()`` can now return objects with a | 968 | * ``VersionedFiles.get_record_stream()`` can now return objects with a |
1875 | 933 | storage_kind of ``chunked``. This is a collection (list/tuple) of | 969 | storage_kind of ``chunked``. This is a collection (list/tuple) of |
1876 | 934 | strings. You can use ``osutils.chunks_to_lines()`` to turn them into | 970 | strings. You can use ``osutils.chunks_to_lines()`` to turn them into |
1877 | 935 | guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it | 971 | guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it |
1878 | 936 | into a fulltext. This allows for some very good memory savings when | 972 | into a fulltext. This allows for some very good memory savings when |
1879 | 937 | asking for many texts that share ancestry, as the individual chunks | 973 | asking for many texts that share ancestry, as the individual chunks |
1880 | 938 | can be shared between versions of the file. (John Arbash Meinel) | 974 | can be shared between versions of the file. (John Arbash Meinel) |
1881 | 939 | 975 | ||
1882 | 940 | * ``pull -v`` and ``push -v`` use new function | 976 | * ``pull -v`` and ``push -v`` use new function |
1883 | 941 | ``bzrlib.log.show_branch_change`` (Aaron Bentley) | 977 | ``bzrlib.log.show_branch_change`` (Aaron Bentley) |
1884 | 942 | 978 | ||
1885 | 943 | 979 | ||
1886 | 944 | 980 | ||
1887 | 945 | bzr 1.10 2008-12-05 | 981 | bzr 1.10 2008-12-05 |
1889 | 946 | ------------------- | 982 | ################### |
1890 | 947 | 983 | ||
1891 | 948 | Bazaar 1.10 has several performance improvements for copying revisions | 984 | Bazaar 1.10 has several performance improvements for copying revisions |
1892 | 949 | (especially for small updates to large projects). There has also been a | 985 | (especially for small updates to large projects). There has also been a |
1893 | @@ -953,22 +989,23 @@ | |||
1894 | 953 | 989 | ||
1895 | 954 | The only changes versus bzr-1.10rc1 are bugfixes for stacked branches. | 990 | The only changes versus bzr-1.10rc1 are bugfixes for stacked branches. |
1896 | 955 | 991 | ||
1909 | 956 | BUG FIXES: | 992 | bug Fixes |
1910 | 957 | 993 | ********* | |
1911 | 958 | * Don't set a pack write cache size from RepoFetcher, because the | 994 | |
1912 | 959 | cache is not coherent with reads and causes ShortReadvErrors. | 995 | * Don't set a pack write cache size from RepoFetcher, because the |
1913 | 960 | This reverses the change that fixed #294479. | 996 | cache is not coherent with reads and causes ShortReadvErrors. |
1914 | 961 | (Martin Pool, #303856) | 997 | This reverses the change that fixed #294479. |
1915 | 962 | 998 | (Martin Pool, #303856) | |
1916 | 963 | * Properly handle when a revision can be inserted as a delta versus | 999 | |
1917 | 964 | when it needs to be expanded to a fulltext for stacked branches. | 1000 | * Properly handle when a revision can be inserted as a delta versus |
1918 | 965 | There was a bug involving merge revisions. As a method to help | 1001 | when it needs to be expanded to a fulltext for stacked branches. |
1919 | 966 | prevent future difficulties, also make stacked fetches sort | 1002 | There was a bug involving merge revisions. As a method to help |
1920 | 967 | topologically. (John Arbash Meinel, #304841) | 1003 | prevent future difficulties, also make stacked fetches sort |
1921 | 1004 | topologically. (John Arbash Meinel, #304841) | ||
1922 | 968 | 1005 | ||
1923 | 969 | 1006 | ||
1924 | 970 | bzr 1.10rc1 2008-11-28 | 1007 | bzr 1.10rc1 2008-11-28 |
1926 | 971 | ---------------------- | 1008 | ###################### |
1927 | 972 | 1009 | ||
1928 | 973 | This release of Bazaar focuses on performance improvements when pushing | 1010 | This release of Bazaar focuses on performance improvements when pushing |
1929 | 974 | and pulling revisions, both locally and to remote networks. The popular | 1011 | and pulling revisions, both locally and to remote networks. The popular |
1930 | @@ -976,115 +1013,120 @@ | |||
1931 | 976 | restore work in progress, have been merged from bzrtools into the bzr | 1013 | restore work in progress, have been merged from bzrtools into the bzr |
1932 | 977 | core. There are also bug fixes for portability, and for stacked branches. | 1014 | core. There are also bug fixes for portability, and for stacked branches. |
1933 | 978 | 1015 | ||
2039 | 979 | NEW FEATURES: | 1016 | New Features |
2040 | 980 | 1017 | ************ | |
2041 | 981 | * New ``commit_message_template`` hook that is called by the commit | 1018 | |
2042 | 982 | code to generate a template commit message. (Jelmer Vernooij) | 1019 | * New ``commit_message_template`` hook that is called by the commit |
2043 | 983 | 1020 | code to generate a template commit message. (Jelmer Vernooij) | |
2044 | 984 | * New `shelve` and `unshelve` commands allow undoing and redoing changes. | 1021 | |
2045 | 985 | (Aaron Bentley) | 1022 | * New `shelve` and `unshelve` commands allow undoing and redoing changes. |
2046 | 986 | 1023 | (Aaron Bentley) | |
2047 | 987 | IMPROVEMENTS: | 1024 | |
2048 | 988 | 1025 | Improvements | |
2049 | 989 | * ``(Remote)Branch.copy_content_into`` no longer generates the full revision | 1026 | ************ |
2050 | 990 | history just to set the last revision info. | 1027 | |
2051 | 991 | (Andrew Bennetts, John Arbash Meinel) | 1028 | * ``(Remote)Branch.copy_content_into`` no longer generates the full revision |
2052 | 992 | 1029 | history just to set the last revision info. | |
2053 | 993 | * Fetches between formats with different serializers (such as | 1030 | (Andrew Bennetts, John Arbash Meinel) |
2054 | 994 | pack-0.92-subtree and 1.9-rich-root) are faster now. This is due to | 1031 | |
2055 | 995 | operating on batches of 100 revisions at time rather than | 1032 | * Fetches between formats with different serializers (such as |
2056 | 996 | one-by-one. (Andrew Bennetts, John Arbash Meinel) | 1033 | pack-0.92-subtree and 1.9-rich-root) are faster now. This is due to |
2057 | 997 | 1034 | operating on batches of 100 revisions at time rather than | |
2058 | 998 | * Search index files corresponding to pack files we've already used | 1035 | one-by-one. (Andrew Bennetts, John Arbash Meinel) |
2059 | 999 | before searching others, because they are more likely to have the | 1036 | |
2060 | 1000 | keys we're looking for. This reduces the number of iix and tix | 1037 | * Search index files corresponding to pack files we've already used |
2061 | 1001 | files accessed when pushing 1 new revision, for instance. | 1038 | before searching others, because they are more likely to have the |
2062 | 1002 | (John Arbash Meinel) | 1039 | keys we're looking for. This reduces the number of iix and tix |
2063 | 1003 | 1040 | files accessed when pushing 1 new revision, for instance. | |
2064 | 1004 | * Signatures to transfer are calculated more efficiently in | 1041 | (John Arbash Meinel) |
2065 | 1005 | ``item_keys_introduced_by``. (Andrew Bennetts, John Arbash Meinel) | 1042 | |
2066 | 1006 | 1043 | * Signatures to transfer are calculated more efficiently in | |
2067 | 1007 | * The generic fetch code can once again copy revisions and signatures | 1044 | ``item_keys_introduced_by``. (Andrew Bennetts, John Arbash Meinel) |
2068 | 1008 | without extracting them completely to fulltexts and then serializing | 1045 | |
2069 | 1009 | them back down into byte strings. This is a significant performance | 1046 | * The generic fetch code can once again copy revisions and signatures |
2070 | 1010 | improvement when fetching from a stacked branch. | 1047 | without extracting them completely to fulltexts and then serializing |
2071 | 1011 | (John Arbash Meinel, #300289) | 1048 | them back down into byte strings. This is a significant performance |
2072 | 1012 | 1049 | improvement when fetching from a stacked branch. | |
2073 | 1013 | * When making a large readv() request over ``bzr+ssh``, break up the | 1050 | (John Arbash Meinel, #300289) |
2074 | 1014 | request into more manageable chunks. Because the RPC is not yet able | 1051 | |
2075 | 1015 | to stream, this helps keep us from buffering too much information at | 1052 | * When making a large readv() request over ``bzr+ssh``, break up the |
2076 | 1016 | once. (John Arbash Meinel) | 1053 | request into more manageable chunks. Because the RPC is not yet able |
2077 | 1017 | 1054 | to stream, this helps keep us from buffering too much information at | |
2078 | 1018 | BUG FIXES: | 1055 | once. (John Arbash Meinel) |
2079 | 1019 | 1056 | ||
2080 | 1020 | * Better message when the user needs to set their Launchpad ID. | 1057 | Bug Fixes |
2081 | 1021 | (Martin Pool, #289148) | 1058 | ********* |
2082 | 1022 | 1059 | ||
2083 | 1023 | * ``bzr commit --local`` doesn't access the master branch anymore. | 1060 | * Better message when the user needs to set their Launchpad ID. |
2084 | 1024 | This fixes a regression introduced in 1.9. (Marius Kruger, #299313) | 1061 | (Martin Pool, #289148) |
2085 | 1025 | 1062 | ||
2086 | 1026 | * Don't call the system ``chdir()`` with an empty path. Sun OS seems | 1063 | * ``bzr commit --local`` doesn't access the master branch anymore. |
2087 | 1027 | to give an error in that case. Also, don't count on ``getcwd()`` | 1064 | This fixes a regression introduced in 1.9. (Marius Kruger, #299313) |
2088 | 1028 | being able to allocate a new buffer, which is a gnu extension. | 1065 | |
2089 | 1029 | (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831) | 1066 | * Don't call the system ``chdir()`` with an empty path. Sun OS seems |
2090 | 1030 | 1067 | to give an error in that case. Also, don't count on ``getcwd()`` | |
2091 | 1031 | * Don't crash when requesting log --forward <file> for a revision range | 1068 | being able to allocate a new buffer, which is a gnu extension. |
2092 | 1032 | starting with a dotted revno. | 1069 | (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831) |
2093 | 1033 | (Vincent Ladeuil, #300055) | 1070 | |
2094 | 1034 | 1071 | * Don't crash when requesting log --forward <file> for a revision range | |
2095 | 1035 | * Don't create text deltas spanning stacked repositories; this could | 1072 | starting with a dotted revno. |
2096 | 1036 | cause "Revision X not present in Y" when later accessing them. | 1073 | (Vincent Ladeuil, #300055) |
2097 | 1037 | (Martin Pool, #288751) | 1074 | |
2098 | 1038 | 1075 | * Don't create text deltas spanning stacked repositories; this could | |
2099 | 1039 | * Pack repositories are now able to reload the pack listing and retry | 1076 | cause "Revision X not present in Y" when later accessing them. |
2100 | 1040 | the current operation if another action causes the data to be | 1077 | (Martin Pool, #288751) |
2101 | 1041 | repacked. (John Arbash Meinel, #153786) | 1078 | |
2102 | 1042 | 1079 | * Pack repositories are now able to reload the pack listing and retry | |
2103 | 1043 | * PermissionDenied errors from smart servers no longer cause | 1080 | the current operation if another action causes the data to be |
2104 | 1044 | "PermissionDenied: "None"" on the client. | 1081 | repacked. (John Arbash Meinel, #153786) |
2105 | 1045 | (Andrew Bennetts, #299254) | 1082 | |
2106 | 1046 | 1083 | * PermissionDenied errors from smart servers no longer cause | |
2107 | 1047 | * Pushing to a stacked pack repository now batches writes, the same | 1084 | "PermissionDenied: "None"" on the client. |
2108 | 1048 | way writes are batched to ordinary pack repository. This makes | 1085 | (Andrew Bennetts, #299254) |
2109 | 1049 | pushing to a stacked branch over the network much faster. | 1086 | |
2110 | 1050 | (Andrew Bennetts, #294479) | 1087 | * Pushing to a stacked pack repository now batches writes, the same |
2111 | 1051 | 1088 | way writes are batched to ordinary pack repository. This makes | |
2112 | 1052 | * TooManyConcurrentRequests no longer occur when a fetch fails and | 1089 | pushing to a stacked branch over the network much faster. |
2113 | 1053 | tries to abort a write group. This allows the root cause (e.g. a | 1090 | (Andrew Bennetts, #294479) |
2114 | 1054 | network interruption) to be reported. (Andrew Bennetts, #297014) | 1091 | |
2115 | 1055 | 1092 | * TooManyConcurrentRequests no longer occur when a fetch fails and | |
2116 | 1056 | * RemoteRepository.get_parent_map now uses fallback repositories. | 1093 | tries to abort a write group. This allows the root cause (e.g. a |
2117 | 1057 | (Aaron Bentley, #297991?, #293679?) | 1094 | network interruption) to be reported. (Andrew Bennetts, #297014) |
2118 | 1058 | 1095 | ||
2119 | 1059 | API CHANGES: | 1096 | * RemoteRepository.get_parent_map now uses fallback repositories. |
2120 | 1060 | 1097 | (Aaron Bentley, #297991?, #293679?) | |
2121 | 1061 | * ``CommitBuilder`` now validates the strings it will be committing, | 1098 | |
2122 | 1062 | to ensure that they do not have characters that will not be properly | 1099 | API Changes |
2123 | 1063 | round-tripped. For now, it just checks for characters that are | 1100 | *********** |
2124 | 1064 | invalid in the XML form. (John Arbash Meinel, #295161) | 1101 | |
2125 | 1065 | 1102 | * ``CommitBuilder`` now validates the strings it will be committing, | |
2126 | 1066 | * Constructor parameters for NewPack (internal to pack repositories) | 1103 | to ensure that they do not have characters that will not be properly |
2127 | 1067 | have changed incompatibly. | 1104 | round-tripped. For now, it just checks for characters that are |
2128 | 1068 | 1105 | invalid in the XML form. (John Arbash Meinel, #295161) | |
2129 | 1069 | * ``Repository.abort_write_group`` now accepts an optional | 1106 | |
2130 | 1070 | ``suppress_errors`` flag. Repository implementations that override | 1107 | * Constructor parameters for NewPack (internal to pack repositories) |
2131 | 1071 | ``abort_write_group`` will need to be updated to accept the new | 1108 | have changed incompatibly. |
2132 | 1072 | argument. Subclasses that only override ``_abort_write_group`` | 1109 | |
2133 | 1073 | don't need to change. | 1110 | * ``Repository.abort_write_group`` now accepts an optional |
2134 | 1074 | 1111 | ``suppress_errors`` flag. Repository implementations that override | |
2135 | 1075 | * Transport implementations must provide copy_tree_to_transport. A default | 1112 | ``abort_write_group`` will need to be updated to accept the new |
2136 | 1076 | implementation is provided for Transport subclasses. | 1113 | argument. Subclasses that only override ``_abort_write_group`` |
2137 | 1077 | 1114 | don't need to change. | |
2138 | 1078 | TESTING: | 1115 | |
2139 | 1079 | 1116 | * Transport implementations must provide copy_tree_to_transport. A default | |
2140 | 1080 | * ``bzr selftest`` now fails if no doctests are found in a module | 1117 | implementation is provided for Transport subclasses. |
2141 | 1081 | that's expected to have them. (Martin Pool) | 1118 | |
2142 | 1082 | 1119 | Testing | |
2143 | 1083 | * Doctests now only report the first failure. (Martin Pool) | 1120 | ******* |
2144 | 1121 | |||
2145 | 1122 | * ``bzr selftest`` now fails if no doctests are found in a module | ||
2146 | 1123 | that's expected to have them. (Martin Pool) | ||
2147 | 1124 | |||
2148 | 1125 | * Doctests now only report the first failure. (Martin Pool) | ||
2149 | 1084 | 1126 | ||
2150 | 1085 | 1127 | ||
2151 | 1086 | bzr 1.9 2008-11-07 | 1128 | bzr 1.9 2008-11-07 |
2153 | 1087 | ------------------ | 1129 | ################## |
2154 | 1088 | 1130 | ||
2155 | 1089 | This release of Bazaar adds a new repository format, ``1.9``, with smaller | 1131 | This release of Bazaar adds a new repository format, ``1.9``, with smaller |
2156 | 1090 | and more efficient index files. This format can be specified when | 1132 | and more efficient index files. This format can be specified when |
2157 | @@ -1093,132 +1135,139 @@ | |||
2158 | 1093 | protocol, makes annotate faster, and uses less memory when making | 1135 | protocol, makes annotate faster, and uses less memory when making |
2159 | 1094 | checkouts or pulling large amounts of data. | 1136 | checkouts or pulling large amounts of data. |
2160 | 1095 | 1137 | ||
2171 | 1096 | BUG FIXES: | 1138 | Bug Fixes |
2172 | 1097 | 1139 | ********* | |
2173 | 1098 | * Fix "invalid property value 'branch-nick' for None" regression with | 1140 | |
2174 | 1099 | branches bound to svn branches. (Martin Pool, #293440) | 1141 | * Fix "invalid property value 'branch-nick' for None" regression with |
2175 | 1100 | 1142 | branches bound to svn branches. (Martin Pool, #293440) | |
2176 | 1101 | * Fix SSL/https on Python2.6. (Vincent Ladeuil, #293054) | 1143 | |
2177 | 1102 | 1144 | * Fix SSL/https on Python2.6. (Vincent Ladeuil, #293054) | |
2178 | 1103 | * ``SFTPTransport.readv()`` had a bug when requests were out-of-order. | 1145 | |
2179 | 1104 | This only triggers some-of-the-time on Knit format repositories. | 1146 | * ``SFTPTransport.readv()`` had a bug when requests were out-of-order. |
2180 | 1105 | (John Arbash Meinel, #293746) | 1147 | This only triggers some-of-the-time on Knit format repositories. |
2181 | 1148 | (John Arbash Meinel, #293746) | ||
2182 | 1106 | 1149 | ||
2183 | 1107 | 1150 | ||
2184 | 1108 | bzr 1.9rc1 2008-10-31 | 1151 | bzr 1.9rc1 2008-10-31 |
2294 | 1109 | --------------------- | 1152 | ##################### |
2295 | 1110 | 1153 | ||
2296 | 1111 | NEW FEATURES: | 1154 | New Features |
2297 | 1112 | 1155 | ************ | |
2298 | 1113 | * New Branch hook ``transform_fallback_location`` allows a function to | 1156 | |
2299 | 1114 | be called when looking up the stacked source. (Michael Hudson) | 1157 | * New Branch hook ``transform_fallback_location`` allows a function to |
2300 | 1115 | 1158 | be called when looking up the stacked source. (Michael Hudson) | |
2301 | 1116 | * New repository formats ``1.9`` and ``1.9-rich-root``. These have all | 1159 | |
2302 | 1117 | the functionality of ``1.6``, but use the new btree indexes. | 1160 | * New repository formats ``1.9`` and ``1.9-rich-root``. These have all |
2303 | 1118 | These indexes are both smaller and faster for access to historical | 1161 | the functionality of ``1.6``, but use the new btree indexes. |
2304 | 1119 | information. (John Arbash Meinel) | 1162 | These indexes are both smaller and faster for access to historical |
2305 | 1120 | 1163 | information. (John Arbash Meinel) | |
2306 | 1121 | IMPROVEMENTS: | 1164 | |
2307 | 1122 | 1165 | Improvements | |
2308 | 1123 | * ``BTreeIndex`` code now is able to prefetch extra pages to help tune | 1166 | ************ |
2309 | 1124 | the tradeoff between bandwidth and latency. Should be tuned | 1167 | |
2310 | 1125 | appropriately to not impact commands which need minimal information, | 1168 | * ``BTreeIndex`` code now is able to prefetch extra pages to help tune |
2311 | 1126 | but provide a significant boost to ones that need more context. Only | 1169 | the tradeoff between bandwidth and latency. Should be tuned |
2312 | 1127 | has a direct impact on the ``--development2`` format which uses | 1170 | appropriately to not impact commands which need minimal information, |
2313 | 1128 | btree's for the indexes. (John Arbash Meinel) | 1171 | but provide a significant boost to ones that need more context. Only |
2314 | 1129 | 1172 | has a direct impact on the ``--development2`` format which uses | |
2315 | 1130 | * ``bzr dump-btree`` is a hidden command introduced to allow dumping | 1173 | btree's for the indexes. (John Arbash Meinel) |
2316 | 1131 | the contents of a compressed btree file. (John Arbash Meinel) | 1174 | |
2317 | 1132 | 1175 | * ``bzr dump-btree`` is a hidden command introduced to allow dumping | |
2318 | 1133 | * ``bzr pack`` now tells the index builders to optimize for size. For | 1176 | the contents of a compressed btree file. (John Arbash Meinel) |
2319 | 1134 | btree index repositories, this can save 25% of the index size | 1177 | |
2320 | 1135 | (mostly in the text indexes). (John Arbash Meinel) | 1178 | * ``bzr pack`` now tells the index builders to optimize for size. For |
2321 | 1136 | 1179 | btree index repositories, this can save 25% of the index size | |
2322 | 1137 | * ``bzr push`` to an existing branch or repository on a smart server | 1180 | (mostly in the text indexes). (John Arbash Meinel) |
2323 | 1138 | is faster, due to Bazaar making more use of the ``get_parent_map`` | 1181 | |
2324 | 1139 | RPC when querying the remote branch's revision graph. | 1182 | * ``bzr push`` to an existing branch or repository on a smart server |
2325 | 1140 | (Andrew Bennetts) | 1183 | is faster, due to Bazaar making more use of the ``get_parent_map`` |
2326 | 1141 | 1184 | RPC when querying the remote branch's revision graph. | |
2327 | 1142 | * default username for bzr+ssh and sftp can be configured in | 1185 | (Andrew Bennetts) |
2328 | 1143 | authentication.conf. (Aaron Bentley) | 1186 | |
2329 | 1144 | 1187 | * default username for bzr+ssh and sftp can be configured in | |
2330 | 1145 | * launchpad-login now provides a default username for bzr+ssh and sftp | 1188 | authentication.conf. (Aaron Bentley) |
2331 | 1146 | URLs, allowing username-free URLs to work for everyone. (Aaron Bentley) | 1189 | |
2332 | 1147 | 1190 | * launchpad-login now provides a default username for bzr+ssh and sftp | |
2333 | 1148 | * ``lp:`` lookups no longer include usernames, making them shareable and | 1191 | URLs, allowing username-free URLs to work for everyone. (Aaron Bentley) |
2334 | 1149 | shorter. (Aaron Bentley) | 1192 | |
2335 | 1150 | 1193 | * ``lp:`` lookups no longer include usernames, making them shareable and | |
2336 | 1151 | * New ``PackRepository.autopack`` smart server RPC, which does | 1194 | shorter. (Aaron Bentley) |
2337 | 1152 | autopacking entirely on the server. This is much faster than | 1195 | |
2338 | 1153 | autopacking via plain file methods, which downloads a large amount | 1196 | * New ``PackRepository.autopack`` smart server RPC, which does |
2339 | 1154 | of pack data and then re-uploads the same pack data into a single | 1197 | autopacking entirely on the server. This is much faster than |
2340 | 1155 | file. This fixes a major (although infrequent) cause of lengthy | 1198 | autopacking via plain file methods, which downloads a large amount |
2341 | 1156 | delays when using a smart server. For example, pushing the 10th | 1199 | of pack data and then re-uploads the same pack data into a single |
2342 | 1157 | revision to a repository with 9 packs now takes 44 RPCs rather than | 1200 | file. This fixes a major (although infrequent) cause of lengthy |
2343 | 1158 | 179, and much less bandwidth too. This requires Bazaar 1.9 on both | 1201 | delays when using a smart server. For example, pushing the 10th |
2344 | 1159 | the client and the server, otherwise the client will fallback to the | 1202 | revision to a repository with 9 packs now takes 44 RPCs rather than |
2345 | 1160 | slower method. (Andrew Bennetts) | 1203 | 179, and much less bandwidth too. This requires Bazaar 1.9 on both |
2346 | 1161 | 1204 | the client and the server, otherwise the client will fallback to the | |
2347 | 1162 | BUG FIXES: | 1205 | slower method. (Andrew Bennetts) |
2348 | 1163 | 1206 | ||
2349 | 1164 | * A failure to load a plugin due to an IncompatibleAPI exception is | 1207 | Bug Fixes |
2350 | 1165 | now correctly reported. (Robert Collins, #279451) | 1208 | ********* |
2351 | 1166 | 1209 | ||
2352 | 1167 | * API versioning support now has a multiple-version checking api | 1210 | * A failure to load a plugin due to an IncompatibleAPI exception is |
2353 | 1168 | ``require_any_api``. (Robert Collins, #279447) | 1211 | now correctly reported. (Robert Collins, #279451) |
2354 | 1169 | 1212 | ||
2355 | 1170 | * ``bzr branch --stacked`` from a smart server to a standalone branch | 1213 | * API versioning support now has a multiple-version checking api |
2356 | 1171 | works again. This fixes a regression in 1.7 and 1.8. | 1214 | ``require_any_api``. (Robert Collins, #279447) |
2357 | 1172 | (Andrew Bennetts, #270397) | 1215 | |
2358 | 1173 | 1216 | * ``bzr branch --stacked`` from a smart server to a standalone branch | |
2359 | 1174 | * ``bzr co`` uses less memory. It used to unpack the entire WT into | 1217 | works again. This fixes a regression in 1.7 and 1.8. |
2360 | 1175 | memory before writing it to disk. This was a little bit faster, but | 1218 | (Andrew Bennetts, #270397) |
2361 | 1176 | consumed lots of memory. (John Arbash Meinel, #269456) | 1219 | |
2362 | 1177 | 1220 | * ``bzr co`` uses less memory. It used to unpack the entire WT into | |
2363 | 1178 | * ``bzr missing --quiet`` no longer prints messages about whether | 1221 | memory before writing it to disk. This was a little bit faster, but |
2364 | 1179 | there are missing revisions. The exit code indicates whether there | 1222 | consumed lots of memory. (John Arbash Meinel, #269456) |
2365 | 1180 | were or not. (Martin Pool, #284748) | 1223 | |
2366 | 1181 | 1224 | * ``bzr missing --quiet`` no longer prints messages about whether | |
2367 | 1182 | * Fixes to the ``annotate`` code. The fast-path which re-used the | 1225 | there are missing revisions. The exit code indicates whether there |
2368 | 1183 | stored deltas was accidentally disabled all the time, instead of | 1226 | were or not. (Martin Pool, #284748) |
2369 | 1184 | only when a branch was stacked. Second, the code would accidentally | 1227 | |
2370 | 1185 | re-use a delta even if it wasn't against the left-parent, this | 1228 | * Fixes to the ``annotate`` code. The fast-path which re-used the |
2371 | 1186 | could only happen if ``bzr reconcile`` decided that the parent | 1229 | stored deltas was accidentally disabled all the time, instead of |
2372 | 1187 | ordering was incorrect in the file graph. (John Arbash Meinel) | 1230 | only when a branch was stacked. Second, the code would accidentally |
2373 | 1188 | 1231 | re-use a delta even if it wasn't against the left-parent, this | |
2374 | 1189 | * "Permission denied" errors that occur when pushing a new branch to a | 1232 | could only happen if ``bzr reconcile`` decided that the parent |
2375 | 1190 | smart server no longer cause tracebacks. (Andrew Bennetts, #278673) | 1233 | ordering was incorrect in the file graph. (John Arbash Meinel) |
2376 | 1191 | 1234 | ||
2377 | 1192 | * Some compatibility fixes for building the extensions with MSVC and | 1235 | * "Permission denied" errors that occur when pushing a new branch to a |
2378 | 1193 | for python2.4. (John Arbash Meinel, #277484) | 1236 | smart server no longer cause tracebacks. (Andrew Bennetts, #278673) |
2379 | 1194 | 1237 | ||
2380 | 1195 | * The index logic is now able to reload the list of pack files if and | 1238 | * Some compatibility fixes for building the extensions with MSVC and |
2381 | 1196 | index ends up disappearing. We still don't reload if the pack data | 1239 | for python2.4. (John Arbash Meinel, #277484) |
2382 | 1197 | itself goes missing after checking the index. This bug appears as a | 1240 | |
2383 | 1198 | transient failure (file not found) when another process is writing | 1241 | * The index logic is now able to reload the list of pack files if and |
2384 | 1199 | to the repository. (John Arbash Meinel, #153786) | 1242 | index ends up disappearing. We still don't reload if the pack data |
2385 | 1200 | 1243 | itself goes missing after checking the index. This bug appears as a | |
2386 | 1201 | * ``bzr switch`` and ``bzr bind`` will now update the branch nickname if | 1244 | transient failure (file not found) when another process is writing |
2387 | 1202 | it was previously set. All checkouts will now refer to the bound branch | 1245 | to the repository. (John Arbash Meinel, #153786) |
2388 | 1203 | for a nickname if one was not explicitly set. | 1246 | |
2389 | 1204 | (Marius Kruger, #230903) | 1247 | * ``bzr switch`` and ``bzr bind`` will now update the branch nickname if |
2390 | 1205 | 1248 | it was previously set. All checkouts will now refer to the bound branch | |
2391 | 1206 | DOCUMENTATION: | 1249 | for a nickname if one was not explicitly set. |
2392 | 1207 | 1250 | (Marius Kruger, #230903) | |
2393 | 1208 | * Improved hook documentation. (Michael Ernst) | 1251 | |
2394 | 1209 | 1252 | Documentation | |
2395 | 1210 | API CHANGES: | 1253 | ************* |
2396 | 1211 | 1254 | ||
2397 | 1212 | * commands.plugins_cmds is now a CommandRegistry, not a dict. | 1255 | * Improved hook documentation. (Michael Ernst) |
2398 | 1213 | 1256 | ||
2399 | 1214 | INTERNALS: | 1257 | API Changes |
2400 | 1215 | 1258 | *********** | |
2401 | 1216 | * New AuthenticationConfig.set_credentials method allows easy programmatic | 1259 | |
2402 | 1217 | configuration of authetication credentials. | 1260 | * commands.plugins_cmds is now a CommandRegistry, not a dict. |
2403 | 1261 | |||
2404 | 1262 | Internals | ||
2405 | 1263 | ********* | ||
2406 | 1264 | |||
2407 | 1265 | * New AuthenticationConfig.set_credentials method allows easy programmatic | ||
2408 | 1266 | configuration of authetication credentials. | ||
2409 | 1218 | 1267 | ||
2410 | 1219 | 1268 | ||
2411 | 1220 | bzr 1.8 2008-10-16 | 1269 | bzr 1.8 2008-10-16 |
2413 | 1221 | ------------------ | 1270 | ################## |
2414 | 1222 | 1271 | ||
2415 | 1223 | Bazaar 1.8 includes several fixes that improve working tree performance, | 1272 | Bazaar 1.8 includes several fixes that improve working tree performance, |
2416 | 1224 | display of revision logs, and merges. The bzr testsuite now passes on OS | 1273 | display of revision logs, and merges. The bzr testsuite now passes on OS |
2417 | @@ -1226,231 +1275,242 @@ | |||
2418 | 1226 | smartserver code has gained several bug fixes and performance | 1275 | smartserver code has gained several bug fixes and performance |
2419 | 1227 | improvements, and can now run server-side hooks within an http server. | 1276 | improvements, and can now run server-side hooks within an http server. |
2420 | 1228 | 1277 | ||
2430 | 1229 | BUG FIXES: | 1278 | Bug Fixes |
2431 | 1230 | 1279 | ********* | |
2432 | 1231 | * Fix "Must end write group" error when another error occurs during | 1280 | |
2433 | 1232 | ``bzr push``. (Andrew Bennetts, #230902) | 1281 | * Fix "Must end write group" error when another error occurs during |
2434 | 1233 | 1282 | ``bzr push``. (Andrew Bennetts, #230902) | |
2435 | 1234 | PORTABILITY: | 1283 | |
2436 | 1235 | 1284 | Portability | |
2437 | 1236 | * Some Pyrex versions require the WIN32 macro defined to compile on | 1285 | *********** |
2438 | 1237 | that platform. (Alexander Belchenko, Martin Pool, #277481) | 1286 | |
2439 | 1287 | * Some Pyrex versions require the WIN32 macro defined to compile on | ||
2440 | 1288 | that platform. (Alexander Belchenko, Martin Pool, #277481) | ||
2441 | 1238 | 1289 | ||
2442 | 1239 | 1290 | ||
2443 | 1240 | bzr 1.8rc1 2008-10-07 | 1291 | bzr 1.8rc1 2008-10-07 |
2632 | 1241 | --------------------- | 1292 | ##################### |
2633 | 1242 | 1293 | ||
2634 | 1243 | CHANGES: | 1294 | Changes |
2635 | 1244 | 1295 | ******* | |
2636 | 1245 | * ``bzr log file`` has been changed. It now uses a different method | 1296 | |
2637 | 1246 | for determining which revisions to show as merging the changes to | 1297 | * ``bzr log file`` has been changed. It now uses a different method |
2638 | 1247 | the file. It now only shows revisions which merged the change | 1298 | for determining which revisions to show as merging the changes to |
2639 | 1248 | towards your mainline. This simplifies the output, makes it faster, | 1299 | the file. It now only shows revisions which merged the change |
2640 | 1249 | and reduces memory consumption. (John Arbash Meinel) | 1300 | towards your mainline. This simplifies the output, makes it faster, |
2641 | 1250 | 1301 | and reduces memory consumption. (John Arbash Meinel) | |
2642 | 1251 | * ``bzr merge`` now defaults to having ``--reprocess`` set, whenever | 1302 | |
2643 | 1252 | ``--show-base`` is not supplied. (John Arbash Meinel) | 1303 | * ``bzr merge`` now defaults to having ``--reprocess`` set, whenever |
2644 | 1253 | 1304 | ``--show-base`` is not supplied. (John Arbash Meinel) | |
2645 | 1254 | * ``bzr+http//`` will now optionally load plugins and write logs on the | 1305 | |
2646 | 1255 | server. (Marius Kruger) | 1306 | * ``bzr+http//`` will now optionally load plugins and write logs on the |
2647 | 1256 | 1307 | server. (Marius Kruger) | |
2648 | 1257 | * ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with | 1308 | |
2649 | 1258 | Pyrex 0.9.4.1 (it generates C code which causes segfaults). We | 1309 | * ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with |
2650 | 1259 | explicitly blacklist that version of the compiler for that | 1310 | Pyrex 0.9.4.1 (it generates C code which causes segfaults). We |
2651 | 1260 | extension. Packaged versions will include .c files created with | 1311 | explicitly blacklist that version of the compiler for that |
2652 | 1261 | pyrex >= 0.9.6 so it doesn't effect releases, only users running | 1312 | extension. Packaged versions will include .c files created with |
2653 | 1262 | from the source tree. (John Arbash Meinel, #276868) | 1313 | pyrex >= 0.9.6 so it doesn't effect releases, only users running |
2654 | 1263 | 1314 | from the source tree. (John Arbash Meinel, #276868) | |
2655 | 1264 | FEATURES: | 1315 | |
2656 | 1265 | 1316 | Features | |
2657 | 1266 | * bzr is now compatible with python-2.6. python-2.6 is not yet officially | 1317 | ******** |
2658 | 1267 | supported (nor released, tests were conducted with the dev version of | 1318 | |
2659 | 1268 | python-2.6rc2), but all known problems have been fixed. Feedback | 1319 | * bzr is now compatible with python-2.6. python-2.6 is not yet officially |
2660 | 1269 | welcome. | 1320 | supported (nor released, tests were conducted with the dev version of |
2661 | 1270 | (Vincent Ladeuil, #269535) | 1321 | python-2.6rc2), but all known problems have been fixed. Feedback |
2662 | 1271 | 1322 | welcome. | |
2663 | 1272 | IMPROVEMENTS: | 1323 | (Vincent Ladeuil, #269535) |
2664 | 1273 | 1324 | ||
2665 | 1274 | * ``bzr annotate`` will now include uncommitted changes from the local | 1325 | Improvements |
2666 | 1275 | working tree by default. Such uncommitted changes are given the | 1326 | ************ |
2667 | 1276 | revision number they would get if a commit was done, followed with a | 1327 | |
2668 | 1277 | ? to indicate that its not actually known. (Robert Collins, #3439) | 1328 | * ``bzr annotate`` will now include uncommitted changes from the local |
2669 | 1278 | 1329 | working tree by default. Such uncommitted changes are given the | |
2670 | 1279 | * ``bzr branch`` now accepts a ``--standalone`` option, which creates a | 1330 | revision number they would get if a commit was done, followed with a |
2671 | 1280 | standalone branch regardless of the presence of shared repositories. | 1331 | ? to indicate that its not actually known. (Robert Collins, #3439) |
2672 | 1281 | (Daniel Watkins) | 1332 | |
2673 | 1282 | 1333 | * ``bzr branch`` now accepts a ``--standalone`` option, which creates a | |
2674 | 1283 | * ``bzr push`` is faster in the case there are no new revisions to | 1334 | standalone branch regardless of the presence of shared repositories. |
2675 | 1284 | push. It is also faster if there are no tags in the local branch. | 1335 | (Daniel Watkins) |
2676 | 1285 | (Andrew Bennetts) | 1336 | |
2677 | 1286 | 1337 | * ``bzr push`` is faster in the case there are no new revisions to | |
2678 | 1287 | * File changes during a commit will update the tree stat cache. | 1338 | push. It is also faster if there are no tags in the local branch. |
2679 | 1288 | (Robert Collins) | 1339 | (Andrew Bennetts) |
2680 | 1289 | 1340 | ||
2681 | 1290 | * Location aliases can now accept a trailing path. (Micheal Hudson) | 1341 | * File changes during a commit will update the tree stat cache. |
2682 | 1291 | 1342 | (Robert Collins) | |
2683 | 1292 | * New hooks ``Lock.hooks`` when LockDirs are acquired and released. | 1343 | |
2684 | 1293 | (Robert Collins, MartinPool) | 1344 | * Location aliases can now accept a trailing path. (Micheal Hudson) |
2685 | 1294 | 1345 | ||
2686 | 1295 | * Switching in heavyweight checkouts uses the master branch's context, not | 1346 | * New hooks ``Lock.hooks`` when LockDirs are acquired and released. |
2687 | 1296 | the checkout's context. (Adrian Wilkins) | 1347 | (Robert Collins, MartinPool) |
2688 | 1297 | 1348 | ||
2689 | 1298 | * ``status`` on large trees is now faster, due to optimisations in the | 1349 | * Switching in heavyweight checkouts uses the master branch's context, not |
2690 | 1299 | walkdirs code. Of particular note, the walkdirs code now performs | 1350 | the checkout's context. (Adrian Wilkins) |
2691 | 1300 | a temporary ``chdir()`` while reading a single directory; if your | 1351 | |
2692 | 1301 | platform has non thread-local current working directories (and is | 1352 | * ``status`` on large trees is now faster, due to optimisations in the |
2693 | 1302 | not windows which has its own implementation), this may introduce a | 1353 | walkdirs code. Of particular note, the walkdirs code now performs |
2694 | 1303 | race condition during concurrent uses of bzrlib. The bzrlib CLI | 1354 | a temporary ``chdir()`` while reading a single directory; if your |
2695 | 1304 | will not encounter this as it is single threaded for working tree | 1355 | platform has non thread-local current working directories (and is |
2696 | 1305 | operations. (Robert Collins) | 1356 | not windows which has its own implementation), this may introduce a |
2697 | 1306 | 1357 | race condition during concurrent uses of bzrlib. The bzrlib CLI | |
2698 | 1307 | * The C extensions now build on python 2.4 (Robert Collins, #271939) | 1358 | will not encounter this as it is single threaded for working tree |
2699 | 1308 | 1359 | operations. (Robert Collins) | |
2700 | 1309 | * The ``-Dhpss`` debug flag now reports the number of smart server | 1360 | |
2701 | 1310 | calls per medium to stderr. This is in addition to the existing | 1361 | * The C extensions now build on python 2.4 (Robert Collins, #271939) |
2702 | 1311 | detailed logging to the .bzr.log trace file. (Andrew Bennetts) | 1362 | |
2703 | 1312 | 1363 | * The ``-Dhpss`` debug flag now reports the number of smart server | |
2704 | 1313 | BUG FIXES: | 1364 | calls per medium to stderr. This is in addition to the existing |
2705 | 1314 | 1365 | detailed logging to the .bzr.log trace file. (Andrew Bennetts) | |
2706 | 1315 | * Avoid random failures arising from misinterpreted ``errno`` values | 1366 | |
2707 | 1316 | in ``_readdir_pyx.read_dir``. | 1367 | Bug Fixes |
2708 | 1317 | (Martin Pool, #279381) | 1368 | ********* |
2709 | 1318 | 1369 | ||
2710 | 1319 | * Branching from a shared repository on a smart server into a new | 1370 | * Avoid random failures arising from misinterpreted ``errno`` values |
2711 | 1320 | repository now preserves the repository format. | 1371 | in ``_readdir_pyx.read_dir``. |
2712 | 1321 | (Andrew Bennetts, #269214) | 1372 | (Martin Pool, #279381) |
2713 | 1322 | 1373 | ||
2714 | 1323 | * ``bzr log`` now accepts a ``--change`` option. | 1374 | * Branching from a shared repository on a smart server into a new |
2715 | 1324 | (Vincent Ladeuil, #248427) | 1375 | repository now preserves the repository format. |
2716 | 1325 | 1376 | (Andrew Bennetts, #269214) | |
2717 | 1326 | * ``bzr missing`` now accepts an ``--include-merges`` option. | 1377 | |
2718 | 1327 | (Vincent Ladeuil, #233817) | 1378 | * ``bzr log`` now accepts a ``--change`` option. |
2719 | 1328 | 1379 | (Vincent Ladeuil, #248427) | |
2720 | 1329 | * Don't try to filter (internally) '.bzr' from the files to be deleted if | 1380 | |
2721 | 1330 | it's not there. | 1381 | * ``bzr missing`` now accepts an ``--include-merges`` option. |
2722 | 1331 | (Vincent Ladeuil, #272648) | 1382 | (Vincent Ladeuil, #233817) |
2723 | 1332 | 1383 | ||
2724 | 1333 | * Fix '_in_buffer' AttributeError when using the -Dhpss debug flag. | 1384 | * Don't try to filter (internally) '.bzr' from the files to be deleted if |
2725 | 1334 | (Andrew Bennetts) | 1385 | it's not there. |
2726 | 1335 | 1386 | (Vincent Ladeuil, #272648) | |
2727 | 1336 | * Fix TooManyConcurrentRequests errors caused by a connection failure | 1387 | |
2728 | 1337 | when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL. | 1388 | * Fix '_in_buffer' AttributeError when using the -Dhpss debug flag. |
2729 | 1338 | (Andrew Bennetts, #246233) | 1389 | (Andrew Bennetts) |
2730 | 1339 | 1390 | ||
2731 | 1340 | * Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch | 1391 | * Fix TooManyConcurrentRequests errors caused by a connection failure |
2732 | 1341 | is in a different repository than the current one. | 1392 | when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL. |
2733 | 1342 | (Lukáš Lalinský, #144421) | 1393 | (Andrew Bennetts, #246233) |
2734 | 1343 | 1394 | ||
2735 | 1344 | * Make the first line of the manpage preamble a comment again. | 1395 | * Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch |
2736 | 1345 | (David Futcher, #242106) | 1396 | is in a different repository than the current one. |
2737 | 1346 | 1397 | (Lukáš Lalinský, #144421) | |
2738 | 1347 | * Remove use of optional parameter in GSSAPI FTP support, since | 1398 | |
2739 | 1348 | it breaks newer versions of Python-Kerberos. (Jelmer Vernooij) | 1399 | * Make the first line of the manpage preamble a comment again. |
2740 | 1349 | 1400 | (David Futcher, #242106) | |
2741 | 1350 | * The autopacking logic will now always create a single new pack from | 1401 | |
2742 | 1351 | all of the content which it deems is worth moving. This avoids the | 1402 | * Remove use of optional parameter in GSSAPI FTP support, since |
2743 | 1352 | 'repack a single pack' bug and should result in better packing | 1403 | it breaks newer versions of Python-Kerberos. (Jelmer Vernooij) |
2744 | 1353 | overall. (John Arbash Meinel, #242510, #172644) | 1404 | |
2745 | 1354 | 1405 | * The autopacking logic will now always create a single new pack from | |
2746 | 1355 | * Trivial documentation fix. | 1406 | all of the content which it deems is worth moving. This avoids the |
2747 | 1356 | (John Arbash Meinel, #270471) | 1407 | 'repack a single pack' bug and should result in better packing |
2748 | 1357 | 1408 | overall. (John Arbash Meinel, #242510, #172644) | |
2749 | 1358 | * ``bzr switch`` and ``bzr bind`` will now update the branch nickname if | 1409 | |
2750 | 1359 | it was previously set. All checkouts will now refer to the bound branch | 1410 | * Trivial documentation fix. |
2751 | 1360 | for a nickname if one was not explicitly set. | 1411 | (John Arbash Meinel, #270471) |
2752 | 1361 | (Marius Kruger, #230903) | 1412 | |
2753 | 1362 | 1413 | * ``bzr switch`` and ``bzr bind`` will now update the branch nickname if | |
2754 | 1363 | DOCUMENTATION: | 1414 | it was previously set. All checkouts will now refer to the bound branch |
2755 | 1364 | 1415 | for a nickname if one was not explicitly set. | |
2756 | 1365 | * Explain revision/range identifiers. (Daniel Clemente) | 1416 | (Marius Kruger, #230903) |
2757 | 1366 | 1417 | ||
2758 | 1367 | API CHANGES: | 1418 | Documentation |
2759 | 1368 | 1419 | ************* | |
2760 | 1369 | * ``CommitBuilder.record_entry_contents`` returns one more element in | 1420 | |
2761 | 1370 | its result tuple - an optional file system hash for the hash cache | 1421 | * Explain revision/range identifiers. (Daniel Clemente) |
2762 | 1371 | to use. (Robert Collins) | 1422 | |
2763 | 1372 | 1423 | API Changes | |
2764 | 1373 | * ``dirstate.DirState.update_entry`` will now only calculate the sha1 | 1424 | *********** |
2765 | 1374 | of a file if it is likely to be needed in determining the output | 1425 | |
2766 | 1375 | of iter_changes. (Robert Collins) | 1426 | * ``CommitBuilder.record_entry_contents`` returns one more element in |
2767 | 1376 | 1427 | its result tuple - an optional file system hash for the hash cache | |
2768 | 1377 | * The PackRepository, RepositoryPackCollection, NewPack classes have a | 1428 | to use. (Robert Collins) |
2769 | 1378 | slightly changed interface to support different index types; as a | 1429 | |
2770 | 1379 | result other users of these classes need to supply the index types | 1430 | * ``dirstate.DirState.update_entry`` will now only calculate the sha1 |
2771 | 1380 | they want. (Robert Collins) | 1431 | of a file if it is likely to be needed in determining the output |
2772 | 1381 | 1432 | of iter_changes. (Robert Collins) | |
2773 | 1382 | TESTING: | 1433 | |
2774 | 1383 | 1434 | * The PackRepository, RepositoryPackCollection, NewPack classes have a | |
2775 | 1384 | * ``bzrlib.tests.repository_implementations`` has been renamed to | 1435 | slightly changed interface to support different index types; as a |
2776 | 1385 | ``bzrlib.tests.per_repository`` so that we have a common structure | 1436 | result other users of these classes need to supply the index types |
2777 | 1386 | (and it is shorter). (John Arbash Meinel, #239343) | 1437 | they want. (Robert Collins) |
2778 | 1387 | 1438 | ||
2779 | 1388 | * ``LocalTransport.abspath()`` now returns a drive letter if the | 1439 | Testing |
2780 | 1389 | transport has one, fixing numerous tests on Windows. | 1440 | ******* |
2781 | 1390 | (Mark Hammond) | 1441 | |
2782 | 1391 | 1442 | * ``bzrlib.tests.repository_implementations`` has been renamed to | |
2783 | 1392 | * PreviewTree is now tested via intertree_implementations. | 1443 | ``bzrlib.tests.per_repository`` so that we have a common structure |
2784 | 1393 | (Aaron Bentley) | 1444 | (and it is shorter). (John Arbash Meinel, #239343) |
2785 | 1394 | 1445 | ||
2786 | 1395 | * The full test suite is passing again on OSX. | 1446 | * ``LocalTransport.abspath()`` now returns a drive letter if the |
2787 | 1396 | (Guillermo Gonzalez, Vincent Ladeuil) | 1447 | transport has one, fixing numerous tests on Windows. |
2788 | 1397 | 1448 | (Mark Hammond) | |
2789 | 1398 | * The full test suite passes when run with ``-Eallow_debug``. | 1449 | |
2790 | 1399 | (Andrew Bennetts) | 1450 | * PreviewTree is now tested via intertree_implementations. |
2791 | 1400 | 1451 | (Aaron Bentley) | |
2792 | 1401 | INTERNALS: | 1452 | |
2793 | 1402 | 1453 | * The full test suite is passing again on OSX. | |
2794 | 1403 | * A new hook, ``Branch.open``, has been added, which is called when | 1454 | (Guillermo Gonzalez, Vincent Ladeuil) |
2795 | 1404 | branch objects are opened. (Robert Collins) | 1455 | |
2796 | 1405 | 1456 | * The full test suite passes when run with ``-Eallow_debug``. | |
2797 | 1406 | * ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common | 1457 | (Andrew Bennetts) |
2798 | 1407 | tree walking, and modular directory listing code to aid future | 1458 | |
2799 | 1408 | performance optimisations and refactoring. (Robert Collins) | 1459 | Internals |
2800 | 1409 | 1460 | ********* | |
2801 | 1410 | * ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump | 1461 | |
2802 | 1411 | in the middle of processing. It only reports memory if | 1462 | * A new hook, ``Branch.open``, has been added, which is called when |
2803 | 1412 | ``/proc/PID/status`` is available. (John Arbash Meinel) | 1463 | branch objects are opened. (Robert Collins) |
2804 | 1413 | 1464 | ||
2805 | 1414 | * New method ``RevisionSpec.as_tree`` for representing the revision | 1465 | * ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common |
2806 | 1415 | specifier as a revision tree object. (Lukáš Lalinský) | 1466 | tree walking, and modular directory listing code to aid future |
2807 | 1416 | 1467 | performance optimisations and refactoring. (Robert Collins) | |
2808 | 1417 | * New race-free method on MutableTree ``get_file_with_stat`` for use | 1468 | |
2809 | 1418 | when generating stat cache results. (Robert Collins) | 1469 | * ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump |
2810 | 1419 | 1470 | in the middle of processing. It only reports memory if | |
2811 | 1420 | * New win32utils.get_local_appdata_location() provides access to a local | 1471 | ``/proc/PID/status`` is available. (John Arbash Meinel) |
2812 | 1421 | directory for storing data. (Mark Hammond) | 1472 | |
2813 | 1422 | 1473 | * New method ``RevisionSpec.as_tree`` for representing the revision | |
2814 | 1423 | * To be compatible with python-2.6 a few new rules should be | 1474 | specifier as a revision tree object. (Lukáš Lalinský) |
2815 | 1424 | observed. 'message' attribute can't be used anymore in exception | 1475 | |
2816 | 1425 | classes, 'sha' and 'md5' modules have been deprecated (use | 1476 | * New race-free method on MutableTree ``get_file_with_stat`` for use |
2817 | 1426 | osutils.[md5|sha]), object__init__ and object.__new__ don't accept | 1477 | when generating stat cache results. (Robert Collins) |
2818 | 1427 | parameters anymore. | 1478 | |
2819 | 1428 | (Vincent Ladeuil) | 1479 | * New win32utils.get_local_appdata_location() provides access to a local |
2820 | 1480 | directory for storing data. (Mark Hammond) | ||
2821 | 1481 | |||
2822 | 1482 | * To be compatible with python-2.6 a few new rules should be | ||
2823 | 1483 | observed. 'message' attribute can't be used anymore in exception | ||
2824 | 1484 | classes, 'sha' and 'md5' modules have been deprecated (use | ||
2825 | 1485 | osutils.[md5|sha]), object__init__ and object.__new__ don't accept | ||
2826 | 1486 | parameters anymore. | ||
2827 | 1487 | (Vincent Ladeuil) | ||
2828 | 1429 | 1488 | ||
2829 | 1430 | 1489 | ||
2830 | 1431 | bzr 1.7.1 2008-10-01 | 1490 | bzr 1.7.1 2008-10-01 |
2832 | 1432 | -------------------- | 1491 | #################### |
2833 | 1433 | 1492 | ||
2835 | 1434 | No changes from 1.7.1rc1. | 1493 | No changes from 1.7.1rc1. |
2836 | 1435 | 1494 | ||
2837 | 1436 | 1495 | ||
2838 | 1437 | bzr 1.7.1rc1 2008-09-24 | 1496 | bzr 1.7.1rc1 2008-09-24 |
2840 | 1438 | ----------------------- | 1497 | ####################### |
2841 | 1439 | 1498 | ||
2842 | 1440 | This release just includes an update to how the merge algorithm handles | 1499 | This release just includes an update to how the merge algorithm handles |
2843 | 1441 | file paths when we encounter complex history. | 1500 | file paths when we encounter complex history. |
2844 | 1442 | 1501 | ||
2846 | 1443 | FEATURES: | 1502 | Features |
2847 | 1503 | ******** | ||
2848 | 1444 | 1504 | ||
2854 | 1445 | * If we encounter a criss-cross in history, use information from | 1505 | * If we encounter a criss-cross in history, use information from |
2855 | 1446 | direct Least Common Ancestors to resolve inventory shape (locations | 1506 | direct Least Common Ancestors to resolve inventory shape (locations |
2856 | 1447 | of files, adds, deletes, etc). This is similar in concept to using | 1507 | of files, adds, deletes, etc). This is similar in concept to using |
2857 | 1448 | ``--lca`` for merging file texts, only applied to paths. | 1508 | ``--lca`` for merging file texts, only applied to paths. |
2858 | 1449 | (John Arbash Meinel) | 1509 | (John Arbash Meinel) |
2859 | 1450 | 1510 | ||
2860 | 1451 | 1511 | ||
2861 | 1452 | bzr 1.7 2008-09-23 | 1512 | bzr 1.7 2008-09-23 |
2863 | 1453 | ------------------ | 1513 | ################## |
2864 | 1454 | 1514 | ||
2865 | 1455 | This release includes many bug fixes and a few performance and feature | 1515 | This release includes many bug fixes and a few performance and feature |
2866 | 1456 | improvements. ``bzr rm`` will now scan for missing files and remove them, | 1516 | improvements. ``bzr rm`` will now scan for missing files and remove them, |
2867 | @@ -1459,39 +1519,41 @@ | |||
2868 | 1459 | been brought in, with an eye on using it in a future repository format. | 1519 | been brought in, with an eye on using it in a future repository format. |
2869 | 1460 | There are only minor installer changes since bzr-1.7rc2. | 1520 | There are only minor installer changes since bzr-1.7rc2. |
2870 | 1461 | 1521 | ||
2872 | 1462 | FEATURES | 1522 | Features |
2873 | 1523 | ******** | ||
2874 | 1463 | 1524 | ||
2878 | 1464 | * Some small updates to the win32 installer. Include localization | 1525 | * Some small updates to the win32 installer. Include localization |
2879 | 1465 | files found in plugins, and include the builtin distutils as part of | 1526 | files found in plugins, and include the builtin distutils as part of |
2880 | 1466 | packaging qbzr. (Mark Hammond) | 1527 | packaging qbzr. (Mark Hammond) |
2881 | 1467 | 1528 | ||
2882 | 1468 | 1529 | ||
2883 | 1469 | bzr 1.7rc2 2008-09-17 | 1530 | bzr 1.7rc2 2008-09-17 |
2885 | 1470 | --------------------- | 1531 | ##################### |
2886 | 1471 | 1532 | ||
2887 | 1472 | A few bug fixes from 1.7rc1. The biggest change is a new | 1533 | A few bug fixes from 1.7rc1. The biggest change is a new |
2888 | 1473 | ``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are | 1534 | ``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are |
2889 | 1474 | trying to access a Stacked branch over the smart protocol, to properly | 1535 | trying to access a Stacked branch over the smart protocol, to properly |
2890 | 1475 | connect to the stacked-on location. | 1536 | connect to the stacked-on location. |
2891 | 1476 | 1537 | ||
2906 | 1477 | BUG FIXES: | 1538 | Bug Fixes |
2907 | 1478 | 1539 | ********* | |
2908 | 1479 | * Branching from a shared repository on a smart server into a new | 1540 | |
2909 | 1480 | repository now preserves the repository format. | 1541 | * Branching from a shared repository on a smart server into a new |
2910 | 1481 | (Andrew Bennetts, #269214) | 1542 | repository now preserves the repository format. |
2911 | 1482 | 1543 | (Andrew Bennetts, #269214) | |
2912 | 1483 | * Branching from a stacked branch via ``bzr+ssh`` can properly connect | 1544 | |
2913 | 1484 | to the stacked-on branch. (Martin Pool, #261315) | 1545 | * Branching from a stacked branch via ``bzr+ssh`` can properly connect |
2914 | 1485 | 1546 | to the stacked-on branch. (Martin Pool, #261315) | |
2915 | 1486 | * ``bzr init`` no longer re-opens the BzrDir multiple times. | 1547 | |
2916 | 1487 | (Vincent Ladeuil) | 1548 | * ``bzr init`` no longer re-opens the BzrDir multiple times. |
2917 | 1488 | 1549 | (Vincent Ladeuil) | |
2918 | 1489 | * Fix '_in_buffer' AttributeError when using the -Dhpss debug flag. | 1550 | |
2919 | 1490 | (Andrew Bennetts) | 1551 | * Fix '_in_buffer' AttributeError when using the -Dhpss debug flag. |
2920 | 1552 | (Andrew Bennetts) | ||
2921 | 1491 | 1553 | ||
2922 | 1492 | 1554 | ||
2923 | 1493 | bzr 1.7rc1 2008-09-09 | 1555 | bzr 1.7rc1 2008-09-09 |
2925 | 1494 | --------------------- | 1556 | ##################### |
2926 | 1495 | 1557 | ||
2927 | 1496 | This release candidate for bzr 1.7 has several bug fixes and a few | 1558 | This release candidate for bzr 1.7 has several bug fixes and a few |
2928 | 1497 | performance and feature improvements. ``bzr rm`` will now scan for | 1559 | performance and feature improvements. ``bzr rm`` will now scan for |
2929 | @@ -1501,187 +1563,195 @@ | |||
2930 | 1501 | it in a future repository format. | 1563 | it in a future repository format. |
2931 | 1502 | 1564 | ||
2932 | 1503 | 1565 | ||
3110 | 1504 | CHANGES: | 1566 | Changes |
3111 | 1505 | 1567 | ******* | |
3112 | 1506 | * ``bzr export`` can now export a subdirectory of a project. | 1568 | |
3113 | 1507 | (Robert Collins) | 1569 | * ``bzr export`` can now export a subdirectory of a project. |
3114 | 1508 | 1570 | (Robert Collins) | |
3115 | 1509 | * ``bzr remove-tree`` will now refuse to remove a tree with uncommitted | 1571 | |
3116 | 1510 | changes, unless the ``--force`` option is specified. | 1572 | * ``bzr remove-tree`` will now refuse to remove a tree with uncommitted |
3117 | 1511 | (Lukáš Lalinský, #74101) | 1573 | changes, unless the ``--force`` option is specified. |
3118 | 1512 | 1574 | (Lukáš Lalinský, #74101) | |
3119 | 1513 | * ``bzr rm`` will now scan for files that are missing and remove just | 1575 | |
3120 | 1514 | them automatically, much as ``bzr add`` scans for new files that | 1576 | * ``bzr rm`` will now scan for files that are missing and remove just |
3121 | 1515 | are not ignored and adds them automatically. (Robert Collins) | 1577 | them automatically, much as ``bzr add`` scans for new files that |
3122 | 1516 | 1578 | are not ignored and adds them automatically. (Robert Collins) | |
3123 | 1517 | FEATURES | 1579 | |
3124 | 1518 | 1580 | Features | |
3125 | 1519 | * Support for GSSAPI authentication when using FTP as documented in | 1581 | ******** |
3126 | 1520 | RFC2228. (Jelmer Vernooij, #49623) | 1582 | |
3127 | 1521 | 1583 | * Support for GSSAPI authentication when using FTP as documented in | |
3128 | 1522 | * Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014) | 1584 | RFC2228. (Jelmer Vernooij, #49623) |
3129 | 1523 | 1585 | ||
3130 | 1524 | IMPROVEMENTS: | 1586 | * Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014) |
3131 | 1525 | 1587 | ||
3132 | 1526 | * A url like ``log+file:///tmp`` will log all access to that Transport | 1588 | Improvements |
3133 | 1527 | to ``.bzr.log``, which may help in debugging or profiling. | 1589 | ************ |
3134 | 1528 | (Martin Pool) | 1590 | |
3135 | 1529 | 1591 | * A url like ``log+file:///tmp`` will log all access to that Transport | |
3136 | 1530 | * ``bzr branch`` and ``bzr push`` use the default stacking policy if the | 1592 | to ``.bzr.log``, which may help in debugging or profiling. |
3137 | 1531 | branch format supports it. (Aaron Bentley) | 1593 | (Martin Pool) |
3138 | 1532 | 1594 | ||
3139 | 1533 | * ``bzr init`` and ``bzr init-repo`` will now print out the same as | 1595 | * ``bzr branch`` and ``bzr push`` use the default stacking policy if the |
3140 | 1534 | ``bzr info`` if it completed successfully. | 1596 | branch format supports it. (Aaron Bentley) |
3141 | 1535 | (Marius Kruger) | 1597 | |
3142 | 1536 | 1598 | * ``bzr init`` and ``bzr init-repo`` will now print out the same as | |
3143 | 1537 | * ``bzr uncommit`` logs the old tip revision id, and displays how to | 1599 | ``bzr info`` if it completed successfully. |
3144 | 1538 | restore the branch to that tip using ``bzr pull``. This allows you | 1600 | (Marius Kruger) |
3145 | 1539 | to recover if you realize you uncommitted the wrong thing. | 1601 | |
3146 | 1540 | (John Arbash Meinel) | 1602 | * ``bzr uncommit`` logs the old tip revision id, and displays how to |
3147 | 1541 | 1603 | restore the branch to that tip using ``bzr pull``. This allows you | |
3148 | 1542 | * Fix problems in accessing stacked repositories over ``bzr://``. | 1604 | to recover if you realize you uncommitted the wrong thing. |
3149 | 1543 | (Martin Pool, #261315) | 1605 | (John Arbash Meinel) |
3150 | 1544 | 1606 | ||
3151 | 1545 | * ``SFTPTransport.readv()`` was accidentally using ``list += string``, | 1607 | * Fix problems in accessing stacked repositories over ``bzr://``. |
3152 | 1546 | which 'works', but adds each character separately to the list, | 1608 | (Martin Pool, #261315) |
3153 | 1547 | rather than using ``list.append(string)``. Fixing this makes the | 1609 | |
3154 | 1548 | SFTP transport a little bit faster (~20%) and use a bit less memory. | 1610 | * ``SFTPTransport.readv()`` was accidentally using ``list += string``, |
3155 | 1549 | (John Arbash Meinel) | 1611 | which 'works', but adds each character separately to the list, |
3156 | 1550 | 1612 | rather than using ``list.append(string)``. Fixing this makes the | |
3157 | 1551 | * When reading index files, if we happen to read the whole file in a | 1613 | SFTP transport a little bit faster (~20%) and use a bit less memory. |
3158 | 1552 | single request treat it as a ``_buffer_all`` request. This happens | 1614 | (John Arbash Meinel) |
3159 | 1553 | most often on small indexes over remote transports, where we default | 1615 | |
3160 | 1554 | to reading 64kB. It saves a round trip for each small index during | 1616 | * When reading index files, if we happen to read the whole file in a |
3161 | 1555 | fetch operations. Also, if we have read more than 50% of an index | 1617 | single request treat it as a ``_buffer_all`` request. This happens |
3162 | 1556 | file, trigger a ``_buffer_all`` on the next request. This works | 1618 | most often on small indexes over remote transports, where we default |
3163 | 1557 | around some inefficiencies because reads don't fall neatly on page | 1619 | to reading 64kB. It saves a round trip for each small index during |
3164 | 1558 | boundaries, so we would ignore those bytes, but request them again | 1620 | fetch operations. Also, if we have read more than 50% of an index |
3165 | 1559 | later. This could trigger a total read size of more than the whole | 1621 | file, trigger a ``_buffer_all`` on the next request. This works |
3166 | 1560 | file. (John Arbash Meinel) | 1622 | around some inefficiencies because reads don't fall neatly on page |
3167 | 1561 | 1623 | boundaries, so we would ignore those bytes, but request them again | |
3168 | 1562 | BUG FIXES: | 1624 | later. This could trigger a total read size of more than the whole |
3169 | 1563 | 1625 | file. (John Arbash Meinel) | |
3170 | 1564 | * ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn | 1626 | |
3171 | 1565 | users. (Robert Collins, #205416) | 1627 | Bug Fixes |
3172 | 1566 | 1628 | ********* | |
3173 | 1567 | * Catch the infamous "select/poll returned error" which occurs when | 1629 | |
3174 | 1568 | pycurl try to send a body request to an HTTP/1.0 server which has | 1630 | * ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn |
3175 | 1569 | already refused to handle the request. (Vincent Ladeuil, #225020) | 1631 | users. (Robert Collins, #205416) |
3176 | 1570 | 1632 | ||
3177 | 1571 | * Fix ``ObjectNotLocked`` errors when using various commands | 1633 | * Catch the infamous "select/poll returned error" which occurs when |
3178 | 1572 | (including ``bzr cat`` and ``bzr annotate``) in combination with a | 1634 | pycurl try to send a body request to an HTTP/1.0 server which has |
3179 | 1573 | smart server URL. (Andrew Bennetts, #237067) | 1635 | already refused to handle the request. (Vincent Ladeuil, #225020) |
3180 | 1574 | 1636 | ||
3181 | 1575 | * ``FTPTransport.stat()`` would return ``0000`` as the permission bits | 1637 | * Fix ``ObjectNotLocked`` errors when using various commands |
3182 | 1576 | for the containing ``.bzr/`` directory (it does not implement | 1638 | (including ``bzr cat`` and ``bzr annotate``) in combination with a |
3183 | 1577 | permissions). This would cause us to set all subdirectories to | 1639 | smart server URL. (Andrew Bennetts, #237067) |
3184 | 1578 | ``0700`` and files to ``0600`` rather than leaving them unmodified. | 1640 | |
3185 | 1579 | Now we ignore ``0000`` as the permissions and assume they are | 1641 | * ``FTPTransport.stat()`` would return ``0000`` as the permission bits |
3186 | 1580 | invalid. (John Arbash Meinel, #259855) | 1642 | for the containing ``.bzr/`` directory (it does not implement |
3187 | 1581 | 1643 | permissions). This would cause us to set all subdirectories to | |
3188 | 1582 | * Merging from a previously joined branch will no longer cause | 1644 | ``0700`` and files to ``0600`` rather than leaving them unmodified. |
3189 | 1583 | a traceback. (Jelmer Vernooij, #203376) | 1645 | Now we ignore ``0000`` as the permissions and assume they are |
3190 | 1584 | 1646 | invalid. (John Arbash Meinel, #259855) | |
3191 | 1585 | * Pack operations on windows network shares will work even with large | 1647 | |
3192 | 1586 | files. (Robert Collins, #255656) | 1648 | * Merging from a previously joined branch will no longer cause |
3193 | 1587 | 1649 | a traceback. (Jelmer Vernooij, #203376) | |
3194 | 1588 | * Running ``bzr st PATH_TO_TREE`` will no longer suppress merge | 1650 | |
3195 | 1589 | status. Status is also about 7% faster on mozilla sized trees | 1651 | * Pack operations on windows network shares will work even with large |
3196 | 1590 | when the path to the root of the tree has been given. Users of | 1652 | files. (Robert Collins, #255656) |
3197 | 1591 | the internal ``show_tree_status`` function should be aware that | 1653 | |
3198 | 1592 | the show_pending flag is now authoritative for showing pending | 1654 | * Running ``bzr st PATH_TO_TREE`` will no longer suppress merge |
3199 | 1593 | merges, as it was originally. (Robert Collins, #225204) | 1655 | status. Status is also about 7% faster on mozilla sized trees |
3200 | 1594 | 1656 | when the path to the root of the tree has been given. Users of | |
3201 | 1595 | * Set valid default _param_name for Option so that ListOption can embed | 1657 | the internal ``show_tree_status`` function should be aware that |
3202 | 1596 | '-' in names. (Vincent Ladeuil, #263249) | 1658 | the show_pending flag is now authoritative for showing pending |
3203 | 1597 | 1659 | merges, as it was originally. (Robert Collins, #225204) | |
3204 | 1598 | * Show proper error rather than traceback when an unknown revision | 1660 | |
3205 | 1599 | id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569) | 1661 | * Set valid default _param_name for Option so that ListOption can embed |
3206 | 1600 | 1662 | '-' in names. (Vincent Ladeuil, #263249) | |
3207 | 1601 | * Trailing text in the dirstate file could cause the C dirstate parser | 1663 | |
3208 | 1602 | to try to allocate an invalid amount of memory. We now properly | 1664 | * Show proper error rather than traceback when an unknown revision |
3209 | 1603 | check and test for parsing a dirstate with invalid trailing data. | 1665 | id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569) |
3210 | 1604 | (John Arbash Meinel, #186014) | 1666 | |
3211 | 1605 | 1667 | * Trailing text in the dirstate file could cause the C dirstate parser | |
3212 | 1606 | * Unexpected error responses from a smart server no longer cause the | 1668 | to try to allocate an invalid amount of memory. We now properly |
3213 | 1607 | client to traceback. (Andrew Bennetts, #263527) | 1669 | check and test for parsing a dirstate with invalid trailing data. |
3214 | 1608 | 1670 | (John Arbash Meinel, #186014) | |
3215 | 1609 | * Use a Windows api function to get a Unicode host name, rather than | 1671 | |
3216 | 1610 | assuming the host name is ascii. | 1672 | * Unexpected error responses from a smart server no longer cause the |
3217 | 1611 | (Mark Hammond, John Arbash Meinel, #256550) | 1673 | client to traceback. (Andrew Bennetts, #263527) |
3218 | 1612 | 1674 | ||
3219 | 1613 | * ``WorkingTree4`` trees will now correctly report missing-and-new | 1675 | * Use a Windows api function to get a Unicode host name, rather than |
3220 | 1614 | paths in the output of ``iter_changes``. (Robert Collins) | 1676 | assuming the host name is ascii. |
3221 | 1615 | 1677 | (Mark Hammond, John Arbash Meinel, #256550) | |
3222 | 1616 | DOCUMENTATION: | 1678 | |
3223 | 1617 | 1679 | * ``WorkingTree4`` trees will now correctly report missing-and-new | |
3224 | 1618 | * Updated developer documentation. (Martin Pool) | 1680 | paths in the output of ``iter_changes``. (Robert Collins) |
3225 | 1619 | 1681 | ||
3226 | 1620 | API CHANGES: | 1682 | Documentation |
3227 | 1621 | 1683 | ************* | |
3228 | 1622 | * Exporters now take 4 parameters. (Robert Collins) | 1684 | |
3229 | 1623 | 1685 | * Updated developer documentation. (Martin Pool) | |
3230 | 1624 | * ``Tree.iter_changes`` will now return False for the content change | 1686 | |
3231 | 1625 | field when a file is missing in the basis tree and not present in | 1687 | API Changes |
3232 | 1626 | the target tree. Previously it returned True unconditionally. | 1688 | *********** |
3233 | 1627 | (Robert Collins) | 1689 | |
3234 | 1628 | 1690 | * Exporters now take 4 parameters. (Robert Collins) | |
3235 | 1629 | * The deprecated ``Branch.abspath`` and unimplemented | 1691 | |
3236 | 1630 | ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij) | 1692 | * ``Tree.iter_changes`` will now return False for the content change |
3237 | 1631 | 1693 | field when a file is missing in the basis tree and not present in | |
3238 | 1632 | * BzrDir.clone_on_transport implementations must now accept a stacked_on | 1694 | the target tree. Previously it returned True unconditionally. |
3239 | 1633 | parameter. (Aaron Bentley) | 1695 | (Robert Collins) |
3240 | 1634 | 1696 | ||
3241 | 1635 | * BzrDir.cloning_metadir implementations must now take a require_stacking | 1697 | * The deprecated ``Branch.abspath`` and unimplemented |
3242 | 1636 | parameter. (Aaron Bentley) | 1698 | ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij) |
3243 | 1637 | 1699 | ||
3244 | 1638 | TESTING: | 1700 | * BzrDir.clone_on_transport implementations must now accept a stacked_on |
3245 | 1639 | 1701 | parameter. (Aaron Bentley) | |
3246 | 1640 | * ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments`` | 1702 | |
3247 | 1641 | which are then passed to the cleanup callable as it is run. In | 1703 | * BzrDir.cloning_metadir implementations must now take a require_stacking |
3248 | 1642 | addition, addCleanup no longer requires that the callables passed to | 1704 | parameter. (Aaron Bentley) |
3249 | 1643 | it be unique. (Jonathan Lange) | 1705 | |
3250 | 1644 | 1706 | Testing | |
3251 | 1645 | * Fix some tests that fail on Windows because files are deleted while | 1707 | ******* |
3252 | 1646 | still in use. | 1708 | |
3253 | 1647 | (Mark Hammond) | 1709 | * ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments`` |
3254 | 1648 | 1710 | which are then passed to the cleanup callable as it is run. In | |
3255 | 1649 | * ``selftest``'s ``--starting-with`` option can now use predefined | 1711 | addition, addCleanup no longer requires that the callables passed to |
3256 | 1650 | prefixes so that one can say ``bzr selftest -s bp.loom`` instead of | 1712 | it be unique. (Jonathan Lange) |
3257 | 1651 | ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil) | 1713 | |
3258 | 1652 | 1714 | * Fix some tests that fail on Windows because files are deleted while | |
3259 | 1653 | * ``selftest``'s ``--starting-with`` option now accepts multiple values. | 1715 | still in use. |
3260 | 1654 | (Vincent Ladeuil) | 1716 | (Mark Hammond) |
3261 | 1655 | 1717 | ||
3262 | 1656 | INTERNALS: | 1718 | * ``selftest``'s ``--starting-with`` option can now use predefined |
3263 | 1657 | 1719 | prefixes so that one can say ``bzr selftest -s bp.loom`` instead of | |
3264 | 1658 | * A new plugin interface, ``bzrlib.log.log_adapters``, has been added. | 1720 | ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil) |
3265 | 1659 | This allows dynamic log output filtering by plugins. | 1721 | |
3266 | 1660 | (Robert Collins) | 1722 | * ``selftest``'s ``--starting-with`` option now accepts multiple values. |
3267 | 1661 | 1723 | (Vincent Ladeuil) | |
3268 | 1662 | * ``bzrlib.btree_index`` is now available, providing a b-tree index | 1724 | |
3269 | 1663 | layer. The design is memory conservative (limited memory cache), | 1725 | Internals |
3270 | 1664 | faster to seek (approx 100 nodes per page, gives 100-way fan out), | 1726 | ********* |
3271 | 1665 | and stores compressed pages allowing more keys per page. | 1727 | |
3272 | 1666 | (Robert Collins, John Arbash Meinel) | 1728 | * A new plugin interface, ``bzrlib.log.log_adapters``, has been added. |
3273 | 1667 | 1729 | This allows dynamic log output filtering by plugins. | |
3274 | 1668 | * ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind | 1730 | (Robert Collins) |
3275 | 1669 | is unknown in both source and target. | 1731 | |
3276 | 1670 | (Robert Collins, Aaron Bentley) | 1732 | * ``bzrlib.btree_index`` is now available, providing a b-tree index |
3277 | 1671 | 1733 | layer. The design is memory conservative (limited memory cache), | |
3278 | 1672 | * ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been | 1734 | faster to seek (approx 100 nodes per page, gives 100-way fan out), |
3279 | 1673 | streamlined a bit. This should make creating large indexes faster. | 1735 | and stores compressed pages allowing more keys per page. |
3280 | 1674 | (In benchmarking, it now takes less time to create a BTree index than | 1736 | (Robert Collins, John Arbash Meinel) |
3281 | 1675 | it takes to read the GraphIndex one.) (John Arbash Meinel) | 1737 | |
3282 | 1676 | 1738 | * ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind | |
3283 | 1677 | * Mail clients for `bzr send` are now listed in a registry. This | 1739 | is unknown in both source and target. |
3284 | 1678 | allows plugins to add new clients by registering them with | 1740 | (Robert Collins, Aaron Bentley) |
3285 | 1679 | ``bzrlib.mail_client.mail_client_registry``. All of the built-in | 1741 | |
3286 | 1680 | clients now use this mechanism. (Neil Martinsen-Burrell) | 1742 | * ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been |
3287 | 1743 | streamlined a bit. This should make creating large indexes faster. | ||
3288 | 1744 | (In benchmarking, it now takes less time to create a BTree index than | ||
3289 | 1745 | it takes to read the GraphIndex one.) (John Arbash Meinel) | ||
3290 | 1746 | |||
3291 | 1747 | * Mail clients for `bzr send` are now listed in a registry. This | ||
3292 | 1748 | allows plugins to add new clients by registering them with | ||
3293 | 1749 | ``bzrlib.mail_client.mail_client_registry``. All of the built-in | ||
3294 | 1750 | clients now use this mechanism. (Neil Martinsen-Burrell) | ||
3295 | 1681 | 1751 | ||
3296 | 1682 | 1752 | ||
3297 | 1683 | bzr 1.6.1 2008-09-05 | 1753 | bzr 1.6.1 2008-09-05 |
3299 | 1684 | -------------------- | 1754 | #################### |
3300 | 1685 | 1755 | ||
3301 | 1686 | A couple regressions were found in the 1.6 release. There was a | 1756 | A couple regressions were found in the 1.6 release. There was a |
3302 | 1687 | performance issue when using ``bzr+ssh`` to branch large repositories, | 1757 | performance issue when using ``bzr+ssh`` to branch large repositories, |
3303 | @@ -1689,18 +1759,19 @@ | |||
3304 | 1689 | 1759 | ||
3305 | 1690 | 1760 | ||
3306 | 1691 | bzr 1.6.1rc2 2008-09-03 | 1761 | bzr 1.6.1rc2 2008-09-03 |
3315 | 1692 | ----------------------- | 1762 | ####################### |
3316 | 1693 | 1763 | ||
3317 | 1694 | BUG FIXES: | 1764 | Bug Fixes |
3318 | 1695 | 1765 | ********* | |
3319 | 1696 | * Copying between ``rich-root`` and ``rich-root-pack`` (and vice | 1766 | |
3320 | 1697 | versa) was accidentally using the inter-model fetcher, instead of | 1767 | * Copying between ``rich-root`` and ``rich-root-pack`` (and vice |
3321 | 1698 | recognizing that both were 'rich root' formats. | 1768 | versa) was accidentally using the inter-model fetcher, instead of |
3322 | 1699 | (John Arbash Meinel, #264321) | 1769 | recognizing that both were 'rich root' formats. |
3323 | 1770 | (John Arbash Meinel, #264321) | ||
3324 | 1700 | 1771 | ||
3325 | 1701 | 1772 | ||
3326 | 1702 | bzr 1.6.1rc1 2008-08-29 | 1773 | bzr 1.6.1rc1 2008-08-29 |
3328 | 1703 | ----------------------- | 1774 | ####################### |
3329 | 1704 | 1775 | ||
3330 | 1705 | This release fixes a few regressions found in the 1.6 client. Fetching | 1776 | This release fixes a few regressions found in the 1.6 client. Fetching |
3331 | 1706 | changes was using an O(N^2) buffering algorithm, so for large projects it | 1777 | changes was using an O(N^2) buffering algorithm, so for large projects it |
3332 | @@ -1715,32 +1786,33 @@ | |||
3333 | 1715 | I should also clarify that none of this is data loss level issues, but | 1786 | I should also clarify that none of this is data loss level issues, but |
3334 | 1716 | still sufficient enough to warrant an updated release. | 1787 | still sufficient enough to warrant an updated release. |
3335 | 1717 | 1788 | ||
3358 | 1718 | BUG FIXES: | 1789 | Bug Fixes |
3359 | 1719 | 1790 | ********* | |
3360 | 1720 | * ``RemoteTransport.readv()`` was being inefficient about how it | 1791 | |
3361 | 1721 | buffered the readv data and processed it. It would keep appending to | 1792 | * ``RemoteTransport.readv()`` was being inefficient about how it |
3362 | 1722 | the same string (causing many copies) and then pop bytes out of the | 1793 | buffered the readv data and processed it. It would keep appending to |
3363 | 1723 | start of the string (causing more copies). | 1794 | the same string (causing many copies) and then pop bytes out of the |
3364 | 1724 | With this patch "bzr+ssh://local" can improve dramatically, | 1795 | start of the string (causing more copies). |
3365 | 1725 | especially for projects with large files. | 1796 | With this patch "bzr+ssh://local" can improve dramatically, |
3366 | 1726 | (John Arbash Meinel) | 1797 | especially for projects with large files. |
3367 | 1727 | 1798 | (John Arbash Meinel) | |
3368 | 1728 | * Revision texts were always meant to be stored as fulltexts. There | 1799 | |
3369 | 1729 | was a bug in a bzr.dev version that would accidentally create deltas | 1800 | * Revision texts were always meant to be stored as fulltexts. There |
3370 | 1730 | when copying from a Pack repo to a Knit repo. This has been fixed, | 1801 | was a bug in a bzr.dev version that would accidentally create deltas |
3371 | 1731 | but to support those repositories, we know always request full texts | 1802 | when copying from a Pack repo to a Knit repo. This has been fixed, |
3372 | 1732 | for Revision texts. (John Arbash Meinel, #261339) | 1803 | but to support those repositories, we know always request full texts |
3373 | 1733 | 1804 | for Revision texts. (John Arbash Meinel, #261339) | |
3374 | 1734 | * The previous ``--1.6-rich-root`` format used an incorrect xml | 1805 | |
3375 | 1735 | serializer, which would accidentally support fetching from a | 1806 | * The previous ``--1.6-rich-root`` format used an incorrect xml |
3376 | 1736 | repository that supported subtrees, even though the local one would | 1807 | serializer, which would accidentally support fetching from a |
3377 | 1737 | not. We deprecated that format, and introduced a new one that uses | 1808 | repository that supported subtrees, even though the local one would |
3378 | 1738 | the correct serializer ``--1.6.1-rich-root``. | 1809 | not. We deprecated that format, and introduced a new one that uses |
3379 | 1739 | (John Arbash Meinel, #262333) | 1810 | the correct serializer ``--1.6.1-rich-root``. |
3380 | 1811 | (John Arbash Meinel, #262333) | ||
3381 | 1740 | 1812 | ||
3382 | 1741 | 1813 | ||
3383 | 1742 | bzr 1.6 2008-08-25 | 1814 | bzr 1.6 2008-08-25 |
3385 | 1743 | ------------------ | 1815 | ################## |
3386 | 1744 | 1816 | ||
3387 | 1745 | Finally, the long awaited bzr 1.6 has been released. This release includes | 1817 | Finally, the long awaited bzr 1.6 has been released. This release includes |
3388 | 1746 | new features like Stacked Branches, improved weave merge, and an updated | 1818 | new features like Stacked Branches, improved weave merge, and an updated |
3389 | @@ -1754,98 +1826,104 @@ | |||
3390 | 1754 | 1826 | ||
3391 | 1755 | 1827 | ||
3392 | 1756 | bzr 1.6rc5 2008-08-19 | 1828 | bzr 1.6rc5 2008-08-19 |
3402 | 1757 | --------------------- | 1829 | ##################### |
3403 | 1758 | 1830 | ||
3404 | 1759 | BUG FIXES: | 1831 | Bug Fixes |
3405 | 1760 | 1832 | ********* | |
3406 | 1761 | * Disable automatic detection of stacking based on a containing | 1833 | |
3407 | 1762 | directory of the target. It interacted badly with push, and needs a | 1834 | * Disable automatic detection of stacking based on a containing |
3408 | 1763 | bit more work to get the edges polished before it should happen | 1835 | directory of the target. It interacted badly with push, and needs a |
3409 | 1764 | automatically. (John Arbash Meinel, #259275) | 1836 | bit more work to get the edges polished before it should happen |
3410 | 1765 | (This change was reverted when merged to bzr.dev) | 1837 | automatically. (John Arbash Meinel, #259275) |
3411 | 1838 | (This change was reverted when merged to bzr.dev) | ||
3412 | 1766 | 1839 | ||
3413 | 1767 | 1840 | ||
3414 | 1768 | bzr 1.6rc4 2008-08-18 | 1841 | bzr 1.6rc4 2008-08-18 |
3422 | 1769 | --------------------- | 1842 | ##################### |
3423 | 1770 | 1843 | ||
3424 | 1771 | BUG FIXES: | 1844 | Bug Fixes |
3425 | 1772 | 1845 | ********* | |
3426 | 1773 | * Fix a regression in knit => pack fetching. We had a logic | 1846 | |
3427 | 1774 | inversion, causing the fetch to insert fulltexts in random order, | 1847 | * Fix a regression in knit => pack fetching. We had a logic |
3428 | 1775 | rather than preserving deltas. (John Arbash Meinel, #256757) | 1848 | inversion, causing the fetch to insert fulltexts in random order, |
3429 | 1849 | rather than preserving deltas. (John Arbash Meinel, #256757) | ||
3430 | 1776 | 1850 | ||
3431 | 1777 | 1851 | ||
3432 | 1778 | bzr 1.6rc3 2008-08-14 | 1852 | bzr 1.6rc3 2008-08-14 |
3461 | 1779 | --------------------- | 1853 | ##################### |
3462 | 1780 | 1854 | ||
3463 | 1781 | CHANGES: | 1855 | Changes |
3464 | 1782 | 1856 | ******* | |
3465 | 1783 | * Disable reading ``.bzrrules`` as a per-branch rule preferences | 1857 | |
3466 | 1784 | file. The feature was not quite ready for a full release. | 1858 | * Disable reading ``.bzrrules`` as a per-branch rule preferences |
3467 | 1785 | (Robert Collins) | 1859 | file. The feature was not quite ready for a full release. |
3468 | 1786 | 1860 | (Robert Collins) | |
3469 | 1787 | IMPROVEMENTS: | 1861 | |
3470 | 1788 | 1862 | Improvements | |
3471 | 1789 | * Update the windows installer to bundle TortoiseBzr and ``qbzr`` | 1863 | ************ |
3472 | 1790 | into the standalone installer. This will be the first official | 1864 | |
3473 | 1791 | windows release that installs Tortoise by default. | 1865 | * Update the windows installer to bundle TortoiseBzr and ``qbzr`` |
3474 | 1792 | (Mark Hammond) | 1866 | into the standalone installer. This will be the first official |
3475 | 1793 | 1867 | windows release that installs Tortoise by default. | |
3476 | 1794 | BUG FIXES: | 1868 | (Mark Hammond) |
3477 | 1795 | 1869 | ||
3478 | 1796 | * Fix a regression in ``bzr+http`` support. There was a missing | 1870 | Bug Fixes |
3479 | 1797 | function (``_read_line``) that needed to be carried over from | 1871 | ********* |
3480 | 1798 | ``bzr+ssh`` support. (Andrew Bennetts) | 1872 | |
3481 | 1799 | 1873 | * Fix a regression in ``bzr+http`` support. There was a missing | |
3482 | 1800 | * ``GraphIndex`` objects will internally read an entire index if more | 1874 | function (``_read_line``) that needed to be carried over from |
3483 | 1801 | than 1/20th of their keyspace is requested in a single operation. | 1875 | ``bzr+ssh`` support. (Andrew Bennetts) |
3484 | 1802 | This largely mitigates a performance regression in ``bzr log FILE`` | 1876 | |
3485 | 1803 | and completely corrects the performance regression in ``bzr log``. | 1877 | * ``GraphIndex`` objects will internally read an entire index if more |
3486 | 1804 | The regression was caused by removing an accomodation which had been | 1878 | than 1/20th of their keyspace is requested in a single operation. |
3487 | 1805 | supporting the index format in use. A newer index format is in | 1879 | This largely mitigates a performance regression in ``bzr log FILE`` |
3488 | 1806 | development which is substantially faster. (Robert Collins) | 1880 | and completely corrects the performance regression in ``bzr log``. |
3489 | 1881 | The regression was caused by removing an accomodation which had been | ||
3490 | 1882 | supporting the index format in use. A newer index format is in | ||
3491 | 1883 | development which is substantially faster. (Robert Collins) | ||
3492 | 1807 | 1884 | ||
3493 | 1808 | 1885 | ||
3494 | 1809 | bzr 1.6rc2 2008-08-13 | 1886 | bzr 1.6rc2 2008-08-13 |
3496 | 1810 | --------------------- | 1887 | ##################### |
3497 | 1811 | 1888 | ||
3498 | 1812 | This release candidate has a few minor bug fixes, and some regression | 1889 | This release candidate has a few minor bug fixes, and some regression |
3499 | 1813 | fixes for Windows. | 1890 | fixes for Windows. |
3500 | 1814 | 1891 | ||
3531 | 1815 | BUG FIXES: | 1892 | Bug Fixes |
3532 | 1816 | 1893 | ********* | |
3533 | 1817 | * ``bzr upgrade`` on remote branches accessed via bzr:// and | 1894 | |
3534 | 1818 | bzr+ssh:// now works. (Andrew Bennetts) | 1895 | * ``bzr upgrade`` on remote branches accessed via bzr:// and |
3535 | 1819 | 1896 | bzr+ssh:// now works. (Andrew Bennetts) | |
3536 | 1820 | * Change the ``get_format_description()`` strings for | 1897 | |
3537 | 1821 | ``RepositoryFormatKnitPack5`` et al to be single line messages. | 1898 | * Change the ``get_format_description()`` strings for |
3538 | 1822 | (Aaron Bentley) | 1899 | ``RepositoryFormatKnitPack5`` et al to be single line messages. |
3539 | 1823 | 1900 | (Aaron Bentley) | |
3540 | 1824 | * Fix for a regression on Win32 where we would try to call | 1901 | |
3541 | 1825 | ``os.listdir()`` on a file and not catch the exception properly. | 1902 | * Fix for a regression on Win32 where we would try to call |
3542 | 1826 | (Windows raises a different exception.) This would manifest in | 1903 | ``os.listdir()`` on a file and not catch the exception properly. |
3543 | 1827 | places like ``bzr rm file`` or ``bzr switch``. | 1904 | (Windows raises a different exception.) This would manifest in |
3544 | 1828 | (Mark Hammond, John Arbash Meinel) | 1905 | places like ``bzr rm file`` or ``bzr switch``. |
3545 | 1829 | 1906 | (Mark Hammond, John Arbash Meinel) | |
3546 | 1830 | * ``Inventory.copy()`` was failing to set the revision property for | 1907 | |
3547 | 1831 | the root entry. (Jelmer Vernooij) | 1908 | * ``Inventory.copy()`` was failing to set the revision property for |
3548 | 1832 | 1909 | the root entry. (Jelmer Vernooij) | |
3549 | 1833 | * sftp transport: added missing ``FileExists`` case to | 1910 | |
3550 | 1834 | ``_translate_io_exception`` (Christophe Troestler, #123475) | 1911 | * sftp transport: added missing ``FileExists`` case to |
3551 | 1835 | 1912 | ``_translate_io_exception`` (Christophe Troestler, #123475) | |
3552 | 1836 | * The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for | 1913 | |
3553 | 1837 | scripting use. (Robert Collins, #3834) | 1914 | * The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for |
3554 | 1838 | 1915 | scripting use. (Robert Collins, #3834) | |
3555 | 1839 | * The default ``annotate`` logic will now always assign the | 1916 | |
3556 | 1840 | last-modified value of a line to one of the revisions that modified | 1917 | * The default ``annotate`` logic will now always assign the |
3557 | 1841 | it, rather than a merge revision. This would happen when both sides | 1918 | last-modified value of a line to one of the revisions that modified |
3558 | 1842 | claimed to have modified the line resulting in the same text. The | 1919 | it, rather than a merge revision. This would happen when both sides |
3559 | 1843 | choice is arbitrary but stable, so merges in different directions | 1920 | claimed to have modified the line resulting in the same text. The |
3560 | 1844 | will get the same results. (John Arbash Meinel, #232188) | 1921 | choice is arbitrary but stable, so merges in different directions |
3561 | 1922 | will get the same results. (John Arbash Meinel, #232188) | ||
3562 | 1845 | 1923 | ||
3563 | 1846 | 1924 | ||
3564 | 1847 | bzr 1.6rc1 2008-08-06 | 1925 | bzr 1.6rc1 2008-08-06 |
3566 | 1848 | --------------------- | 1926 | ##################### |
3567 | 1849 | 1927 | ||
3568 | 1850 | This release candidate for bzr 1.6 solidifies the new branch stacking | 1928 | This release candidate for bzr 1.6 solidifies the new branch stacking |
3569 | 1851 | feature. Bazaar now recommends that users upgrade all knit repositories, | 1929 | feature. Bazaar now recommends that users upgrade all knit repositories, |
3570 | @@ -1853,131 +1931,136 @@ | |||
3571 | 1853 | upgrade support for knit repostories for the forseeable future. Several | 1931 | upgrade support for knit repostories for the forseeable future. Several |
3572 | 1854 | other bugs and performance issues were fixed. | 1932 | other bugs and performance issues were fixed. |
3573 | 1855 | 1933 | ||
3695 | 1856 | CHANGES: | 1934 | Changes |
3696 | 1857 | 1935 | ******* | |
3697 | 1858 | * Knit format repositories are deprecated and bzr will now emit | 1936 | |
3698 | 1859 | warnings whenever it encounters one. Use ``bzr upgrade`` to upgrade | 1937 | * Knit format repositories are deprecated and bzr will now emit |
3699 | 1860 | knit repositories to pack format. (Andrew Bennetts) | 1938 | warnings whenever it encounters one. Use ``bzr upgrade`` to upgrade |
3700 | 1861 | 1939 | knit repositories to pack format. (Andrew Bennetts) | |
3701 | 1862 | IMPROVEMENTS: | 1940 | |
3702 | 1863 | 1941 | Improvements | |
3703 | 1864 | * ``bzr check`` can now be told which elements at a location it should | 1942 | ************ |
3704 | 1865 | check. (Daniel Watkins) | 1943 | |
3705 | 1866 | 1944 | * ``bzr check`` can now be told which elements at a location it should | |
3706 | 1867 | * Commit now supports ``--exclude`` (or ``-x``) to exclude some files | 1945 | check. (Daniel Watkins) |
3707 | 1868 | from the commit. (Robert Collins, #3117) | 1946 | |
3708 | 1869 | 1947 | * Commit now supports ``--exclude`` (or ``-x``) to exclude some files | |
3709 | 1870 | * Fetching data between repositories that have the same model but no | 1948 | from the commit. (Robert Collins, #3117) |
3710 | 1871 | optimised fetcher will not reserialise all the revisions, increasing | 1949 | |
3711 | 1872 | performance. (Robert Collins, John Arbash Meinel) | 1950 | * Fetching data between repositories that have the same model but no |
3712 | 1873 | 1951 | optimised fetcher will not reserialise all the revisions, increasing | |
3713 | 1874 | * Give a more specific error when target branch is not reachable. | 1952 | performance. (Robert Collins, John Arbash Meinel) |
3714 | 1875 | (James Westby) | 1953 | |
3715 | 1876 | 1954 | * Give a more specific error when target branch is not reachable. | |
3716 | 1877 | * Implemented a custom ``walkdirs_utf8`` implementation for win32. | 1955 | (James Westby) |
3717 | 1878 | This uses a pyrex extension to get direct access to the | 1956 | |
3718 | 1879 | ``FindFirstFileW`` style apis, rather than using ``listdir`` + | 1957 | * Implemented a custom ``walkdirs_utf8`` implementation for win32. |
3719 | 1880 | ``lstat``. Shows a very strong improvement in commands like | 1958 | This uses a pyrex extension to get direct access to the |
3720 | 1881 | ``status`` and ``diff`` which have to iterate the working tree. | 1959 | ``FindFirstFileW`` style apis, rather than using ``listdir`` + |
3721 | 1882 | Anywhere from 2x-6x faster depending on the size of the tree (bigger | 1960 | ``lstat``. Shows a very strong improvement in commands like |
3722 | 1883 | trees, bigger benefit.) (John Arbash Meinel) | 1961 | ``status`` and ``diff`` which have to iterate the working tree. |
3723 | 1884 | 1962 | Anywhere from 2x-6x faster depending on the size of the tree (bigger | |
3724 | 1885 | * New registry for log properties handles and the method in | 1963 | trees, bigger benefit.) (John Arbash Meinel) |
3725 | 1886 | LongLogFormatter to display the custom properties returned by the | 1964 | |
3726 | 1887 | registered handlers. (Guillermo Gonzalez, #162469) | 1965 | * New registry for log properties handles and the method in |
3727 | 1888 | 1966 | LongLogFormatter to display the custom properties returned by the | |
3728 | 1889 | BUG FIXES: | 1967 | registered handlers. (Guillermo Gonzalez, #162469) |
3729 | 1890 | 1968 | ||
3730 | 1891 | * Add more tests that stacking does not create deltas spanning | 1969 | Bug Fixes |
3731 | 1892 | physical repository boundaries. | 1970 | ********* |
3732 | 1893 | (Martin Pool, #252428) | 1971 | |
3733 | 1894 | 1972 | * Add more tests that stacking does not create deltas spanning | |
3734 | 1895 | * Better message about incompatible repositories. | 1973 | physical repository boundaries. |
3735 | 1896 | (Martin Pool, #206258) | 1974 | (Martin Pool, #252428) |
3736 | 1897 | 1975 | ||
3737 | 1898 | * ``bzr branch --stacked`` ensures the destination branch format can | 1976 | * Better message about incompatible repositories. |
3738 | 1899 | support stacking, even if the origin does not. | 1977 | (Martin Pool, #206258) |
3739 | 1900 | (Martin Pool) | 1978 | |
3740 | 1901 | 1979 | * ``bzr branch --stacked`` ensures the destination branch format can | |
3741 | 1902 | * ``bzr export`` no longer exports ``.bzrrules``. | 1980 | support stacking, even if the origin does not. |
3742 | 1903 | (Ian Clatworthy) | 1981 | (Martin Pool) |
3743 | 1904 | 1982 | ||
3744 | 1905 | * ``bzr serve --directory=/`` now correctly allows the whole | 1983 | * ``bzr export`` no longer exports ``.bzrrules``. |
3745 | 1906 | filesystem to be accessed on Windows, not just the root of the drive | 1984 | (Ian Clatworthy) |
3746 | 1907 | that Python is running from. | 1985 | |
3747 | 1908 | (Adrian Wilkins, #240910) | 1986 | * ``bzr serve --directory=/`` now correctly allows the whole |
3748 | 1909 | 1987 | filesystem to be accessed on Windows, not just the root of the drive | |
3749 | 1910 | * Deleting directories by hand before running ``bzr rm`` will not | 1988 | that Python is running from. |
3750 | 1911 | cause subsequent errors in ``bzr st`` and ``bzr commit``. | 1989 | (Adrian Wilkins, #240910) |
3751 | 1912 | (Robert Collins, #150438) | 1990 | |
3752 | 1913 | 1991 | * Deleting directories by hand before running ``bzr rm`` will not | |
3753 | 1914 | * Fix a test case that was failing if encoding wasn't UTF-8. | 1992 | cause subsequent errors in ``bzr st`` and ``bzr commit``. |
3754 | 1915 | (John Arbash Meinel, #247585) | 1993 | (Robert Collins, #150438) |
3755 | 1916 | 1994 | ||
3756 | 1917 | * Fix "no buffer space available" error when branching with the new | 1995 | * Fix a test case that was failing if encoding wasn't UTF-8. |
3757 | 1918 | smart server protocol to or from Windows. | 1996 | (John Arbash Meinel, #247585) |
3758 | 1919 | (Andrew Bennetts, #246180) | 1997 | |
3759 | 1920 | 1998 | * Fix "no buffer space available" error when branching with the new | |
3760 | 1921 | * Fixed problem in branching from smart server. | 1999 | smart server protocol to or from Windows. |
3761 | 1922 | (#249256, Michael Hudson, Martin Pool) | 2000 | (Andrew Bennetts, #246180) |
3762 | 1923 | 2001 | ||
3763 | 1924 | * Handle a file turning in to a directory in TreeTransform. | 2002 | * Fixed problem in branching from smart server. |
3764 | 1925 | (James Westby, #248448) | 2003 | (#249256, Michael Hudson, Martin Pool) |
3765 | 1926 | 2004 | ||
3766 | 1927 | API CHANGES: | 2005 | * Handle a file turning in to a directory in TreeTransform. |
3767 | 1928 | 2006 | (James Westby, #248448) | |
3768 | 1929 | * ``MutableTree.commit`` has an extra optional keywork parameter | 2007 | |
3769 | 1930 | ``exclude`` that will be unconditionally supplied by the command | 2008 | API Changes |
3770 | 1931 | line UI - plugins that add tree formats may need an update. | 2009 | *********** |
3771 | 1932 | (Robert Collins) | 2010 | |
3772 | 1933 | 2011 | * ``MutableTree.commit`` has an extra optional keywork parameter | |
3773 | 1934 | * The API minimum version for plugin compatibility has been raised to | 2012 | ``exclude`` that will be unconditionally supplied by the command |
3774 | 1935 | 1.6 - there are significant changes throughout the code base. | 2013 | line UI - plugins that add tree formats may need an update. |
3775 | 1936 | (Robert Collins) | 2014 | (Robert Collins) |
3776 | 1937 | 2015 | ||
3777 | 1938 | * The generic fetch code now uses three attributes on Repository objects | 2016 | * The API minimum version for plugin compatibility has been raised to |
3778 | 1939 | to control fetch. The streams requested are controlled via : | 2017 | 1.6 - there are significant changes throughout the code base. |
3779 | 1940 | ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these | 2018 | (Robert Collins) |
3780 | 1941 | appropriately allows different repository implementations to recieve | 2019 | |
3781 | 1942 | data in their optimial form. If the ``_fetch_reconcile`` is set then | 2020 | * The generic fetch code now uses three attributes on Repository objects |
3782 | 1943 | a reconcile operation is triggered at the end of the fetch. | 2021 | to control fetch. The streams requested are controlled via : |
3783 | 1944 | (Robert Collins) | 2022 | ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these |
3784 | 1945 | 2023 | appropriately allows different repository implementations to recieve | |
3785 | 1946 | * The ``put_on_disk`` and ``get_tar_item`` methods in | 2024 | data in their optimial form. If the ``_fetch_reconcile`` is set then |
3786 | 1947 | ``InventoryEntry`` were deprecated. (Ian Clatworthy) | 2025 | a reconcile operation is triggered at the end of the fetch. |
3787 | 1948 | 2026 | (Robert Collins) | |
3788 | 1949 | * ``Repository.is_shared`` doesn't take a read lock. It didn't | 2027 | |
3789 | 1950 | need one in the first place (nobody cached the value, and | 2028 | * The ``put_on_disk`` and ``get_tar_item`` methods in |
3790 | 1951 | ``RemoteRepository`` wasn't taking one either). This saves a round | 2029 | ``InventoryEntry`` were deprecated. (Ian Clatworthy) |
3791 | 1952 | trip when probing Pack repositories, as they read the ``pack-names`` | 2030 | |
3792 | 1953 | file when locked. And during probe, locking the repo isn't very | 2031 | * ``Repository.is_shared`` doesn't take a read lock. It didn't |
3793 | 1954 | useful. (John Arbash Meinel) | 2032 | need one in the first place (nobody cached the value, and |
3794 | 1955 | 2033 | ``RemoteRepository`` wasn't taking one either). This saves a round | |
3795 | 1956 | INTERNALS: | 2034 | trip when probing Pack repositories, as they read the ``pack-names`` |
3796 | 1957 | 2035 | file when locked. And during probe, locking the repo isn't very | |
3797 | 1958 | * ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of | 2036 | useful. (John Arbash Meinel) |
3798 | 1959 | putting together a real history without having to create a full | 2037 | |
3799 | 1960 | WorkingTree. It is recommended that tests that are not directly | 2038 | Internals |
3800 | 1961 | testing the WorkingTree use BranchBuilder instead. See | 2039 | ********* |
3801 | 1962 | ``BranchBuilder.build_snapshot`` or | 2040 | |
3802 | 1963 | ``TestCaseWithMemoryTree.make_branch_builder``. (John Arbash Meinel) | 2041 | * ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of |
3803 | 1964 | 2042 | putting together a real history without having to create a full | |
3804 | 1965 | * ``bzrlib.builtins.internal_tree_files`` broken into two giving a new | 2043 | WorkingTree. It is recommended that tests that are not directly |
3805 | 1966 | helper ``safe_relpath_files`` - used by the new ``exclude`` | 2044 | testing the WorkingTree use BranchBuilder instead. See |
3806 | 1967 | parameter to commit. (Robert Collins) | 2045 | ``BranchBuilder.build_snapshot`` or |
3807 | 1968 | 2046 | ``TestCaseWithMemoryTree.make_branch_builder``. (John Arbash Meinel) | |
3808 | 1969 | * Make it easier to introduce new WorkingTree formats. | 2047 | |
3809 | 1970 | (Ian Clatworthy) | 2048 | * ``bzrlib.builtins.internal_tree_files`` broken into two giving a new |
3810 | 1971 | 2049 | helper ``safe_relpath_files`` - used by the new ``exclude`` | |
3811 | 1972 | * The code for exporting trees was refactored not to use the | 2050 | parameter to commit. (Robert Collins) |
3812 | 1973 | deprecated ``InventoryEntry`` methods. (Ian Clatworthy) | 2051 | |
3813 | 1974 | 2052 | * Make it easier to introduce new WorkingTree formats. | |
3814 | 1975 | * RuleSearchers return () instead of [] now when there are no matches. | 2053 | (Ian Clatworthy) |
3815 | 1976 | (Ian Clatworthy) | 2054 | |
3816 | 2055 | * The code for exporting trees was refactored not to use the | ||
3817 | 2056 | deprecated ``InventoryEntry`` methods. (Ian Clatworthy) | ||
3818 | 2057 | |||
3819 | 2058 | * RuleSearchers return () instead of [] now when there are no matches. | ||
3820 | 2059 | (Ian Clatworthy) | ||
3821 | 1977 | 2060 | ||
3822 | 1978 | 2061 | ||
3823 | 1979 | bzr 1.6beta3 2008-07-17 | 2062 | bzr 1.6beta3 2008-07-17 |
3825 | 1980 | ----------------------- | 2063 | ####################### |
3826 | 1981 | 2064 | ||
3827 | 1982 | This release adds a new 'stacked branches' feature allowing branches to | 2065 | This release adds a new 'stacked branches' feature allowing branches to |
3828 | 1983 | share storage without being in the same repository or on the same machine. | 2066 | share storage without being in the same repository or on the same machine. |
3829 | @@ -1985,244 +2068,257 @@ | |||
3830 | 1985 | weaves, aliases for related locations, faster bzr+ssh push, and several | 2068 | weaves, aliases for related locations, faster bzr+ssh push, and several |
3831 | 1986 | bug fixes. | 2069 | bug fixes. |
3832 | 1987 | 2070 | ||
3988 | 1988 | FEATURES: | 2071 | Features |
3989 | 1989 | 2072 | ******** | |
3990 | 1990 | * New ``pre_change_branch_tip`` hook that is called before the | 2073 | |
3991 | 1991 | branch tip is moved, while the branch is write-locked. See the User | 2074 | * New ``pre_change_branch_tip`` hook that is called before the |
3992 | 1992 | Reference for signature details. (Andrew Bennetts) | 2075 | branch tip is moved, while the branch is write-locked. See the User |
3993 | 1993 | 2076 | Reference for signature details. (Andrew Bennetts) | |
3994 | 1994 | * Rule-based preferences can now be defined for selected files in | 2077 | |
3995 | 1995 | selected branches, allowing commands and plugins to provide | 2078 | * Rule-based preferences can now be defined for selected files in |
3996 | 1996 | custom behaviour for files matching defined patterns. | 2079 | selected branches, allowing commands and plugins to provide |
3997 | 1997 | See ``Rule-based preferences`` (part of ``Configuring Bazaar``) | 2080 | custom behaviour for files matching defined patterns. |
3998 | 1998 | in the User Guide and ``bzr help rules`` for more information. | 2081 | See ``Rule-based preferences`` (part of ``Configuring Bazaar``) |
3999 | 1999 | (Ian Clatworthy) | 2082 | in the User Guide and ``bzr help rules`` for more information. |
4000 | 2000 | 2083 | (Ian Clatworthy) | |
4001 | 2001 | * Sites may suggest a branch to stack new branches on. (Aaron Bentley) | 2084 | |
4002 | 2002 | 2085 | * Sites may suggest a branch to stack new branches on. (Aaron Bentley) | |
4003 | 2003 | * Stacked branches are now supported. See ``bzr help branch`` and | 2086 | |
4004 | 2004 | ``bzr help push``. Branches must be in the ``development1`` format | 2087 | * Stacked branches are now supported. See ``bzr help branch`` and |
4005 | 2005 | to stack, though the stacked-on branch can be of any format. | 2088 | ``bzr help push``. Branches must be in the ``development1`` format |
4006 | 2006 | (Robert Collins) | 2089 | to stack, though the stacked-on branch can be of any format. |
4007 | 2007 | 2090 | (Robert Collins) | |
4008 | 2008 | IMPROVEMENTS: | 2091 | |
4009 | 2009 | 2092 | Improvements | |
4010 | 2010 | * ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball | 2093 | ************ |
4011 | 2011 | to stdout; also ``tar`` and ``tbz2``. | 2094 | |
4012 | 2012 | (Martin Pool) | 2095 | * ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball |
4013 | 2013 | 2096 | to stdout; also ``tar`` and ``tbz2``. | |
4014 | 2014 | * ``bzr (re)merge --weave`` will now use a standard Weave algorithm, | 2097 | (Martin Pool) |
4015 | 2015 | rather than the annotation-based merge it was using. It does so by | 2098 | |
4016 | 2016 | building up a Weave of the important texts, without needing to build | 2099 | * ``bzr (re)merge --weave`` will now use a standard Weave algorithm, |
4017 | 2017 | the full ancestry. (John Arbash Meinel, #238895) | 2100 | rather than the annotation-based merge it was using. It does so by |
4018 | 2018 | 2101 | building up a Weave of the important texts, without needing to build | |
4019 | 2019 | * ``bzr send`` documents and better supports ``emacsclient`` (proper | 2102 | the full ancestry. (John Arbash Meinel, #238895) |
4020 | 2020 | escaping of mail headers and handling of the MUA Mew). | 2103 | |
4021 | 2021 | (Christophe Troestler) | 2104 | * ``bzr send`` documents and better supports ``emacsclient`` (proper |
4022 | 2022 | 2105 | escaping of mail headers and handling of the MUA Mew). | |
4023 | 2023 | * Remembered locations can be specified by aliases, e.g. :parent, :public, | 2106 | (Christophe Troestler) |
4024 | 2024 | :submit. (Aaron Bentley) | 2107 | |
4025 | 2025 | 2108 | * Remembered locations can be specified by aliases, e.g. :parent, :public, | |
4026 | 2026 | * The smart protocol now has improved support for setting branches' | 2109 | :submit. (Aaron Bentley) |
4027 | 2027 | revision info directly. This makes operations like push | 2110 | |
4028 | 2028 | faster. The new request method name is | 2111 | * The smart protocol now has improved support for setting branches' |
4029 | 2029 | ``Branch.set_last_revision_ex``. (Andrew Bennetts) | 2112 | revision info directly. This makes operations like push |
4030 | 2030 | 2113 | faster. The new request method name is | |
4031 | 2031 | BUG FIXES: | 2114 | ``Branch.set_last_revision_ex``. (Andrew Bennetts) |
4032 | 2032 | 2115 | ||
4033 | 2033 | * Bazaar is now able to be a client to the web server of IIS 6 and 7. | 2116 | Bug Fixes |
4034 | 2034 | The broken implementations of RFC822 in Python and RFC2046 in IIS | 2117 | ********* |
4035 | 2035 | combined with boundary-line checking in Bazaar previously made this | 2118 | |
4036 | 2036 | impossible. (NB, IIS 5 does not suffer from this problem). | 2119 | * Bazaar is now able to be a client to the web server of IIS 6 and 7. |
4037 | 2037 | (Adrian Wilkins, #247585) | 2120 | The broken implementations of RFC822 in Python and RFC2046 in IIS |
4038 | 2038 | 2121 | combined with boundary-line checking in Bazaar previously made this | |
4039 | 2039 | * ``bzr log --long`` with a ghost in your mainline now handles that | 2122 | impossible. (NB, IIS 5 does not suffer from this problem). |
4040 | 2040 | ghost properly. (John Arbash Meinel, #243536) | 2123 | (Adrian Wilkins, #247585) |
4041 | 2041 | 2124 | ||
4042 | 2042 | * ``check`` handles the split-up .bzr layout correctly, so no longer | 2125 | * ``bzr log --long`` with a ghost in your mainline now handles that |
4043 | 2043 | requires a branch to be present. | 2126 | ghost properly. (John Arbash Meinel, #243536) |
4044 | 2044 | (Daniel Watkins, #64783) | 2127 | |
4045 | 2045 | 2128 | * ``check`` handles the split-up .bzr layout correctly, so no longer | |
4046 | 2046 | * Clearer message about how to set the PYTHONPATH if bzrlib can't be | 2129 | requires a branch to be present. |
4047 | 2047 | loaded. | 2130 | (Daniel Watkins, #64783) |
4048 | 2048 | (Martin Pool, #205230) | 2131 | |
4049 | 2049 | 2132 | * Clearer message about how to set the PYTHONPATH if bzrlib can't be | |
4050 | 2050 | * Errors about missing libraries are now shown without a traceback, | 2133 | loaded. |
4051 | 2051 | and with a suggestion to install the library. The full traceback is | 2134 | (Martin Pool, #205230) |
4052 | 2052 | still in ``.bzr.log`` and can be shown with ``-Derror``. | 2135 | |
4053 | 2053 | (Martin Pool, #240161) | 2136 | * Errors about missing libraries are now shown without a traceback, |
4054 | 2054 | 2137 | and with a suggestion to install the library. The full traceback is | |
4055 | 2055 | * Fetch from a stacked branch copies all required data. | 2138 | still in ``.bzr.log`` and can be shown with ``-Derror``. |
4056 | 2056 | (Aaron Bentley, #248506) | 2139 | (Martin Pool, #240161) |
4057 | 2057 | 2140 | ||
4058 | 2058 | * Handle urls such as ftp://user@host.com@www.host.com where the user | 2141 | * Fetch from a stacked branch copies all required data. |
4059 | 2059 | name contains an @. | 2142 | (Aaron Bentley, #248506) |
4060 | 2060 | (Neil Martinsen-Burrell, #228058) | 2143 | |
4061 | 2061 | 2144 | * Handle urls such as ftp://user@host.com@www.host.com where the user | |
4062 | 2062 | * ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during | 2145 | name contains an @. |
4063 | 2063 | ``unlock`` if there was an error in the original function. This helps | 2146 | (Neil Martinsen-Burrell, #228058) |
4064 | 2064 | most when there is a failure with a smart server action, since often the | 2147 | |
4065 | 2065 | connection closes and we cannot unlock. | 2148 | * ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during |
4066 | 2066 | (Andrew Bennetts, John Arbash Meinel, #125784) | 2149 | ``unlock`` if there was an error in the original function. This helps |
4067 | 2067 | 2150 | most when there is a failure with a smart server action, since often the | |
4068 | 2068 | * Obsolete hidden command ``bzr fetch`` removed. | 2151 | connection closes and we cannot unlock. |
4069 | 2069 | (Martin Pool, #172870) | 2152 | (Andrew Bennetts, John Arbash Meinel, #125784) |
4070 | 2070 | 2153 | ||
4071 | 2071 | * Raise the correct exception when doing ``-rbefore:0`` or ``-c0``. | 2154 | * Obsolete hidden command ``bzr fetch`` removed. |
4072 | 2072 | (John Arbash Meinel, #239933) | 2155 | (Martin Pool, #172870) |
4073 | 2073 | 2156 | ||
4074 | 2074 | * You can now compare file revisions in Windows diff programs from | 2157 | * Raise the correct exception when doing ``-rbefore:0`` or ``-c0``. |
4075 | 2075 | Cygwin Bazaar. | 2158 | (John Arbash Meinel, #239933) |
4076 | 2076 | (Matt McClure, #209281) | 2159 | |
4077 | 2077 | 2160 | * You can now compare file revisions in Windows diff programs from | |
4078 | 2078 | * revision_history now tolerates mainline ghosts for Branch format 6. | 2161 | Cygwin Bazaar. |
4079 | 2079 | (Aaron Bentley, #235055) | 2162 | (Matt McClure, #209281) |
4080 | 2080 | 2163 | ||
4081 | 2081 | * Set locale from environment for third party libs. | 2164 | * revision_history now tolerates mainline ghosts for Branch format 6. |
4082 | 2082 | (Martin von Gagern, #128496) | 2165 | (Aaron Bentley, #235055) |
4083 | 2083 | 2166 | ||
4084 | 2084 | DOCUMENTATION: | 2167 | * Set locale from environment for third party libs. |
4085 | 2085 | 2168 | (Martin von Gagern, #128496) | |
4086 | 2086 | * Added *Using stacked branches* to the User Guide. | 2169 | |
4087 | 2087 | (Ian Clatworthy) | 2170 | Documentation |
4088 | 2088 | 2171 | ************* | |
4089 | 2089 | * Updated developer documentation. | 2172 | |
4090 | 2090 | (Martin Pool) | 2173 | * Added *Using stacked branches* to the User Guide. |
4091 | 2091 | 2174 | (Ian Clatworthy) | |
4092 | 2092 | TESTING: | 2175 | |
4093 | 2093 | 2176 | * Updated developer documentation. | |
4094 | 2094 | * ``-Dmemory`` will cause /proc/PID/status to be catted before bzr | 2177 | (Martin Pool) |
4095 | 2095 | exits, allowing low-key analysis of peak memory use. (Robert Collins) | 2178 | |
4096 | 2096 | 2179 | Testing | |
4097 | 2097 | * ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return | 2180 | ******* |
4098 | 2098 | a tree with a ``branch`` attribute of the right format. This was | 2181 | |
4099 | 2099 | preventing some ``RemoteBranch`` tests from actually running with | 2182 | * ``-Dmemory`` will cause /proc/PID/status to be catted before bzr |
4100 | 2100 | ``RemoteBranch`` instances. (Andrew Bennetts) | 2183 | exits, allowing low-key analysis of peak memory use. (Robert Collins) |
4101 | 2101 | 2184 | ||
4102 | 2102 | API CHANGES: | 2185 | * ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return |
4103 | 2103 | 2186 | a tree with a ``branch`` attribute of the right format. This was | |
4104 | 2104 | * Removed ``Repository.text_store``, ``control_store``, etc. Instead, | 2187 | preventing some ``RemoteBranch`` tests from actually running with |
4105 | 2105 | there are new attributes ``texts, inventories, revisions, | 2188 | ``RemoteBranch`` instances. (Andrew Bennetts) |
4106 | 2106 | signatures``, each of which is a ``VersionedFiles``. See the | 2189 | |
4107 | 2107 | Repository docstring for more details. | 2190 | API Changes |
4108 | 2108 | (Robert Collins) | 2191 | *********** |
4109 | 2109 | 2192 | ||
4110 | 2110 | * ``Branch.pull`` now accepts an ``_override_hook_target`` optional | 2193 | * Removed ``Repository.text_store``, ``control_store``, etc. Instead, |
4111 | 2111 | parameter. If you have a subclass of ``Branch`` that overrides | 2194 | there are new attributes ``texts, inventories, revisions, |
4112 | 2112 | ``pull`` then you should add this parameter. (Andrew Bennetts) | 2195 | signatures``, each of which is a ``VersionedFiles``. See the |
4113 | 2113 | 2196 | Repository docstring for more details. | |
4114 | 2114 | * ``bzrlib.check.check()`` has been deprecated in favour of the more | 2197 | (Robert Collins) |
4115 | 2115 | aptly-named ``bzrlib.check.check_branch()``. | 2198 | |
4116 | 2116 | (Daniel Watkins) | 2199 | * ``Branch.pull`` now accepts an ``_override_hook_target`` optional |
4117 | 2117 | 2200 | parameter. If you have a subclass of ``Branch`` that overrides | |
4118 | 2118 | * ``Tree.print_file`` and ``Repository.print_file`` are deprecated. | 2201 | ``pull`` then you should add this parameter. (Andrew Bennetts) |
4119 | 2119 | These methods are bad APIs because they write directly to sys.stdout. | 2202 | |
4120 | 2120 | bzrlib does not use them internally, and there are no direct tests | 2203 | * ``bzrlib.check.check()`` has been deprecated in favour of the more |
4121 | 2121 | for them. (Alexander Belchenko) | 2204 | aptly-named ``bzrlib.check.check_branch()``. |
4122 | 2122 | 2205 | (Daniel Watkins) | |
4123 | 2123 | INTERNALS: | 2206 | |
4124 | 2124 | 2207 | * ``Tree.print_file`` and ``Repository.print_file`` are deprecated. | |
4125 | 2125 | * ``cat`` command no longer uses ``Tree.print_file()`` internally. | 2208 | These methods are bad APIs because they write directly to sys.stdout. |
4126 | 2126 | (Alexander Belchenko) | 2209 | bzrlib does not use them internally, and there are no direct tests |
4127 | 2127 | 2210 | for them. (Alexander Belchenko) | |
4128 | 2128 | * New class method ``BzrDir.open_containing_tree_branch_or_repository`` | 2211 | |
4129 | 2129 | which eases the discovery of the tree, the branch and the repository | 2212 | Internals |
4130 | 2130 | containing a given location. | 2213 | ********* |
4131 | 2131 | (Daniel Watkins) | 2214 | |
4132 | 2132 | 2215 | * ``cat`` command no longer uses ``Tree.print_file()`` internally. | |
4133 | 2133 | * New ``versionedfile.KeyMapper`` interface to abstract out the access to | 2216 | (Alexander Belchenko) |
4134 | 2134 | underlying .knit/.kndx etc files in repositories with partitioned | 2217 | |
4135 | 2135 | storage. (Robert Collins) | 2218 | * New class method ``BzrDir.open_containing_tree_branch_or_repository`` |
4136 | 2136 | 2219 | which eases the discovery of the tree, the branch and the repository | |
4137 | 2137 | * Obsolete developer-use command ``weave-join`` has been removed. | 2220 | containing a given location. |
4138 | 2138 | (Robert Collins) | 2221 | (Daniel Watkins) |
4139 | 2139 | 2222 | ||
4140 | 2140 | * ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed, | 2223 | * New ``versionedfile.KeyMapper`` interface to abstract out the access to |
4141 | 2141 | to support new ``VersionedFiles`` layering. | 2224 | underlying .knit/.kndx etc files in repositories with partitioned |
4142 | 2142 | (Robert Collins) | 2225 | storage. (Robert Collins) |
4143 | 2226 | |||
4144 | 2227 | * Obsolete developer-use command ``weave-join`` has been removed. | ||
4145 | 2228 | (Robert Collins) | ||
4146 | 2229 | |||
4147 | 2230 | * ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed, | ||
4148 | 2231 | to support new ``VersionedFiles`` layering. | ||
4149 | 2232 | (Robert Collins) | ||
4150 | 2143 | 2233 | ||
4151 | 2144 | 2234 | ||
4152 | 2145 | bzr 1.6beta2 2008-06-10 | 2235 | bzr 1.6beta2 2008-06-10 |
4154 | 2146 | ----------------------- | 2236 | ####################### |
4155 | 2147 | 2237 | ||
4156 | 2148 | This release contains further progress towards our 1.6 goals of shallow | 2238 | This release contains further progress towards our 1.6 goals of shallow |
4157 | 2149 | repositories, and contains a fix for some user-affecting bugs in the | 2239 | repositories, and contains a fix for some user-affecting bugs in the |
4158 | 2150 | repository layer. Building working trees during checkout and branch is | 2240 | repository layer. Building working trees during checkout and branch is |
4159 | 2151 | now faster. | 2241 | now faster. |
4160 | 2152 | 2242 | ||
4230 | 2153 | BUG FIXES: | 2243 | Bug Fixes |
4231 | 2154 | 2244 | ********* | |
4232 | 2155 | * Avoid KnitCorrupt error extracting inventories from some repositories. | 2245 | |
4233 | 2156 | (The data is not corrupt; an internal check is detecting a problem | 2246 | * Avoid KnitCorrupt error extracting inventories from some repositories. |
4234 | 2157 | reading from the repository.) | 2247 | (The data is not corrupt; an internal check is detecting a problem |
4235 | 2158 | (Martin Pool, Andrew Bennetts, Robert Collins, #234748) | 2248 | reading from the repository.) |
4236 | 2159 | 2249 | (Martin Pool, Andrew Bennetts, Robert Collins, #234748) | |
4237 | 2160 | * ``bzr status`` was breaking if you merged the same revision twice. | 2250 | |
4238 | 2161 | (John Arbash Meinel, #235407) | 2251 | * ``bzr status`` was breaking if you merged the same revision twice. |
4239 | 2162 | 2252 | (John Arbash Meinel, #235407) | |
4240 | 2163 | * Fix infinite loop consuming 100% CPU when a connection is lost while | 2253 | |
4241 | 2164 | reading a response body via the smart protocol v1 or v2. | 2254 | * Fix infinite loop consuming 100% CPU when a connection is lost while |
4242 | 2165 | (Andrew Bennetts) | 2255 | reading a response body via the smart protocol v1 or v2. |
4243 | 2166 | 2256 | (Andrew Bennetts) | |
4244 | 2167 | * Inserting a bundle which changes the contents of a file with no trailing | 2257 | |
4245 | 2168 | end of line, causing a knit snapshot in a 'knits' repository will no longer | 2258 | * Inserting a bundle which changes the contents of a file with no trailing |
4246 | 2169 | cause KnitCorrupt. (Robert Collins) | 2259 | end of line, causing a knit snapshot in a 'knits' repository will no longer |
4247 | 2170 | 2260 | cause KnitCorrupt. (Robert Collins) | |
4248 | 2171 | * ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s | 2261 | |
4249 | 2172 | pull result. It was instead just returning None, which breaks ``bzr | 2262 | * ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s |
4250 | 2173 | pull``. (John Arbash Meinel, #238149) | 2263 | pull result. It was instead just returning None, which breaks ``bzr |
4251 | 2174 | 2264 | pull``. (John Arbash Meinel, #238149) | |
4252 | 2175 | * Sanitize branch nick before using it as an attachment filename in | 2265 | |
4253 | 2176 | ``bzr send``. (Lukáš Lalinský, #210218) | 2266 | * Sanitize branch nick before using it as an attachment filename in |
4254 | 2177 | 2267 | ``bzr send``. (Lukáš Lalinský, #210218) | |
4255 | 2178 | * Squash ``inv_entry.symlink_target`` to a plain string when | 2268 | |
4256 | 2179 | generating DirState details. This prevents from getting a | 2269 | * Squash ``inv_entry.symlink_target`` to a plain string when |
4257 | 2180 | ``UnicodeError`` when you have symlinks and non-ascii filenames. | 2270 | generating DirState details. This prevents from getting a |
4258 | 2181 | (John Arbash Meinel, #135320) | 2271 | ``UnicodeError`` when you have symlinks and non-ascii filenames. |
4259 | 2182 | 2272 | (John Arbash Meinel, #135320) | |
4260 | 2183 | IMPROVEMENTS: | 2273 | |
4261 | 2184 | 2274 | Improvements | |
4262 | 2185 | * Added the 'alias' command to set/unset and display aliases. (Tim Penhey) | 2275 | ************ |
4263 | 2186 | 2276 | ||
4264 | 2187 | * ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three | 2277 | * Added the 'alias' command to set/unset and display aliases. (Tim Penhey) |
4265 | 2188 | now quote paths where required). Added ``--null`` option to ``added`` and | 2278 | |
4266 | 2189 | ``modified`` (for null-separated unknowns, use ``ls --unknown --null``) | 2279 | * ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three |
4267 | 2190 | (Adrian Wilkins) | 2280 | now quote paths where required). Added ``--null`` option to ``added`` and |
4268 | 2191 | 2281 | ``modified`` (for null-separated unknowns, use ``ls --unknown --null``) | |
4269 | 2192 | * Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees. | 2282 | (Adrian Wilkins) |
4270 | 2193 | (Ian Clatworthy, Aaron Bentley) | 2283 | |
4271 | 2194 | 2284 | * Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees. | |
4272 | 2195 | DOCUMENTATION: | 2285 | (Ian Clatworthy, Aaron Bentley) |
4273 | 2196 | 2286 | ||
4274 | 2197 | * Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy) | 2287 | Documentation |
4275 | 2198 | 2288 | ************* | |
4276 | 2199 | TESTING: | 2289 | |
4277 | 2200 | 2290 | * Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy) | |
4278 | 2201 | * Fix the test HTTPServer to be isolated from chdir calls made while it is | 2291 | |
4279 | 2202 | running, allowing it to be used in blackbox tests. (Robert Collins) | 2292 | Testing |
4280 | 2203 | 2293 | ******* | |
4281 | 2204 | API CHANGES: | 2294 | |
4282 | 2205 | 2295 | * Fix the test HTTPServer to be isolated from chdir calls made while it is | |
4283 | 2206 | * ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions | 2296 | running, allowing it to be used in blackbox tests. (Robert Collins) |
4284 | 2207 | which are in the ancestry of other revisions. So if you merge the same | 2297 | |
4285 | 2208 | tree twice, or merge an ancestor of an existing merge, it will only | 2298 | API Changes |
4286 | 2209 | record the newest. (If you merge a descendent, it will replace its | 2299 | *********** |
4287 | 2210 | ancestor). (John Arbash Meinel, #235407) | 2300 | |
4288 | 2211 | 2301 | * ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions | |
4289 | 2212 | * ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd, | 2302 | which are in the ancestry of other revisions. So if you merge the same |
4290 | 2213 | through the derived classes do not. (Aaron Bentley) | 2303 | tree twice, or merge an ancestor of an existing merge, it will only |
4291 | 2214 | 2304 | record the newest. (If you merge a descendent, it will replace its | |
4292 | 2215 | INTERNALS: | 2305 | ancestor). (John Arbash Meinel, #235407) |
4293 | 2216 | 2306 | ||
4294 | 2217 | * ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control | 2307 | * ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd, |
4295 | 2218 | creating stacked branches. (Robert Collins) | 2308 | through the derived classes do not. (Aaron Bentley) |
4296 | 2219 | 2309 | ||
4297 | 2220 | * Knit record serialisation is now stricter on what it will accept, to | 2310 | Internals |
4298 | 2221 | guard against potential internal bugs, or broken input. (Robert Collins) | 2311 | ********* |
4299 | 2312 | |||
4300 | 2313 | * ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control | ||
4301 | 2314 | creating stacked branches. (Robert Collins) | ||
4302 | 2315 | |||
4303 | 2316 | * Knit record serialisation is now stricter on what it will accept, to | ||
4304 | 2317 | guard against potential internal bugs, or broken input. (Robert Collins) | ||
4305 | 2222 | 2318 | ||
4306 | 2223 | 2319 | ||
4307 | 2224 | bzr 1.6beta1 2008-06-02 | 2320 | bzr 1.6beta1 2008-06-02 |
4309 | 2225 | ----------------------- | 2321 | ####################### |
4310 | 2226 | 2322 | ||
4311 | 2227 | 2323 | ||
4312 | 2228 | Commands that work on the revision history such as push, pull, missing, | 2324 | Commands that work on the revision history such as push, pull, missing, |
4313 | @@ -2233,395 +2329,409 @@ | |||
4314 | 2233 | and future extensions. | 2329 | and future extensions. |
4315 | 2234 | 2330 | ||
4316 | 2235 | 2331 | ||
4514 | 2236 | NOTES WHEN UPGRADING: | 2332 | Notes When Upgrading |
4515 | 2237 | 2333 | ******************** | |
4516 | 2238 | * There is a new version of the network protocol used for bzr://, bzr+ssh:// | 2334 | |
4517 | 2239 | and bzr+http:// connections. This will allow more efficient requests and | 2335 | * There is a new version of the network protocol used for bzr://, bzr+ssh:// |
4518 | 2240 | responses, and more graceful fallback when a server is too old to | 2336 | and bzr+http:// connections. This will allow more efficient requests and |
4519 | 2241 | recognise a request from a more recent client. Bazaar 1.6 will | 2337 | responses, and more graceful fallback when a server is too old to |
4520 | 2242 | interoperate with 0.16 and later versions, but servers should be upgraded | 2338 | recognise a request from a more recent client. Bazaar 1.6 will |
4521 | 2243 | when possible. Bazaar 1.6 no longer interoperates with 0.15 and earlier via | 2339 | interoperate with 0.16 and later versions, but servers should be upgraded |
4522 | 2244 | these protocols. Use alternatives like SFTP or upgrade those servers. | 2340 | when possible. Bazaar 1.6 no longer interoperates with 0.15 and earlier via |
4523 | 2245 | (Andrew Bennetts, #83935) | 2341 | these protocols. Use alternatives like SFTP or upgrade those servers. |
4524 | 2246 | 2342 | (Andrew Bennetts, #83935) | |
4525 | 2247 | CHANGES: | 2343 | |
4526 | 2248 | 2344 | Changes | |
4527 | 2249 | * Deprecation warnings will not be suppressed when running ``bzr selftest`` | 2345 | ******* |
4528 | 2250 | so that developers can see if their code is using deprecated functions. | 2346 | |
4529 | 2251 | (John Arbash Meinel) | 2347 | * Deprecation warnings will not be suppressed when running ``bzr selftest`` |
4530 | 2252 | 2348 | so that developers can see if their code is using deprecated functions. | |
4531 | 2253 | FEATURES: | 2349 | (John Arbash Meinel) |
4532 | 2254 | 2350 | ||
4533 | 2255 | * Adding ``-Derror`` will now display a traceback when a plugin fails to | 2351 | Features |
4534 | 2256 | load. (James Westby) | 2352 | ******** |
4535 | 2257 | 2353 | ||
4536 | 2258 | IMPROVEMENTS: | 2354 | * Adding ``-Derror`` will now display a traceback when a plugin fails to |
4537 | 2259 | 2355 | load. (James Westby) | |
4538 | 2260 | * ``bzr branch/push/pull -r XXX`` now have a helper function for finding | 2356 | |
4539 | 2261 | the revno of the new revision (``Graph.find_distance_to_null``). This | 2357 | Improvements |
4540 | 2262 | should make something like ``bzr branch -r -100`` in a shared, no-trees | 2358 | ************ |
4541 | 2263 | repository much snappier. (John Arbash Meinel) | 2359 | |
4542 | 2264 | 2360 | * ``bzr branch/push/pull -r XXX`` now have a helper function for finding | |
4543 | 2265 | * ``bzr log --short -r X..Y`` no longer needs to access the full revision | 2361 | the revno of the new revision (``Graph.find_distance_to_null``). This |
4544 | 2266 | history. This makes it noticeably faster when logging the last few | 2362 | should make something like ``bzr branch -r -100`` in a shared, no-trees |
4545 | 2267 | revisions. (John Arbash Meinel) | 2363 | repository much snappier. (John Arbash Meinel) |
4546 | 2268 | 2364 | ||
4547 | 2269 | * ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``. | 2365 | * ``bzr log --short -r X..Y`` no longer needs to access the full revision |
4548 | 2270 | (Jerad Cramp, #165086) | 2366 | history. This makes it noticeably faster when logging the last few |
4549 | 2271 | 2367 | revisions. (John Arbash Meinel) | |
4550 | 2272 | * ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and | 2368 | |
4551 | 2273 | ``Graph.find_differences`` to determine missing revisions without having | 2369 | * ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``. |
4552 | 2274 | to search the whole ancestry. (John Arbash Meinel, #174625) | 2370 | (Jerad Cramp, #165086) |
4553 | 2275 | 2371 | ||
4554 | 2276 | * ``bzr uncommit`` now uses partial history access, rather than always | 2372 | * ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and |
4555 | 2277 | extracting the full revision history for a branch. This makes it | 2373 | ``Graph.find_differences`` to determine missing revisions without having |
4556 | 2278 | resolve the appropriate revisions much faster (in testing it drops | 2374 | to search the whole ancestry. (John Arbash Meinel, #174625) |
4557 | 2279 | uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one | 2375 | |
4558 | 2280 | step closer to not using full revision history. | 2376 | * ``bzr uncommit`` now uses partial history access, rather than always |
4559 | 2281 | (John Arbash Meinel, #172649) | 2377 | extracting the full revision history for a branch. This makes it |
4560 | 2282 | 2378 | resolve the appropriate revisions much faster (in testing it drops | |
4561 | 2283 | BUGFIXES: | 2379 | uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one |
4562 | 2284 | 2380 | step closer to not using full revision history. | |
4563 | 2285 | * ``bzr merge --lca`` should handle when two revisions have no common | 2381 | (John Arbash Meinel, #172649) |
4564 | 2286 | ancestor other than NULL_REVISION. (John Arbash Meinel, #235715) | 2382 | |
4565 | 2287 | 2383 | Bugfixes | |
4566 | 2288 | * ``bzr status`` was breaking if you merged the same revision twice. | 2384 | ******** |
4567 | 2289 | (John Arbash Meinel, #235407) | 2385 | |
4568 | 2290 | 2386 | * ``bzr merge --lca`` should handle when two revisions have no common | |
4569 | 2291 | * ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer | 2387 | ancestor other than NULL_REVISION. (John Arbash Meinel, #235715) |
4570 | 2292 | fails. (Andrew Bennetts, #234229) | 2388 | |
4571 | 2293 | 2389 | * ``bzr status`` was breaking if you merged the same revision twice. | |
4572 | 2294 | * Correctly track the base URL of a smart medium when using bzr+http:// | 2390 | (John Arbash Meinel, #235407) |
4573 | 2295 | URLs, which was causing spurious "No repository present" errors with | 2391 | |
4574 | 2296 | branches in shared repositories accessed over bzr+http. | 2392 | * ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer |
4575 | 2297 | (Andrew Bennetts, #230550) | 2393 | fails. (Andrew Bennetts, #234229) |
4576 | 2298 | 2394 | ||
4577 | 2299 | * Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all | 2395 | * Correctly track the base URL of a smart medium when using bzr+http:// |
4578 | 2300 | implementations have the attribute. Fixes 'PyCurlTransport' object has no | 2396 | URLs, which was causing spurious "No repository present" errors with |
4579 | 2301 | attribute '_remote_is_at_least_1_2' attribute errors. | 2397 | branches in shared repositories accessed over bzr+http. |
4580 | 2302 | (Andrew Bennetts, #220806) | 2398 | (Andrew Bennetts, #230550) |
4581 | 2303 | 2399 | ||
4582 | 2304 | * Failure to delete an obsolete pack file should just give a warning | 2400 | * Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all |
4583 | 2305 | message, not a fatal error. It may for example fail if the file is still | 2401 | implementations have the attribute. Fixes 'PyCurlTransport' object has no |
4584 | 2306 | in use by another process. | 2402 | attribute '_remote_is_at_least_1_2' attribute errors. |
4585 | 2307 | (Martin Pool) | 2403 | (Andrew Bennetts, #220806) |
4586 | 2308 | 2404 | ||
4587 | 2309 | * Fix MemoryError during large fetches over HTTP by limiting the amount of | 2405 | * Failure to delete an obsolete pack file should just give a warning |
4588 | 2310 | data we try to read per ``recv`` call. The problem was observed with | 2406 | message, not a fatal error. It may for example fail if the file is still |
4589 | 2311 | Windows and a proxy, but might affect other environments as well. | 2407 | in use by another process. |
4590 | 2312 | (Eric Holmberg, #215426) | 2408 | (Martin Pool) |
4591 | 2313 | 2409 | ||
4592 | 2314 | * Handle old merge directives correctly in Merger.from_mergeable. Stricter | 2410 | * Fix MemoryError during large fetches over HTTP by limiting the amount of |
4593 | 2315 | get_parent_map requirements exposed a latent bug here. (Aaron Bentley) | 2411 | data we try to read per ``recv`` call. The problem was observed with |
4594 | 2316 | 2412 | Windows and a proxy, but might affect other environments as well. | |
4595 | 2317 | * Issue a warning and ignore passwords declared in authentication.conf when | 2413 | (Eric Holmberg, #215426) |
4596 | 2318 | used for an ssh scheme (sftp or bzr+ssh). | 2414 | |
4597 | 2319 | (Vincent Ladeuil, #203186) | 2415 | * Handle old merge directives correctly in Merger.from_mergeable. Stricter |
4598 | 2320 | 2416 | get_parent_map requirements exposed a latent bug here. (Aaron Bentley) | |
4599 | 2321 | * Make both http implementations raise appropriate exceptions on 403 | 2417 | |
4600 | 2322 | Forbidden when POSTing smart requests. | 2418 | * Issue a warning and ignore passwords declared in authentication.conf when |
4601 | 2323 | (Vincent Ladeuil, #230223) | 2419 | used for an ssh scheme (sftp or bzr+ssh). |
4602 | 2324 | 2420 | (Vincent Ladeuil, #203186) | |
4603 | 2325 | * Properly *title* header names in http requests instead of capitalizing | 2421 | |
4604 | 2326 | them. | 2422 | * Make both http implementations raise appropriate exceptions on 403 |
4605 | 2327 | (Vincent Ladeuil, #229076) | 2423 | Forbidden when POSTing smart requests. |
4606 | 2328 | 2424 | (Vincent Ladeuil, #230223) | |
4607 | 2329 | * The "Unable to obtain lock" error message now also suggests using | 2425 | |
4608 | 2330 | ``bzr break-lock`` to fix it. (Martin Albisetti, #139202) | 2426 | * Properly *title* header names in http requests instead of capitalizing |
4609 | 2331 | 2427 | them. | |
4610 | 2332 | * Treat an encoding of '' as ascii; this can happen when bzr is run | 2428 | (Vincent Ladeuil, #229076) |
4611 | 2333 | under vim on Mac OS X. | 2429 | |
4612 | 2334 | (Neil Martinsen-Burrell) | 2430 | * The "Unable to obtain lock" error message now also suggests using |
4613 | 2335 | 2431 | ``bzr break-lock`` to fix it. (Martin Albisetti, #139202) | |
4614 | 2336 | * ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in | 2432 | |
4615 | 2337 | scope. (Daniel Fischer #235687) | 2433 | * Treat an encoding of '' as ascii; this can happen when bzr is run |
4616 | 2338 | 2434 | under vim on Mac OS X. | |
4617 | 2339 | DOCUMENTATION: | 2435 | (Neil Martinsen-Burrell) |
4618 | 2340 | 2436 | ||
4619 | 2341 | * Added directory structure and started translation of docs in spanish. | 2437 | * ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in |
4620 | 2342 | (Martin Albisetti, Lucio Albenga) | 2438 | scope. (Daniel Fischer #235687) |
4621 | 2343 | 2439 | ||
4622 | 2344 | * Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell | 2440 | Documentation |
4623 | 2345 | on the plugin and integration chapters of the User Guide. | 2441 | ************* |
4624 | 2346 | (Ian Clatworthy) | 2442 | |
4625 | 2347 | 2443 | * Added directory structure and started translation of docs in spanish. | |
4626 | 2348 | * More Bazaar developer documentation about packaging and release process, | 2444 | (Martin Albisetti, Lucio Albenga) |
4627 | 2349 | and about use of Python reprs. | 2445 | |
4628 | 2350 | (Martin Pool, Martin Albisetti) | 2446 | * Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell |
4629 | 2351 | 2447 | on the plugin and integration chapters of the User Guide. | |
4630 | 2352 | * Updated Tortise strategy document. (Mark Hammond) | 2448 | (Ian Clatworthy) |
4631 | 2353 | 2449 | ||
4632 | 2354 | TESTING: | 2450 | * More Bazaar developer documentation about packaging and release process, |
4633 | 2355 | 2451 | and about use of Python reprs. | |
4634 | 2356 | * ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed. | 2452 | (Martin Pool, Martin Albisetti) |
4635 | 2357 | (Robert Collins) | 2453 | |
4636 | 2358 | 2454 | * Updated Tortise strategy document. (Mark Hammond) | |
4637 | 2359 | * Fix the test HTTPServer to be isolated from chdir calls made while it is | 2455 | |
4638 | 2360 | running, allowing it to be used in blackbox tests. (Robert Collins) | 2456 | Testing |
4639 | 2361 | 2457 | ******* | |
4640 | 2362 | * New helper function for splitting test suites | 2458 | |
4641 | 2363 | ``split_suite_by_condition``. (Robert Collins) | 2459 | * ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed. |
4642 | 2364 | 2460 | (Robert Collins) | |
4643 | 2365 | INTERNALS: | 2461 | |
4644 | 2366 | 2462 | * Fix the test HTTPServer to be isolated from chdir calls made while it is | |
4645 | 2367 | * ``Branch.missing_revisions`` has been deprecated. Similar functionality | 2463 | running, allowing it to be used in blackbox tests. (Robert Collins) |
4646 | 2368 | can be obtained using ``bzrlib.missing.find_unmerged``. The api was | 2464 | |
4647 | 2369 | fairly broken, and the function was unused, so we are getting rid of it. | 2465 | * New helper function for splitting test suites |
4648 | 2370 | (John Arbash Meinel) | 2466 | ``split_suite_by_condition``. (Robert Collins) |
4649 | 2371 | 2467 | ||
4650 | 2372 | API CHANGES: | 2468 | Internals |
4651 | 2373 | 2469 | ********* | |
4652 | 2374 | * ``Branch.abspath`` is deprecated; use the Tree or Transport | 2470 | |
4653 | 2375 | instead. (Martin Pool) | 2471 | * ``Branch.missing_revisions`` has been deprecated. Similar functionality |
4654 | 2376 | 2472 | can be obtained using ``bzrlib.missing.find_unmerged``. The api was | |
4655 | 2377 | * ``Branch.update_revisions`` now takes an optional ``Graph`` | 2473 | fairly broken, and the function was unused, so we are getting rid of it. |
4656 | 2378 | object. This can be used by ``update_revisions`` when it is | 2474 | (John Arbash Meinel) |
4657 | 2379 | checking ancestry, and allows callers to prefer request to go to a | 2475 | |
4658 | 2380 | local branch. (John Arbash Meinel) | 2476 | API Changes |
4659 | 2381 | 2477 | *********** | |
4660 | 2382 | * Branch, Repository, Tree and BzrDir should expose a Transport as an | 2478 | |
4661 | 2383 | attribute if they have one, rather than having it indirectly accessible | 2479 | * ``Branch.abspath`` is deprecated; use the Tree or Transport |
4662 | 2384 | as ``.control_files._transport``. This doesn't add a requirement | 2480 | instead. (Martin Pool) |
4663 | 2385 | to support a Transport in cases where it was not needed before; | 2481 | |
4664 | 2386 | it just simplifies the way it is reached. (Martin Pool) | 2482 | * ``Branch.update_revisions`` now takes an optional ``Graph`` |
4665 | 2387 | 2483 | object. This can be used by ``update_revisions`` when it is | |
4666 | 2388 | * ``bzr missing --mine-only`` will return status code 0 if you have no | 2484 | checking ancestry, and allows callers to prefer request to go to a |
4667 | 2389 | new revisions, but the remote does. Similarly for ``--theirs-only``. | 2485 | local branch. (John Arbash Meinel) |
4668 | 2390 | The new code only checks one side, so it doesn't know if the other | 2486 | |
4669 | 2391 | side has changes. This seems more accurate with the request anyway. | 2487 | * Branch, Repository, Tree and BzrDir should expose a Transport as an |
4670 | 2392 | It also changes the output to print '[This|Other] branch is up to | 2488 | attribute if they have one, rather than having it indirectly accessible |
4671 | 2393 | date.' rather than displaying nothing. (John Arbash Meinel) | 2489 | as ``.control_files._transport``. This doesn't add a requirement |
4672 | 2394 | 2490 | to support a Transport in cases where it was not needed before; | |
4673 | 2395 | * ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename`` | 2491 | it just simplifies the way it is reached. (Martin Pool) |
4674 | 2396 | are now deprecated in favor of using Transport operations. | 2492 | |
4675 | 2397 | (Martin Pool) | 2493 | * ``bzr missing --mine-only`` will return status code 0 if you have no |
4676 | 2398 | 2494 | new revisions, but the remote does. Similarly for ``--theirs-only``. | |
4677 | 2399 | * Many methods on ``VersionedFile``, ``Repository`` and in | 2495 | The new code only checks one side, so it doesn't know if the other |
4678 | 2400 | ``bzrlib.revision`` deprecated before bzrlib 1.5 have been removed. | 2496 | side has changes. This seems more accurate with the request anyway. |
4679 | 2401 | (Robert Collins) | 2497 | It also changes the output to print '[This|Other] branch is up to |
4680 | 2402 | 2498 | date.' rather than displaying nothing. (John Arbash Meinel) | |
4681 | 2403 | * ``RevisionSpec.wants_revision_history`` can be set to False for a given | 2499 | |
4682 | 2404 | ``RevisionSpec``. This will disable the existing behavior of passing in | 2500 | * ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename`` |
4683 | 2405 | the full revision history to ``self._match_on``. Useful for specs that | 2501 | are now deprecated in favor of using Transport operations. |
4684 | 2406 | don't actually need access to the full history. (John Arbash Meinel) | 2502 | (Martin Pool) |
4685 | 2407 | 2503 | ||
4686 | 2408 | * The constructors of ``SmartClientMedium`` and its subclasses now require a | 2504 | * Many methods on ``VersionedFile``, ``Repository`` and in |
4687 | 2409 | ``base`` parameter. ``SmartClientMedium`` implementations now also need | 2505 | ``bzrlib.revision`` deprecated before bzrlib 1.5 have been removed. |
4688 | 2410 | to provide a ``remote_path_from_transport`` method. (Andrew Bennetts) | 2506 | (Robert Collins) |
4689 | 2411 | 2507 | ||
4690 | 2412 | * The default permissions for creating new files and directories | 2508 | * ``RevisionSpec.wants_revision_history`` can be set to False for a given |
4691 | 2413 | should now be obtained from ``BzrDir._get_file_mode()`` and | 2509 | ``RevisionSpec``. This will disable the existing behavior of passing in |
4692 | 2414 | ``_get_dir_mode()``, rather than from LockableFiles. The ``_set_file_mode`` | 2510 | the full revision history to ``self._match_on``. Useful for specs that |
4693 | 2415 | and ``_set_dir_mode`` variables on LockableFiles which were advertised | 2511 | don't actually need access to the full history. (John Arbash Meinel) |
4694 | 2416 | as a way for plugins to control this are no longer consulted. | 2512 | |
4695 | 2417 | (Martin Pool) | 2513 | * The constructors of ``SmartClientMedium`` and its subclasses now require a |
4696 | 2418 | 2514 | ``base`` parameter. ``SmartClientMedium`` implementations now also need | |
4697 | 2419 | * ``VersionedFile.join`` is deprecated. This method required local | 2515 | to provide a ``remote_path_from_transport`` method. (Andrew Bennetts) |
4698 | 2420 | instances of both versioned file objects and was thus hostile to being | 2516 | |
4699 | 2421 | used for streaming from a smart server. The new get_record_stream and | 2517 | * The default permissions for creating new files and directories |
4700 | 2422 | insert_record_stream are meant to efficiently replace this method. | 2518 | should now be obtained from ``BzrDir._get_file_mode()`` and |
4701 | 2423 | (Robert Collins) | 2519 | ``_get_dir_mode()``, rather than from LockableFiles. The ``_set_file_mode`` |
4702 | 2424 | 2520 | and ``_set_dir_mode`` variables on LockableFiles which were advertised | |
4703 | 2425 | * ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions | 2521 | as a way for plugins to control this are no longer consulted. |
4704 | 2426 | which are in the ancestry of other revisions. So if you merge the same | 2522 | (Martin Pool) |
4705 | 2427 | tree twice, or merge an ancestor of an existing merge, it will only | 2523 | |
4706 | 2428 | record the newest. (If you merge a descendent, it will replace its | 2524 | * ``VersionedFile.join`` is deprecated. This method required local |
4707 | 2429 | ancestor). (John Arbash Meinel, #235407) | 2525 | instances of both versioned file objects and was thus hostile to being |
4708 | 2430 | 2526 | used for streaming from a smart server. The new get_record_stream and | |
4709 | 2431 | * ``WorkingTreeFormat2.stub_initialize_remote`` is now private. | 2527 | insert_record_stream are meant to efficiently replace this method. |
4710 | 2432 | (Martin Pool) | 2528 | (Robert Collins) |
4711 | 2529 | |||
4712 | 2530 | * ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions | ||
4713 | 2531 | which are in the ancestry of other revisions. So if you merge the same | ||
4714 | 2532 | tree twice, or merge an ancestor of an existing merge, it will only | ||
4715 | 2533 | record the newest. (If you merge a descendent, it will replace its | ||
4716 | 2534 | ancestor). (John Arbash Meinel, #235407) | ||
4717 | 2535 | |||
4718 | 2536 | * ``WorkingTreeFormat2.stub_initialize_remote`` is now private. | ||
4719 | 2537 | (Martin Pool) | ||
4720 | 2433 | 2538 | ||
4721 | 2434 | 2539 | ||
4722 | 2435 | bzr 1.5 2008-05-16 | 2540 | bzr 1.5 2008-05-16 |
4724 | 2436 | ------------------ | 2541 | ################## |
4725 | 2437 | 2542 | ||
4726 | 2438 | This release of Bazaar includes several updates to the documentation, and fixes | 2543 | This release of Bazaar includes several updates to the documentation, and fixes |
4727 | 2439 | to prepare for making rich root support the default format. Many bugs have been | 2544 | to prepare for making rich root support the default format. Many bugs have been |
4728 | 2440 | squashed, including fixes to log, bzr+ssh inter-operation with older servers. | 2545 | squashed, including fixes to log, bzr+ssh inter-operation with older servers. |
4729 | 2441 | 2546 | ||
4741 | 2442 | CHANGES: | 2547 | Changes |
4742 | 2443 | 2548 | ******* | |
4743 | 2444 | * Suppress deprecation warnings when bzrlib is a 'final' release. This way | 2549 | |
4744 | 2445 | users of packaged software won't be bothered with DeprecationWarnings, | 2550 | * Suppress deprecation warnings when bzrlib is a 'final' release. This way |
4745 | 2446 | but developers and testers will still see them. (John Arbash Meinel) | 2551 | users of packaged software won't be bothered with DeprecationWarnings, |
4746 | 2447 | 2552 | but developers and testers will still see them. (John Arbash Meinel) | |
4747 | 2448 | DOCUMENTATION: | 2553 | |
4748 | 2449 | 2554 | Documentation | |
4749 | 2450 | * Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell | 2555 | ************* |
4750 | 2451 | on the plugin and integration chapters of the User Guide. | 2556 | |
4751 | 2452 | (Ian Clatworthy) | 2557 | * Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell |
4752 | 2558 | on the plugin and integration chapters of the User Guide. | ||
4753 | 2559 | (Ian Clatworthy) | ||
4754 | 2453 | 2560 | ||
4755 | 2454 | 2561 | ||
4756 | 2455 | bzr 1.5rc1 2008-05-09 | 2562 | bzr 1.5rc1 2008-05-09 |
4922 | 2456 | --------------------- | 2563 | ##################### |
4923 | 2457 | 2564 | ||
4924 | 2458 | NOTES WHEN UPGRADING: | 2565 | Changes |
4925 | 2459 | 2566 | ******* | |
4926 | 2460 | CHANGES: | 2567 | |
4927 | 2461 | 2568 | * Broader support of GNU Emacs mail clients. Set | |
4928 | 2462 | * Broader support of GNU Emacs mail clients. Set | 2569 | ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the |
4929 | 2463 | ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the | 2570 | bundle in a mail buffer according to the value of ``mail-user-agent`` |
4930 | 2464 | bundle in a mail buffer according to the value of ``mail-user-agent`` | 2571 | variable. (Xavier Maillard) |
4931 | 2465 | variable. (Xavier Maillard) | 2572 | |
4932 | 2466 | 2573 | Improvements | |
4933 | 2467 | FEATURES: | 2574 | ************ |
4934 | 2468 | 2575 | ||
4935 | 2469 | IMPROVEMENTS: | 2576 | * Diff now handles revision specs like "branch:" and "submit:" more |
4936 | 2470 | 2577 | efficiently. (Aaron Bentley, #202928) | |
4937 | 2471 | * Diff now handles revision specs like "branch:" and "submit:" more | 2578 | |
4938 | 2472 | efficiently. (Aaron Bentley, #202928) | 2579 | * More friendly error given when attempt to start the smart server |
4939 | 2473 | 2580 | on an address already in use. (Andrea Corbellini, #200575) | |
4940 | 2474 | * More friendly error given when attempt to start the smart server | 2581 | |
4941 | 2475 | on an address already in use. (Andrea Corbellini, #200575) | 2582 | * Pull completes much faster when there is nothing to pull. |
4942 | 2476 | 2583 | (Aaron Bentley) | |
4943 | 2477 | * Pull completes much faster when there is nothing to pull. | 2584 | |
4944 | 2478 | (Aaron Bentley) | 2585 | Bugfixes |
4945 | 2479 | 2586 | ******** | |
4946 | 2480 | BUGFIXES: | 2587 | |
4947 | 2481 | 2588 | * Authentication.conf can define sections without password. | |
4948 | 2482 | * Authentication.conf can define sections without password. | 2589 | (Vincent Ladeuil, #199440) |
4949 | 2483 | (Vincent Ladeuil, #199440) | 2590 | |
4950 | 2484 | 2591 | * Avoid muttering every time a child update does not cause a progress bar | |
4951 | 2485 | * Avoid muttering every time a child update does not cause a progress bar | 2592 | update. (John Arbash Meinel, #213771) |
4952 | 2486 | update. (John Arbash Meinel, #213771) | 2593 | |
4953 | 2487 | 2594 | * ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile`` | |
4954 | 2488 | * ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile`` | 2595 | to fix when a Branch has a non-canonical mainline history. ``bzr check`` |
4955 | 2489 | to fix when a Branch has a non-canonical mainline history. ``bzr check`` | 2596 | also detects this condition. (John Arbash Meinel, #177855) |
4956 | 2490 | also detects this condition. (John Arbash Meinel, #177855) | 2597 | |
4957 | 2491 | 2598 | * ``bzr log -r ..X bzr://`` was failing, because it was getting a request | |
4958 | 2492 | * ``bzr log -r ..X bzr://`` was failing, because it was getting a request | 2599 | for ``revision_id=None`` which was not a string. |
4959 | 2493 | for ``revision_id=None`` which was not a string. | 2600 | (John Arbash Meinel, #211661) |
4960 | 2494 | (John Arbash Meinel, #211661) | 2601 | |
4961 | 2495 | 2602 | * ``bzr commit`` now works with Microsoft's FTP service. | |
4962 | 2496 | * ``bzr commit`` now works with Microsoft's FTP service. | 2603 | (Andreas Deininger) |
4963 | 2497 | (Andreas Deininger) | 2604 | |
4964 | 2498 | 2605 | * Catch definitions outside sections in authentication.conf. | |
4965 | 2499 | * Catch definitions outside sections in authentication.conf. | 2606 | (Vincent Ladeuil, #217650) |
4966 | 2500 | (Vincent Ladeuil, #217650) | 2607 | |
4967 | 2501 | 2608 | * Conversion from non-rich-root to rich-root(-pack) updates inventory | |
4968 | 2502 | * Conversion from non-rich-root to rich-root(-pack) updates inventory | 2609 | sha1s, even when bundles are used. (Aaron Bentley, #181391) |
4969 | 2503 | sha1s, even when bundles are used. (Aaron Bentley, #181391) | 2610 | |
4970 | 2504 | 2611 | * Conversion from non-rich-root to rich-root(-pack) works correctly even | |
4971 | 2505 | * Conversion from non-rich-root to rich-root(-pack) works correctly even | 2612 | though search keys are not topologically sorted. (Aaron Bentley) |
4972 | 2506 | though search keys are not topologically sorted. (Aaron Bentley) | 2613 | |
4973 | 2507 | 2614 | * Conversion from non-rich-root to rich-root(-pack) works even when a | |
4974 | 2508 | * Conversion from non-rich-root to rich-root(-pack) works even when a | 2615 | parent revision has a different root id. (Aaron Bentley, #177874) |
4975 | 2509 | parent revision has a different root id. (Aaron Bentley, #177874) | 2616 | |
4976 | 2510 | 2617 | * Disable strace testing until strace is fixed (see bug #103133) and emit a | |
4977 | 2511 | * Disable strace testing until strace is fixed (see bug #103133) and emit a | 2618 | warning when selftest ends to remind us of leaking tests. |
4978 | 2512 | warning when selftest ends to remind us of leaking tests. | 2619 | (Vincent Ladeuil, #226769) |
4979 | 2513 | (Vincent Ladeuil, #226769) | 2620 | |
4980 | 2514 | 2621 | * Fetching all revisions from a repository does not cause pack collisions. | |
4981 | 2515 | * Fetching all revisions from a repository does not cause pack collisions. | 2622 | (Robert Collins, Aaron Bentley, #212908) |
4982 | 2516 | (Robert Collins, Aaron Bentley, #212908) | 2623 | |
4983 | 2517 | 2624 | * Fix error about "attempt to add line-delta in non-delta knit". | |
4984 | 2518 | * Fix error about "attempt to add line-delta in non-delta knit". | 2625 | (Andrew Bennetts, #217701) |
4985 | 2519 | (Andrew Bennetts, #217701) | 2626 | |
4986 | 2520 | 2627 | * Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break | |
4987 | 2521 | * Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break | 2628 | if the remote server was < version 1.2. This was due to a bug in the |
4988 | 2522 | if the remote server was < version 1.2. This was due to a bug in the | 2629 | RemoteRepository.get_parent_map() fallback code. |
4989 | 2523 | RemoteRepository.get_parent_map() fallback code. | 2630 | (John Arbash Meinel, #214894) |
4990 | 2524 | (John Arbash Meinel, #214894) | 2631 | |
4991 | 2525 | 2632 | * Remove leftover code in ``bzr_branch`` that inappropriately creates | |
4992 | 2526 | * Remove leftover code in ``bzr_branch`` that inappropriately creates | 2633 | a ``branch-name`` file in the branch control directory. |
4993 | 2527 | a ``branch-name`` file in the branch control directory. | 2634 | (Martin Pool) |
4994 | 2528 | (Martin Pool) | 2635 | |
4995 | 2529 | 2636 | * Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems | |
4996 | 2530 | * Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems | 2637 | rebinding the socket when starting the server a second time. |
4997 | 2531 | rebinding the socket when starting the server a second time. | 2638 | (John Arbash Meinel, Martin Pool, #164288) |
4998 | 2532 | (John Arbash Meinel, Martin Pool, #164288) | 2639 | |
4999 | 2533 | 2640 | * Severe performance degradation in fetching from knit repositories to | |
5000 | 2534 | * Severe performance degradation in fetching from knit repositories to | 2641 | knits and packs due to parsing the entire revisions.kndx on every graph |
4836 | 2535 | knits and packs due to parsing the entire revisions.kndx on every graph | ||
4837 | 2536 | walk iteration fixed by using the Repository.get_graph API. There was | ||
4838 | 2537 | another regression in knit => knit fetching which re-read the index for | ||
4839 | 2538 | every revision each side had in common. | ||
4840 | 2539 | (Robert Collins, John Arbash Meinel) | ||
4841 | 2540 | |||
4842 | 2541 | * When logging the changes to a particular file, there was a bug if there | ||
4843 | 2542 | were ghosts in the revision ancestry. (John Arbash Meinel, #209948) | ||
4844 | 2543 | |||
4845 | 2544 | * xs4all's ftp server returns a temporary error when trying to list an | ||
4846 | 2545 | empty directory, rather than returning an empty list. Adding a | ||
4847 | 2546 | workaround so that we don't get spurious failures. | ||
4848 | 2547 | (John Arbash Meinel, #215522) | ||
4849 | 2548 | |||
4850 | 2549 | DOCUMENTATION: | ||
4851 | 2550 | |||
4852 | 2551 | * Expanded the User Guide to include new chapters on popular plugins and | ||
4853 | 2552 | integrating Bazaar into your environment. The *Best practices* chapter | ||
4854 | 2553 | was renamed to *Miscellaneous topics* as suggested by community | ||
4855 | 2554 | feedback as well. (Ian Clatworthy) | ||
4856 | 2555 | |||
4857 | 2556 | * Document outlining strategies for TortoiseBzr. (Mark Hammond) | ||
4858 | 2557 | |||
4859 | 2558 | * Improved the documentation on hooks. (Ian Clatworthy) | ||
4860 | 2559 | |||
4861 | 2560 | * Update authentication docs regarding ssh agents. | ||
4862 | 2561 | (Vincent Ladeuil, #183705) | ||
4863 | 2562 | |||
4864 | 2563 | TESTING: | ||
4865 | 2564 | |||
4866 | 2565 | * Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to | ||
4867 | 2566 | make it easy to identify which test spawned a thread with an unhandled | ||
4868 | 2567 | exception. (Andrew Bennetts) | ||
4869 | 2568 | |||
4870 | 2569 | * New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting | ||
4871 | 2570 | options for debugging tests, these are complementary to the the -D | ||
4872 | 2571 | options. The ``-Dselftest_debug`` global option has been replaced by the | ||
4873 | 2572 | ``-E=allow_debug`` option for selftest. (Andrew Bennetts) | ||
4874 | 2573 | |||
4875 | 2574 | * Parameterised test ids are preserved correctly to aid diagnosis of test | ||
4876 | 2575 | failures. (Robert Collins, Andrew Bennetts) | ||
4877 | 2576 | |||
4878 | 2577 | * selftest now accepts --starting-with <id> to load only the tests whose id | ||
4879 | 2578 | starts with the one specified. This greatly speeds up running the test | ||
4880 | 2579 | suite on a limited set of tests and can be used to run the tests for a | ||
4881 | 2580 | single module, a single class or even a single test. (Vincent Ladeuil) | ||
4882 | 2581 | |||
4883 | 2582 | * The test suite modules have been modified to define load_tests() instead | ||
4884 | 2583 | of test_suite(). That speeds up selective loading (via --load-list) | ||
4885 | 2584 | significantly and provides many examples on how to migrate (grep for | ||
4886 | 2585 | load_tests). (Vincent Ladeuil) | ||
4887 | 2586 | |||
4888 | 2587 | INTERNALS: | ||
4889 | 2588 | |||
4890 | 2589 | * ``Hooks.install_hook`` is now deprecated in favour of | ||
4891 | 2590 | ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to | ||
4892 | 2591 | avoid having to call ``Hooks.name_hook``. (Daniel Watkins) | ||
4893 | 2592 | |||
4894 | 2593 | * Implement xml8 serializer. (Aaron Bentley) | ||
4895 | 2594 | |||
4896 | 2595 | * New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making | ||
4897 | 2596 | deprecation wrappers. (Martin Pool) | ||
4898 | 2597 | |||
4899 | 2598 | * ``Repository.revision_parents`` is now deprecated in favour of | ||
4900 | 2599 | ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij) | ||
4901 | 2600 | |||
4902 | 2601 | * The Python ``assert`` statement is no longer used in Bazaar source, and | ||
4903 | 2602 | a test checks this. (Martin Pool) | ||
4904 | 2603 | |||
4905 | 2604 | API CHANGES: | ||
4906 | 2605 | |||
4907 | 2606 | * ``bzrlib.status.show_pending_merges`` requires the repository to be | ||
4908 | 2607 | locked by the caller. Callers should have been doing it anyway, but it | ||
4909 | 2608 | will now raise an exception if they do not. (John Arbash Meinel) | ||
4910 | 2609 | |||
4911 | 2610 | * Repository.get_data_stream, Repository.get_data_stream_for_search(), | ||
4912 | 2611 | Repository.get_deltas_for_revsions(), Repository.revision_trees(), | ||
4913 | 2612 | Repository.item_keys_introduced_by() no longer take read locks. | ||
4914 | 2613 | (Aaron Bentley) | ||
4915 | 2614 | |||
4916 | 2615 | * ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start | ||
4917 | 2616 | towards removing LockableFiles and ``.control_files`` entirely. | ||
4918 | 2617 | (Martin Pool) | ||
4919 | 2618 | |||
4920 | 2619 | * Methods deprecated prior to 1.1 have been removed. | ||
4921 | 2620 | (Martin Pool) |
The diff has been truncated for viewing.
This fixes a typo in the NEWS file and adds a note to maintain the bzr.current branch when releasing.