517
482
if self._backing_transport.is_readonly():
521
486
return SuccessfulSmartServerResponse((answer,))
524
# In the 'info' attribute, we store whether this request is 'safe' to retry if
525
# we get a disconnect while reading the response. It can have the values:
526
# read This is purely a read request, so retrying it is perfectly ok.
527
# idem An idempotent write request. Something like 'put' where if you put
528
# the same bytes twice you end up with the same final bytes.
529
# semi This is a request that isn't strictly idempotent, but doesn't
530
# result in corruption if it is retried. This is for things like
531
# 'lock' and 'unlock'. If you call lock, it updates the disk
532
# structure. If you fail to read the response, you won't be able to
533
# use the lock, because you don't have the lock token. Calling lock
534
# again will fail, because the lock is already taken. However, we
535
# can't tell if the server received our request or not. If it didn't,
536
# then retrying the request is fine, as it will actually do what we
537
# want. If it did, we will interrupt the current operation, but we
538
# are no worse off than interrupting the current operation because of
540
# semivfs Similar to semi, but specific to a Virtual FileSystem request.
541
# stream This is a request that takes a stream that cannot be restarted if
542
# consumed. This request is 'safe' in that if we determine the
543
# connection is closed before we consume the stream, we can try
545
# mutate State is updated in a way that replaying that request results in a
546
# different state. For example 'append' writes more bytes to a given
547
# file. If append succeeds, it moves the file pointer.
548
489
request_handlers = registry.Registry()
549
490
request_handlers.register_lazy(
550
b'append', 'breezy.bzr.smart.vfs', 'AppendRequest', info='mutate')
551
request_handlers.register_lazy(
552
b'Branch.break_lock', 'breezy.bzr.smart.branch',
553
'SmartServerBranchBreakLock', info='idem')
554
request_handlers.register_lazy(
555
b'Branch.get_config_file', 'breezy.bzr.smart.branch',
556
'SmartServerBranchGetConfigFile', info='read')
557
request_handlers.register_lazy(
558
b'Branch.get_parent', 'breezy.bzr.smart.branch', 'SmartServerBranchGetParent',
560
request_handlers.register_lazy(
561
b'Branch.put_config_file', 'breezy.bzr.smart.branch',
562
'SmartServerBranchPutConfigFile', info='idem')
563
request_handlers.register_lazy(
564
b'Branch.get_tags_bytes', 'breezy.bzr.smart.branch',
565
'SmartServerBranchGetTagsBytes', info='read')
566
request_handlers.register_lazy(
567
b'Branch.set_tags_bytes', 'breezy.bzr.smart.branch',
568
'SmartServerBranchSetTagsBytes', info='idem')
569
request_handlers.register_lazy(
570
b'Branch.heads_to_fetch', 'breezy.bzr.smart.branch',
571
'SmartServerBranchHeadsToFetch', info='read')
572
request_handlers.register_lazy(
573
b'Branch.get_stacked_on_url', 'breezy.bzr.smart.branch',
574
'SmartServerBranchRequestGetStackedOnURL', info='read')
575
request_handlers.register_lazy(
576
b'Branch.get_physical_lock_status', 'breezy.bzr.smart.branch',
577
'SmartServerBranchRequestGetPhysicalLockStatus', info='read')
578
request_handlers.register_lazy(
579
b'Branch.last_revision_info', 'breezy.bzr.smart.branch',
580
'SmartServerBranchRequestLastRevisionInfo', info='read')
581
request_handlers.register_lazy(
582
b'Branch.lock_write', 'breezy.bzr.smart.branch',
583
'SmartServerBranchRequestLockWrite', info='semi')
584
request_handlers.register_lazy(
585
b'Branch.revision_history', 'breezy.bzr.smart.branch',
586
'SmartServerRequestRevisionHistory', info='read')
587
request_handlers.register_lazy(
588
b'Branch.set_config_option', 'breezy.bzr.smart.branch',
589
'SmartServerBranchRequestSetConfigOption', info='idem')
590
request_handlers.register_lazy(
591
b'Branch.set_config_option_dict', 'breezy.bzr.smart.branch',
592
'SmartServerBranchRequestSetConfigOptionDict', info='idem')
593
request_handlers.register_lazy(
594
b'Branch.set_last_revision', 'breezy.bzr.smart.branch',
595
'SmartServerBranchRequestSetLastRevision', info='idem')
596
request_handlers.register_lazy(
597
b'Branch.set_last_revision_info', 'breezy.bzr.smart.branch',
598
'SmartServerBranchRequestSetLastRevisionInfo', info='idem')
599
request_handlers.register_lazy(
600
b'Branch.set_last_revision_ex', 'breezy.bzr.smart.branch',
601
'SmartServerBranchRequestSetLastRevisionEx', info='idem')
602
request_handlers.register_lazy(
603
b'Branch.set_parent_location', 'breezy.bzr.smart.branch',
604
'SmartServerBranchRequestSetParentLocation', info='idem')
605
request_handlers.register_lazy(
606
b'Branch.unlock', 'breezy.bzr.smart.branch',
607
'SmartServerBranchRequestUnlock', info='semi')
608
request_handlers.register_lazy(
609
b'Branch.revision_id_to_revno', 'breezy.bzr.smart.branch',
610
'SmartServerBranchRequestRevisionIdToRevno', info='read')
611
request_handlers.register_lazy(
612
b'Branch.get_all_reference_info', 'breezy.bzr.smart.branch',
613
'SmartServerBranchRequestGetAllReferenceInfo', info='read')
614
request_handlers.register_lazy(
615
b'BzrDir.checkout_metadir', 'breezy.bzr.smart.bzrdir',
616
'SmartServerBzrDirRequestCheckoutMetaDir', info='read')
617
request_handlers.register_lazy(
618
b'BzrDir.cloning_metadir', 'breezy.bzr.smart.bzrdir',
619
'SmartServerBzrDirRequestCloningMetaDir', info='read')
620
request_handlers.register_lazy(
621
b'BzrDir.create_branch', 'breezy.bzr.smart.bzrdir',
622
'SmartServerRequestCreateBranch', info='semi')
623
request_handlers.register_lazy(
624
b'BzrDir.create_repository', 'breezy.bzr.smart.bzrdir',
625
'SmartServerRequestCreateRepository', info='semi')
626
request_handlers.register_lazy(
627
b'BzrDir.find_repository', 'breezy.bzr.smart.bzrdir',
628
'SmartServerRequestFindRepositoryV1', info='read')
629
request_handlers.register_lazy(
630
b'BzrDir.find_repositoryV2', 'breezy.bzr.smart.bzrdir',
631
'SmartServerRequestFindRepositoryV2', info='read')
632
request_handlers.register_lazy(
633
b'BzrDir.find_repositoryV3', 'breezy.bzr.smart.bzrdir',
634
'SmartServerRequestFindRepositoryV3', info='read')
635
request_handlers.register_lazy(
636
b'BzrDir.get_branches', 'breezy.bzr.smart.bzrdir',
637
'SmartServerBzrDirRequestGetBranches', info='read')
638
request_handlers.register_lazy(
639
b'BzrDir.get_config_file', 'breezy.bzr.smart.bzrdir',
640
'SmartServerBzrDirRequestConfigFile', info='read')
641
request_handlers.register_lazy(
642
b'BzrDir.destroy_branch', 'breezy.bzr.smart.bzrdir',
643
'SmartServerBzrDirRequestDestroyBranch', info='semi')
644
request_handlers.register_lazy(
645
b'BzrDir.destroy_repository', 'breezy.bzr.smart.bzrdir',
646
'SmartServerBzrDirRequestDestroyRepository', info='semi')
647
request_handlers.register_lazy(
648
b'BzrDir.has_workingtree', 'breezy.bzr.smart.bzrdir',
649
'SmartServerBzrDirRequestHasWorkingTree', info='read')
650
request_handlers.register_lazy(
651
b'BzrDirFormat.initialize', 'breezy.bzr.smart.bzrdir',
652
'SmartServerRequestInitializeBzrDir', info='semi')
653
request_handlers.register_lazy(
654
b'BzrDirFormat.initialize_ex_1.16', 'breezy.bzr.smart.bzrdir',
655
'SmartServerRequestBzrDirInitializeEx', info='semi')
656
request_handlers.register_lazy(
657
b'BzrDir.open', 'breezy.bzr.smart.bzrdir', 'SmartServerRequestOpenBzrDir',
659
request_handlers.register_lazy(
660
b'BzrDir.open_2.1', 'breezy.bzr.smart.bzrdir',
661
'SmartServerRequestOpenBzrDir_2_1', info='read')
662
request_handlers.register_lazy(
663
b'BzrDir.open_branch', 'breezy.bzr.smart.bzrdir',
664
'SmartServerRequestOpenBranch', info='read')
665
request_handlers.register_lazy(
666
b'BzrDir.open_branchV2', 'breezy.bzr.smart.bzrdir',
667
'SmartServerRequestOpenBranchV2', info='read')
668
request_handlers.register_lazy(
669
b'BzrDir.open_branchV3', 'breezy.bzr.smart.bzrdir',
670
'SmartServerRequestOpenBranchV3', info='read')
671
request_handlers.register_lazy(
672
b'delete', 'breezy.bzr.smart.vfs', 'DeleteRequest', info='semivfs')
673
request_handlers.register_lazy(
674
b'get', 'breezy.bzr.smart.vfs', 'GetRequest', info='read')
675
request_handlers.register_lazy(
676
b'get_bundle', 'breezy.bzr.smart.request', 'GetBundleRequest', info='read')
677
request_handlers.register_lazy(
678
b'has', 'breezy.bzr.smart.vfs', 'HasRequest', info='read')
679
request_handlers.register_lazy(
680
b'hello', 'breezy.bzr.smart.request', 'HelloRequest', info='read')
681
request_handlers.register_lazy(
682
b'iter_files_recursive', 'breezy.bzr.smart.vfs', 'IterFilesRecursiveRequest',
684
request_handlers.register_lazy(
685
b'list_dir', 'breezy.bzr.smart.vfs', 'ListDirRequest', info='read')
686
request_handlers.register_lazy(
687
b'mkdir', 'breezy.bzr.smart.vfs', 'MkdirRequest', info='semivfs')
688
request_handlers.register_lazy(
689
b'move', 'breezy.bzr.smart.vfs', 'MoveRequest', info='semivfs')
690
request_handlers.register_lazy(
691
b'put', 'breezy.bzr.smart.vfs', 'PutRequest', info='idem')
692
request_handlers.register_lazy(
693
b'put_non_atomic', 'breezy.bzr.smart.vfs', 'PutNonAtomicRequest', info='idem')
694
request_handlers.register_lazy(
695
b'readv', 'breezy.bzr.smart.vfs', 'ReadvRequest', info='read')
696
request_handlers.register_lazy(
697
b'rename', 'breezy.bzr.smart.vfs', 'RenameRequest', info='semivfs')
698
request_handlers.register_lazy(
699
b'Repository.add_signature_text', 'breezy.bzr.smart.repository',
700
'SmartServerRepositoryAddSignatureText', info='idem')
701
request_handlers.register_lazy(
702
b'Repository.annotate_file_revision', 'breezy.bzr.smart.repository',
703
'SmartServerRepositoryAnnotateFileRevision', info='read')
704
request_handlers.register_lazy(
705
b'Repository.all_revision_ids', 'breezy.bzr.smart.repository',
706
'SmartServerRepositoryAllRevisionIds', info='read')
707
request_handlers.register_lazy(
708
b'PackRepository.autopack', 'breezy.bzr.smart.packrepository',
709
'SmartServerPackRepositoryAutopack', info='idem')
710
request_handlers.register_lazy(
711
b'Repository.break_lock', 'breezy.bzr.smart.repository',
712
'SmartServerRepositoryBreakLock', info='idem')
713
request_handlers.register_lazy(
714
b'Repository.gather_stats', 'breezy.bzr.smart.repository',
715
'SmartServerRepositoryGatherStats', info='read')
716
request_handlers.register_lazy(
717
b'Repository.get_parent_map', 'breezy.bzr.smart.repository',
718
'SmartServerRepositoryGetParentMap', info='read')
719
request_handlers.register_lazy(
720
b'Repository.get_revision_graph', 'breezy.bzr.smart.repository',
721
'SmartServerRepositoryGetRevisionGraph', info='read')
722
request_handlers.register_lazy(
723
b'Repository.get_revision_signature_text', 'breezy.bzr.smart.repository',
724
'SmartServerRepositoryGetRevisionSignatureText', info='read')
725
request_handlers.register_lazy(
726
b'Repository.has_revision', 'breezy.bzr.smart.repository',
727
'SmartServerRequestHasRevision', info='read')
728
request_handlers.register_lazy(
729
b'Repository.has_signature_for_revision_id', 'breezy.bzr.smart.repository',
730
'SmartServerRequestHasSignatureForRevisionId', info='read')
731
request_handlers.register_lazy(
732
b'Repository.insert_stream', 'breezy.bzr.smart.repository',
733
'SmartServerRepositoryInsertStream', info='stream')
734
request_handlers.register_lazy(
735
b'Repository.insert_stream_1.19', 'breezy.bzr.smart.repository',
736
'SmartServerRepositoryInsertStream_1_19', info='stream')
737
request_handlers.register_lazy(
738
b'Repository.insert_stream_locked', 'breezy.bzr.smart.repository',
739
'SmartServerRepositoryInsertStreamLocked', info='stream')
740
request_handlers.register_lazy(
741
b'Repository.is_shared', 'breezy.bzr.smart.repository',
742
'SmartServerRepositoryIsShared', info='read')
743
request_handlers.register_lazy(
744
b'Repository.iter_files_bytes', 'breezy.bzr.smart.repository',
745
'SmartServerRepositoryIterFilesBytes', info='read')
746
request_handlers.register_lazy(
747
b'Repository.lock_write', 'breezy.bzr.smart.repository',
748
'SmartServerRepositoryLockWrite', info='semi')
749
request_handlers.register_lazy(
750
b'Repository.make_working_trees', 'breezy.bzr.smart.repository',
751
'SmartServerRepositoryMakeWorkingTrees', info='read')
752
request_handlers.register_lazy(
753
b'Repository.set_make_working_trees', 'breezy.bzr.smart.repository',
754
'SmartServerRepositorySetMakeWorkingTrees', info='idem')
755
request_handlers.register_lazy(
756
b'Repository.unlock', 'breezy.bzr.smart.repository',
757
'SmartServerRepositoryUnlock', info='semi')
758
request_handlers.register_lazy(
759
b'Repository.get_physical_lock_status', 'breezy.bzr.smart.repository',
760
'SmartServerRepositoryGetPhysicalLockStatus', info='read')
761
request_handlers.register_lazy(
762
b'Repository.get_rev_id_for_revno', 'breezy.bzr.smart.repository',
763
'SmartServerRepositoryGetRevIdForRevno', info='read')
764
request_handlers.register_lazy(
765
b'Repository.get_stream', 'breezy.bzr.smart.repository',
766
'SmartServerRepositoryGetStream', info='read')
767
request_handlers.register_lazy(
768
b'Repository.get_stream_1.19', 'breezy.bzr.smart.repository',
769
'SmartServerRepositoryGetStream_1_19', info='read')
770
request_handlers.register_lazy(
771
b'Repository.get_stream_for_missing_keys', 'breezy.bzr.smart.repository',
772
'SmartServerRepositoryGetStreamForMissingKeys', info='read')
773
request_handlers.register_lazy(
774
b'Repository.iter_revisions', 'breezy.bzr.smart.repository',
775
'SmartServerRepositoryIterRevisions', info='read')
776
request_handlers.register_lazy(
777
b'Repository.pack', 'breezy.bzr.smart.repository',
778
'SmartServerRepositoryPack', info='idem')
779
request_handlers.register_lazy(
780
b'Repository.start_write_group', 'breezy.bzr.smart.repository',
781
'SmartServerRepositoryStartWriteGroup', info='semi')
782
request_handlers.register_lazy(
783
b'Repository.commit_write_group', 'breezy.bzr.smart.repository',
784
'SmartServerRepositoryCommitWriteGroup', info='semi')
785
request_handlers.register_lazy(
786
b'Repository.abort_write_group', 'breezy.bzr.smart.repository',
787
'SmartServerRepositoryAbortWriteGroup', info='semi')
788
request_handlers.register_lazy(
789
b'Repository.check_write_group', 'breezy.bzr.smart.repository',
790
'SmartServerRepositoryCheckWriteGroup', info='read')
791
request_handlers.register_lazy(
792
b'Repository.reconcile', 'breezy.bzr.smart.repository',
793
'SmartServerRepositoryReconcile', info='idem')
794
request_handlers.register_lazy(
795
b'Repository.revision_archive', 'breezy.bzr.smart.repository',
796
'SmartServerRepositoryRevisionArchive', info='read')
797
request_handlers.register_lazy(
798
b'Repository.tarball', 'breezy.bzr.smart.repository',
799
'SmartServerRepositoryTarball', info='read')
800
request_handlers.register_lazy(
801
b'VersionedFileRepository.get_serializer_format', 'breezy.bzr.smart.repository',
802
'SmartServerRepositoryGetSerializerFormat', info='read')
803
request_handlers.register_lazy(
804
b'VersionedFileRepository.get_inventories', 'breezy.bzr.smart.repository',
805
'SmartServerRepositoryGetInventories', info='read')
806
request_handlers.register_lazy(
807
b'rmdir', 'breezy.bzr.smart.vfs', 'RmdirRequest', info='semivfs')
808
request_handlers.register_lazy(
809
b'stat', 'breezy.bzr.smart.vfs', 'StatRequest', info='read')
810
request_handlers.register_lazy(
811
b'Transport.is_readonly', 'breezy.bzr.smart.request',
812
'SmartServerIsReadonly', info='read')
491
'append', 'bzrlib.smart.vfs', 'AppendRequest')
492
request_handlers.register_lazy(
493
'Branch.get_config_file', 'bzrlib.smart.branch',
494
'SmartServerBranchGetConfigFile')
495
request_handlers.register_lazy(
496
'Branch.get_parent', 'bzrlib.smart.branch', 'SmartServerBranchGetParent')
497
request_handlers.register_lazy(
498
'Branch.get_tags_bytes', 'bzrlib.smart.branch',
499
'SmartServerBranchGetTagsBytes')
500
request_handlers.register_lazy(
501
'Branch.set_tags_bytes', 'bzrlib.smart.branch',
502
'SmartServerBranchSetTagsBytes')
503
request_handlers.register_lazy(
504
'Branch.get_stacked_on_url', 'bzrlib.smart.branch', 'SmartServerBranchRequestGetStackedOnURL')
505
request_handlers.register_lazy(
506
'Branch.last_revision_info', 'bzrlib.smart.branch', 'SmartServerBranchRequestLastRevisionInfo')
507
request_handlers.register_lazy(
508
'Branch.lock_write', 'bzrlib.smart.branch', 'SmartServerBranchRequestLockWrite')
509
request_handlers.register_lazy( 'Branch.revision_history',
510
'bzrlib.smart.branch', 'SmartServerRequestRevisionHistory')
511
request_handlers.register_lazy( 'Branch.set_config_option',
512
'bzrlib.smart.branch', 'SmartServerBranchRequestSetConfigOption')
513
request_handlers.register_lazy( 'Branch.set_last_revision',
514
'bzrlib.smart.branch', 'SmartServerBranchRequestSetLastRevision')
515
request_handlers.register_lazy(
516
'Branch.set_last_revision_info', 'bzrlib.smart.branch',
517
'SmartServerBranchRequestSetLastRevisionInfo')
518
request_handlers.register_lazy(
519
'Branch.set_last_revision_ex', 'bzrlib.smart.branch',
520
'SmartServerBranchRequestSetLastRevisionEx')
521
request_handlers.register_lazy(
522
'Branch.set_parent_location', 'bzrlib.smart.branch',
523
'SmartServerBranchRequestSetParentLocation')
524
request_handlers.register_lazy(
525
'Branch.unlock', 'bzrlib.smart.branch', 'SmartServerBranchRequestUnlock')
526
request_handlers.register_lazy(
527
'BzrDir.cloning_metadir', 'bzrlib.smart.bzrdir',
528
'SmartServerBzrDirRequestCloningMetaDir')
529
request_handlers.register_lazy(
530
'BzrDir.create_branch', 'bzrlib.smart.bzrdir',
531
'SmartServerRequestCreateBranch')
532
request_handlers.register_lazy(
533
'BzrDir.create_repository', 'bzrlib.smart.bzrdir',
534
'SmartServerRequestCreateRepository')
535
request_handlers.register_lazy(
536
'BzrDir.find_repository', 'bzrlib.smart.bzrdir',
537
'SmartServerRequestFindRepositoryV1')
538
request_handlers.register_lazy(
539
'BzrDir.find_repositoryV2', 'bzrlib.smart.bzrdir',
540
'SmartServerRequestFindRepositoryV2')
541
request_handlers.register_lazy(
542
'BzrDir.find_repositoryV3', 'bzrlib.smart.bzrdir',
543
'SmartServerRequestFindRepositoryV3')
544
request_handlers.register_lazy(
545
'BzrDir.get_config_file', 'bzrlib.smart.bzrdir',
546
'SmartServerBzrDirRequestConfigFile')
547
request_handlers.register_lazy(
548
'BzrDirFormat.initialize', 'bzrlib.smart.bzrdir',
549
'SmartServerRequestInitializeBzrDir')
550
request_handlers.register_lazy(
551
'BzrDirFormat.initialize_ex_1.16', 'bzrlib.smart.bzrdir',
552
'SmartServerRequestBzrDirInitializeEx')
553
request_handlers.register_lazy(
554
'BzrDir.open', 'bzrlib.smart.bzrdir', 'SmartServerRequestOpenBzrDir')
555
request_handlers.register_lazy(
556
'BzrDir.open_2.1', 'bzrlib.smart.bzrdir', 'SmartServerRequestOpenBzrDir_2_1')
557
request_handlers.register_lazy(
558
'BzrDir.open_branch', 'bzrlib.smart.bzrdir',
559
'SmartServerRequestOpenBranch')
560
request_handlers.register_lazy(
561
'BzrDir.open_branchV2', 'bzrlib.smart.bzrdir',
562
'SmartServerRequestOpenBranchV2')
563
request_handlers.register_lazy(
564
'BzrDir.open_branchV3', 'bzrlib.smart.bzrdir',
565
'SmartServerRequestOpenBranchV3')
566
request_handlers.register_lazy(
567
'delete', 'bzrlib.smart.vfs', 'DeleteRequest')
568
request_handlers.register_lazy(
569
'get', 'bzrlib.smart.vfs', 'GetRequest')
570
request_handlers.register_lazy(
571
'get_bundle', 'bzrlib.smart.request', 'GetBundleRequest')
572
request_handlers.register_lazy(
573
'has', 'bzrlib.smart.vfs', 'HasRequest')
574
request_handlers.register_lazy(
575
'hello', 'bzrlib.smart.request', 'HelloRequest')
576
request_handlers.register_lazy(
577
'iter_files_recursive', 'bzrlib.smart.vfs', 'IterFilesRecursiveRequest')
578
request_handlers.register_lazy(
579
'list_dir', 'bzrlib.smart.vfs', 'ListDirRequest')
580
request_handlers.register_lazy(
581
'mkdir', 'bzrlib.smart.vfs', 'MkdirRequest')
582
request_handlers.register_lazy(
583
'move', 'bzrlib.smart.vfs', 'MoveRequest')
584
request_handlers.register_lazy(
585
'put', 'bzrlib.smart.vfs', 'PutRequest')
586
request_handlers.register_lazy(
587
'put_non_atomic', 'bzrlib.smart.vfs', 'PutNonAtomicRequest')
588
request_handlers.register_lazy(
589
'readv', 'bzrlib.smart.vfs', 'ReadvRequest')
590
request_handlers.register_lazy(
591
'rename', 'bzrlib.smart.vfs', 'RenameRequest')
592
request_handlers.register_lazy(
593
'PackRepository.autopack', 'bzrlib.smart.packrepository',
594
'SmartServerPackRepositoryAutopack')
595
request_handlers.register_lazy('Repository.gather_stats',
596
'bzrlib.smart.repository',
597
'SmartServerRepositoryGatherStats')
598
request_handlers.register_lazy('Repository.get_parent_map',
599
'bzrlib.smart.repository',
600
'SmartServerRepositoryGetParentMap')
601
request_handlers.register_lazy(
602
'Repository.get_revision_graph', 'bzrlib.smart.repository', 'SmartServerRepositoryGetRevisionGraph')
603
request_handlers.register_lazy(
604
'Repository.has_revision', 'bzrlib.smart.repository', 'SmartServerRequestHasRevision')
605
request_handlers.register_lazy(
606
'Repository.insert_stream', 'bzrlib.smart.repository', 'SmartServerRepositoryInsertStream')
607
request_handlers.register_lazy(
608
'Repository.insert_stream_1.19', 'bzrlib.smart.repository', 'SmartServerRepositoryInsertStream_1_19')
609
request_handlers.register_lazy(
610
'Repository.insert_stream_locked', 'bzrlib.smart.repository', 'SmartServerRepositoryInsertStreamLocked')
611
request_handlers.register_lazy(
612
'Repository.is_shared', 'bzrlib.smart.repository', 'SmartServerRepositoryIsShared')
613
request_handlers.register_lazy(
614
'Repository.lock_write', 'bzrlib.smart.repository', 'SmartServerRepositoryLockWrite')
615
request_handlers.register_lazy(
616
'Repository.set_make_working_trees', 'bzrlib.smart.repository',
617
'SmartServerRepositorySetMakeWorkingTrees')
618
request_handlers.register_lazy(
619
'Repository.unlock', 'bzrlib.smart.repository', 'SmartServerRepositoryUnlock')
620
request_handlers.register_lazy(
621
'Repository.get_rev_id_for_revno', 'bzrlib.smart.repository',
622
'SmartServerRepositoryGetRevIdForRevno')
623
request_handlers.register_lazy(
624
'Repository.get_stream', 'bzrlib.smart.repository',
625
'SmartServerRepositoryGetStream')
626
request_handlers.register_lazy(
627
'Repository.get_stream_1.19', 'bzrlib.smart.repository',
628
'SmartServerRepositoryGetStream_1_19')
629
request_handlers.register_lazy(
630
'Repository.tarball', 'bzrlib.smart.repository',
631
'SmartServerRepositoryTarball')
632
request_handlers.register_lazy(
633
'rmdir', 'bzrlib.smart.vfs', 'RmdirRequest')
634
request_handlers.register_lazy(
635
'stat', 'bzrlib.smart.vfs', 'StatRequest')
636
request_handlers.register_lazy(
637
'Transport.is_readonly', 'bzrlib.smart.request', 'SmartServerIsReadonly')