示例#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')