~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Robert Collins
  • Date: 2007-08-23 21:36:56 UTC
  • mto: (2592.3.105 repository)
  • mto: This revision was merged to the branch mainline in revision 2746.
  • Revision ID: robertc@robertcollins.net-20070823213656-055xdmkyesohby3u
Add a number of -Devil checkpoints.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    bzrdir,
44
44
    cache_utf8,
45
45
    conflicts as _mod_conflicts,
 
46
    debug,
46
47
    delta,
47
48
    dirstate,
48
49
    errors,
62
63
    )
63
64
import bzrlib.branch
64
65
from bzrlib.transport import get_transport
 
66
from bzrlib.trace import mutter_callsite
65
67
import bzrlib.ui
66
68
""")
67
69
 
431
433
 
432
434
    def _get_inventory(self):
433
435
        """Get the inventory for the tree. This is only valid within a lock."""
 
436
        if 'evil' in debug.debug_flags:
 
437
            mutter_callsite(2,
 
438
                "accessing .inventory forces a size of tree translation.")
434
439
        if self._inventory is not None:
435
440
            return self._inventory
436
441
        self._must_be_locked()