~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-08 03:00:11 UTC
  • mfrom: (4789.2.1 bzrdirvfswarning)
  • Revision ID: pqm@pqm.ubuntu.com-20091108030011-4ifz210jwrd3ewkv
(robertc) Extend -Dhpssvfs debugging support to BzrDir._ensure_real.
        (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
        Used before calls to self._real_bzrdir.
155
155
        """
156
156
        if not self._real_bzrdir:
 
157
            if 'hpssvfs' in debug.debug_flags:
 
158
                import traceback
 
159
                warning('VFS BzrDir access triggered\n%s',
 
160
                    ''.join(traceback.format_stack()))
157
161
            self._real_bzrdir = BzrDir.open_from_transport(
158
162
                self.root_transport, _server_formats=False)
159
163
            self._format._network_name = \