Пример #1
0
    def __init__(self, path, *args, **kwargs):
        if not isinstance(path, six.string_types):
            path = path.decode('utf-8')

        path_backend = init_file_backend(path)
        super(Repository, self).__init__(backend=path_backend, *args, **kwargs)

        self.branches = Branches(self)
        self.references = References(self)
Пример #2
0
    def __init__(self, path, *args, **kwargs):
        if not isinstance(path, str):
            path = path.decode('utf-8')

        path_backend = init_file_backend(path)
        super(Repository, self).__init__(backend=path_backend, *args, **kwargs)
Пример #3
0
    def __init__(self, path, *args, **kwargs):
        if not isinstance(path, six.string_types):
            path = path.decode('utf-8')

        path_backend = init_file_backend(path)
        super(Repository, self).__init__(backend=path_backend, *args, **kwargs)