~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-03-09 09:02:37 UTC
  • mfrom: (5699.5.3 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20110309090237-b1p8mv943ysjgn91
(vila) Remove cruft relating to obsolete/unused transport URL schemes. (Max
 Bowsher)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1772
1772
register_lazy_transport('memory://', 'bzrlib.transport.memory',
1773
1773
                        'MemoryTransport')
1774
1774
 
1775
 
# chroots cannot be implicitly accessed, they must be explicitly created:
1776
 
register_transport_proto('chroot+')
1777
 
 
1778
1775
register_transport_proto('readonly+',
1779
1776
#              help="This modifier converts any transport to be readonly."
1780
1777
            )
1809
1806
register_lazy_transport('nosmart+', 'bzrlib.transport.nosmart',
1810
1807
                        'NoSmartTransportDecorator')
1811
1808
 
1812
 
# These two schemes were registered, but don't seem to have an actual transport
1813
 
# protocol registered
1814
 
for scheme in ['ssh', 'bzr+loopback']:
1815
 
    register_urlparse_netloc_protocol(scheme)
1816
 
del scheme
1817
 
 
1818
1809
register_transport_proto('bzr://',
1819
1810
            help="Fast access using the Bazaar smart server.",
1820
1811
                         register_netloc=True)