~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: ghigo
  • Date: 2007-02-07 21:08:04 UTC
  • mto: (1739.1.7 integration)
  • mto: This revision was merged to the branch mainline in revision 2443.
  • Revision ID: ghigo@venice-20070207210804-r551d0lozrp20uex
On the basis of Robert Collins and John Arbash Meinel
- removed some protocol ( http[s]+pycurl:// and http[s]+urllib://, 
bzr+http:// and readonly+ )
- _help_on_trasport( ) now supports the missing of the modifiers
- add a blackbox test case
- little PEP8 cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1176
1176
register_lazy_transport('sftp://', 'bzrlib.transport.sftp', 'SFTPTransport')
1177
1177
 
1178
1178
register_transport_proto('http+urllib://',
1179
 
            help="Read-only access of branches exported on the web.")
 
1179
#                help="Read-only access of branches exported on the web."
 
1180
            )
1180
1181
register_lazy_transport('http+urllib://', 'bzrlib.transport.http._urllib',
1181
1182
                        'HttpTransport_urllib')
1182
1183
register_transport_proto('https+urllib://',
1183
 
            help="Read-only access of branches exported on the web using SSL.")
 
1184
#                help="Read-only access of branches exported on the web using SSL."
 
1185
            )
1184
1186
register_lazy_transport('https+urllib://', 'bzrlib.transport.http._urllib',
1185
1187
                        'HttpTransport_urllib')
1186
1188
register_transport_proto('http+pycurl://',
1187
 
            help="Read-only access of branches exported on the web.")
 
1189
#                help="Read-only access of branches exported on the web."
 
1190
            )
1188
1191
register_lazy_transport('http+pycurl://', 'bzrlib.transport.http._pycurl',
1189
1192
                        'PyCurlTransport')
1190
1193
register_transport_proto('https+pycurl://',
1191
 
            help="Read-only access of branches exported on the web using SSL.")
 
1194
#                help="Read-only access of branches exported on the web using SSL."
 
1195
            )
1192
1196
register_lazy_transport('https+pycurl://', 'bzrlib.transport.http._pycurl',
1193
1197
                        'PyCurlTransport')
1194
1198
register_transport_proto('http://',
1215
1219
register_lazy_transport('chroot+', 'bzrlib.transport.chroot',
1216
1220
                        'ChrootTransportDecorator')
1217
1221
register_transport_proto('readonly+',
1218
 
            help="This modifier converts any transport to be readonly.")
 
1222
#              help="This modifier converts any transport to be readonly."
 
1223
            )
1219
1224
register_lazy_transport('readonly+', 'bzrlib.transport.readonly', 'ReadonlyTransportDecorator')
1220
1225
register_transport_proto('fakenfs+')
1221
1226
register_lazy_transport('fakenfs+', 'bzrlib.transport.fakenfs', 'FakeNFSTransportDecorator')
1230
1235
                        'bzrlib.transport.smart',
1231
1236
                        'SmartTCPTransport')
1232
1237
register_transport_proto('bzr+http://',
1233
 
            help="Fast access using the Bazaar smart server over HTTP.")
 
1238
#                help="Fast access using the Bazaar smart server over HTTP."
 
1239
             )
1234
1240
register_lazy_transport('bzr+http://',
1235
1241
                        'bzrlib.transport.smart',
1236
1242
                        'SmartHTTPTransport')