Пример #1
0
 def __init__ (self, uri):
     try:
         info = get_info (uri)
         root = info['repository root']
     except:
         root = uri
         
     Repository.__init__ (self, root, 'svn')
Пример #2
0
    def __init__(self, uri):
        try:
            info = get_info(uri)
            root = info['repository root']
        except:
            root = uri

        Repository.__init__(self, root, 'svn')
Пример #3
0
    def __init__(self, uri, user=None, passwd=None):
        try:
            auth = get_auth_info(uri)

            if (user is not None) and (passwd is not None):
                self.user = user
                self.passwd = passwd
            else:
                self.user = auth['user']
                self.passwd = auth['password']

            info = get_info(auth['uri'], self.user, self.passwd)
            root = info['repository root']
        except:
            root = uri

        Repository.__init__(self, root, 'svn')
Пример #4
0
    def __init__(self, uri, user=None, passwd=None):
        try:
            auth = get_auth_info(uri)

            if (user is not None) and (passwd is not None):
                self.user = user
                self.passwd = passwd
            else:
                self.user = auth['user']
                self.passwd = auth['password']

            info = get_info(auth['uri'], self.user, self.passwd)
            root = info['repository root']
        except:
            root = uri

        Repository.__init__(self, root, 'svn')
Пример #5
0
 def __init__(self, uri):
     Repository.__init__(self, uri, 'bzr')
Пример #6
0
    def __init__ (self, uri):
        Repository.__init__ (self, uri, 'git')

        self.git_version = None
Пример #7
0
    def __init__(self, uri):
        Repository.__init__(self, uri, 'git')

        self.git_version = None
Пример #8
0
 def __init__(self, uri):
     Repository.__init__(self, uri, 'cvs')
Пример #9
0
 def __init__(self, uri):
     Repository.__init__(self, uri, 'bzr')
Пример #10
0
 def __init__(self, uri):
     Repository.__init__(self, uri, 'tarball')
Пример #11
0
 def __init__(self, uri):
     Repository.__init__(self, uri, 'tarball')
 def __init__ (self, uri):
     Repository.__init__ (self, uri, 'cvs')