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)
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)
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)