~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/request.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
 
34
34
import tempfile
 
35
import thread
35
36
import threading
36
37
 
37
38
from bzrlib import (
291
292
        self._command = None
292
293
        if 'hpss' in debug.debug_flags:
293
294
            self._request_start_time = osutils.timer_func()
294
 
            self._thread_id = threading.currentThread().get_ident()
 
295
            self._thread_id = thread.get_ident()
295
296
 
296
297
    def _trace(self, action, message, extra_bytes=None, include_time=False):
297
298
        # It is a bit of a shame that this functionality overlaps with that of 
560
561
    'BzrDir.open_branchV2', 'bzrlib.smart.bzrdir',
561
562
    'SmartServerRequestOpenBranchV2')
562
563
request_handlers.register_lazy(
 
564
    'BzrDir.open_branchV3', 'bzrlib.smart.bzrdir',
 
565
    'SmartServerRequestOpenBranchV3')
 
566
request_handlers.register_lazy(
563
567
    'delete', 'bzrlib.smart.vfs', 'DeleteRequest')
564
568
request_handlers.register_lazy(
565
569
    'get', 'bzrlib.smart.vfs', 'GetRequest')