~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/index.py

Merge -Devil checking patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
from bzrlib.lazy_import import lazy_import
31
31
lazy_import(globals(), """
32
 
from bzrlib.trace import mutter
 
32
from bzrlib.trace import mutter, mutter_callsite
33
33
""")
34
34
from bzrlib import debug, errors
35
35
 
322
322
            There is no defined order for the result iteration - it will be in
323
323
            the most efficient order for the index.
324
324
        """
 
325
        if 'evil' in debug.debug_flags:
 
326
            mutter_callsite(2, "iter_all_entries scales with size of history.")
325
327
        if self._nodes is None:
326
328
            self._buffer_all()
327
329
        if self.node_ref_lists:
610
612
            defined order for the result iteration - it will be in the most
611
613
            efficient order for the index (in this case dictionary hash order).
612
614
        """
 
615
        if 'evil' in debug.debug_flags:
 
616
            mutter_callsite(2, "iter_all_entries scales with size of history.")
613
617
        if self.reference_lists:
614
618
            for key, (absent, references, value) in self._nodes.iteritems():
615
619
                if not absent: