Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)