~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-08-24 03:16:12 UTC
  • mfrom: (2745.1.2 devil)
  • Revision ID: pqm@pqm.ubuntu.com-20070824031612-53wd9sywqa4zima5
(robertc) Add a number of -Devil checks.

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,
55
56
    revision as _mod_revision,
56
57
    revisiontree,
57
58
    textui,
 
59
    trace,
58
60
    transform,
59
61
    urlutils,
60
62
    xml5,
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
            trace.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()