At http://bzr.arbash-meinel.com/branches/bzr/1.10-dev/builder_iter_entries

------------------------------------------------------------
revno: 3850
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: John Arbash Meinel <[EMAIL PROTECTED]>
branch nick: builder_iter_entries
timestamp: Tue 2008-11-25 12:55:38 -0600
message:
  Bring back the shortcut
=== modified file 'bzrlib/btree_index.py'
--- a/bzrlib/btree_index.py     2008-11-25 18:29:54 +0000
+++ b/bzrlib/btree_index.py     2008-11-25 18:55:38 +0000
@@ -442,6 +442,8 @@
                 yield self, key, node[1]
         # Find things that are in backing indices that have not been handled
         # yet.
+        if not self._backing_indices:
+            return # We won't find anything there either
         # Remove all of the keys that we found locally
         keys.difference_update(local_keys)
         for backing in self._backing_indices:

-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to