/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/smart/request.py

Add a NEWS entry and prepare submission.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006-2010 Canonical Ltd
 
1
# Copyright (C) 2006, 2007 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
32
32
 
33
33
 
34
34
import tempfile
35
 
import thread
36
35
import threading
37
36
 
38
37
from bzrlib import (
292
291
        self._command = None
293
292
        if 'hpss' in debug.debug_flags:
294
293
            self._request_start_time = osutils.timer_func()
295
 
            self._thread_id = thread.get_ident()
 
294
            self._thread_id = threading.currentThread().get_ident()
296
295
 
297
296
    def _trace(self, action, message, extra_bytes=None, include_time=False):
298
297
        # It is a bit of a shame that this functionality overlaps with that of 
510
509
    'bzrlib.smart.branch', 'SmartServerRequestRevisionHistory')
511
510
request_handlers.register_lazy( 'Branch.set_config_option',
512
511
    'bzrlib.smart.branch', 'SmartServerBranchRequestSetConfigOption')
513
 
request_handlers.register_lazy( 'Branch.set_config_option_dict',
514
 
    'bzrlib.smart.branch', 'SmartServerBranchRequestSetConfigOptionDict')
515
512
request_handlers.register_lazy( 'Branch.set_last_revision',
516
513
    'bzrlib.smart.branch', 'SmartServerBranchRequestSetLastRevision')
517
514
request_handlers.register_lazy(
563
560
    'BzrDir.open_branchV2', 'bzrlib.smart.bzrdir',
564
561
    'SmartServerRequestOpenBranchV2')
565
562
request_handlers.register_lazy(
566
 
    'BzrDir.open_branchV3', 'bzrlib.smart.bzrdir',
567
 
    'SmartServerRequestOpenBranchV3')
568
 
request_handlers.register_lazy(
569
563
    'delete', 'bzrlib.smart.vfs', 'DeleteRequest')
570
564
request_handlers.register_lazy(
571
565
    'get', 'bzrlib.smart.vfs', 'GetRequest')