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