~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-05 11:31:58 UTC
  • mto: This revision was merged to the branch mainline in revision 5757.
  • Revision ID: jelmer@samba.org-20110405113158-jyxg63dywvs843vy
Review feedback from John.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    osutils,
42
42
    revision as _mod_revision,
43
43
    revisiontree,
 
44
    trace,
44
45
    transform,
45
46
    views,
46
47
    )
58
59
    realpath,
59
60
    safe_unicode,
60
61
    )
61
 
from bzrlib.trace import mutter, mutter_callsite
62
62
from bzrlib.transport.local import LocalTransport
63
63
from bzrlib.tree import InterTree
64
64
from bzrlib.tree import Tree
81
81
        self._format = _format
82
82
        self.bzrdir = _bzrdir
83
83
        basedir = safe_unicode(basedir)
84
 
        mutter("opening working tree %r", basedir)
 
84
        trace.mutter("opening working tree %r", basedir)
85
85
        self._branch = branch
86
86
        self.basedir = realpath(basedir)
87
87
        # if branch is at our basedir and is a format 6 or less
389
389
    def _get_inventory(self):
390
390
        """Get the inventory for the tree. This is only valid within a lock."""
391
391
        if 'evil' in debug.debug_flags:
392
 
            mutter_callsite(2,
 
392
            trace.mutter_callsite(2,
393
393
                "accessing .inventory forces a size of tree translation.")
394
394
        if self._inventory is not None:
395
395
            return self._inventory