iterative/scmrepo

fs: don't implicitly default to pygit2

Opened this issue · 0 comments

efiop commented

get_fs doesn't pass a trie to the fs:

return GitFileSystem(scm=self, rev=rev)

which results in it always defaulting to pygit2

tree_obj = scm.pygit2.get_tree_obj(rev=resolved)

which is against the general scmrepo behavior, where it should go through the backends.

Also GitFileSystem defaulting to pygit2 by itself is also pretty odd by itself.