# Path: subvertpy/ra.py
# def RemoteAccess(url, *args, **kwargs):
#     """Connect to a remote Subversion server
# 
#     :param url: URL to connect to
#     :return: RemoteAccess object
#     """
#     if isinstance(url, bytes):
#         url = url.decode("utf-8")
#     (type, opaque) = splittype(url)
#     if type not in url_handlers:
#         raise SubversionException("Unknown URL type '%s'" % type, ERR_BAD_URL)
#     return url_handlers[type](url, *args, **kwargs)


import cmd
import subvertpy
import sys
from subvertpy.ra import RemoteAccess
#!/usr/bin/python


if len(sys.argv) == 1:
    print("Usage: %s <url>" % sys.argv)

url = sys.argv[1]


# Path: subvertpy/ra.py
# def RemoteAccess(url, *args, **kwargs):
#     """Connect to a remote Subversion server
# 
#     :param url: URL to connect to
#     :return: RemoteAccess object
#     """
#     if isinstance(url, bytes):
#         url = url.decode("utf-8")
#     (type, opaque) = splittype(url)
#     if type not in url_handlers:
#         raise SubversionException("Unknown URL type '%s'" % type, ERR_BAD_URL)
#     return url_handlers[type](url, *args, **kwargs)


# Path: examples/ra_shell.py
import cmd
import subvertpy
import sys
from subvertpy.ra import RemoteAccess

#!/usr/bin/python


if len(sys.argv) == 1:
    print("Usage: %s <url>" % sys.argv)

url = sys.argv[1]


conn = RemoteAccess(url)