26
26
of times during a request).
29
from __future__ import absolute_import
31
29
# XXX: The class names are a little confusing: the protocol will instantiate a
32
30
# SmartServerRequestHandler, whose dispatch_command method creates an instance
33
31
# of a SmartServerRequest subclass.
585
583
'Branch.revision_id_to_revno', 'bzrlib.smart.branch',
586
584
'SmartServerBranchRequestRevisionIdToRevno', info='read')
587
585
request_handlers.register_lazy(
588
'BzrDir.checkout_metadir', 'bzrlib.smart.bzrdir',
589
'SmartServerBzrDirRequestCheckoutMetaDir', info='read')
590
request_handlers.register_lazy(
591
586
'BzrDir.cloning_metadir', 'bzrlib.smart.bzrdir',
592
587
'SmartServerBzrDirRequestCloningMetaDir', info='read')
593
588
request_handlers.register_lazy(
606
601
'BzrDir.find_repositoryV3', 'bzrlib.smart.bzrdir',
607
602
'SmartServerRequestFindRepositoryV3', info='read')
608
603
request_handlers.register_lazy(
609
'BzrDir.get_branches', 'bzrlib.smart.bzrdir',
610
'SmartServerBzrDirRequestGetBranches', info='read')
611
request_handlers.register_lazy(
612
604
'BzrDir.get_config_file', 'bzrlib.smart.bzrdir',
613
605
'SmartServerBzrDirRequestConfigFile', info='read')
614
606
request_handlers.register_lazy(
756
748
'Repository.check_write_group', 'bzrlib.smart.repository',
757
749
'SmartServerRepositoryCheckWriteGroup', info='read')
758
750
request_handlers.register_lazy(
759
'Repository.reconcile', 'bzrlib.smart.repository',
760
'SmartServerRepositoryReconcile', info='idem')
751
'VersionedFileRepository.get_serializer_format', 'bzrlib.smart.repository',
752
'SmartServerRepositoryGetSerializerFormat', info='read')
761
753
request_handlers.register_lazy(
762
754
'Repository.tarball', 'bzrlib.smart.repository',
763
755
'SmartServerRepositoryTarball', info='read')
764
756
request_handlers.register_lazy(
765
'VersionedFileRepository.get_serializer_format', 'bzrlib.smart.repository',
766
'SmartServerRepositoryGetSerializerFormat', info='read')
767
request_handlers.register_lazy(
768
'VersionedFileRepository.get_inventories', 'bzrlib.smart.repository',
769
'SmartServerRepositoryGetInventories', info='read')
770
request_handlers.register_lazy(
771
757
'rmdir', 'bzrlib.smart.vfs', 'RmdirRequest', info='semivfs')
772
758
request_handlers.register_lazy(
773
759
'stat', 'bzrlib.smart.vfs', 'StatRequest', info='read')