~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: John Arbash Meinel
  • Date: 2009-10-12 17:03:40 UTC
  • mfrom: (4679.3.94 2.1-simple-set)
  • mto: This revision was merged to the branch mainline in revision 4736.
  • Revision ID: john@arbash-meinel.com-20091012170340-o21aj90jbtswo9m4
Bring in the latest 'simple-set' code.

This is just a prep step for refining and landing the StaticTuple code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
  automatically benefit from this feature when ``bzr`` on the server is
38
38
  upgraded.  (Andrew Bennetts, #109143)
39
39
 
 
40
* Extensions can now be compiled if either Cython or Pyrex is available.
 
41
  Currently Pyrex is preferred, but that may change in the future.
 
42
  (Arkanes)
 
43
 
40
44
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
41
45
  disable the user, site and core plugin directories.
42
46
  (Vincent Ladeuil, #412930, #316192, #145612)
153
157
  See also <https://answers.launchpad.net/bzr/+faq/703>.
154
158
  (Martin Pool, #406113, #430529)
155
159
 
 
160
* Secondary errors that occur during Branch.unlock and Repository.unlock
 
161
  no longer obscure the original error.  These methods now use a new
 
162
  decorator, ``only_raises``.  This fixes many causes of
 
163
  ``TooManyConcurrentRequests`` and similar errors.
 
164
  (Andrew Bennetts, #429747)
 
165
 
 
166
 
156
167
Documentation
157
168
*************
158
169
 
164
175
API Changes
165
176
***********
166
177
 
167
 
* ``ProgressTask.note`` is deprecated.
168
 
  (Martin Pool)
169
 
 
170
178
* ``bzrlib.user_encoding`` has been removed; use
171
179
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
172
180
 
173
181
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
174
182
  subclasses - the same as python's unittest module. (Robert Collins)
 
183
  
 
184
* ``diff._get_trees_to_diff`` has been renamed to 
 
185
  ``diff.get_trees_and_branches_to_diff``. It is now a public API, and it 
 
186
  returns the old and new branches. (Gary van der Merwe)
175
187
 
176
188
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
177
189
  (Martin Pool)
178
190
 
 
191
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
 
192
  now defaults to comparing to the basis tree. It now checks for pending
 
193
  merges too.  ``Merger.check_basis`` has been deprecated and replaced by the
 
194
  corresponding has_changes() calls. ``Merge.compare_basis``,
 
195
  ``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
 
196
  been deprecated.
 
197
  (Vincent Ladeuil, #440631)
 
198
 
 
199
* ``ProgressTask.note`` is deprecated.
 
200
  (Martin Pool)
 
201
 
179
202
Internals
180
203
*********
181
204
 
 
205
* Added ``-Drelock`` debug flag.  It will ``note`` a message every time a
 
206
  repository or branch object is unlocked then relocked the same way.
 
207
  (Andrew Bennetts)
 
208
  
 
209
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
 
210
  Dict (it only holds keys, but you can lookup the object located at a
 
211
  given key). It has significantly reduced memory consumption versus the
 
212
  builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This will
 
213
  be used as the interning structure for StaticTuple objects, as part of
 
214
  an ongoing push to reduce peak memory consumption.  (John Arbash Meinel)
 
215
 
182
216
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
183
217
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
184
218
  This results in a 10% speedup while reading an index.