diff --git a/src/scmrepo/fs.py b/src/scmrepo/fs.py index 850d1133..6efff2e8 100644 --- a/src/scmrepo/fs.py +++ b/src/scmrepo/fs.py @@ -51,12 +51,13 @@ def __init__( self.trie = trie self.rev = self.trie.rev + self._cwd = self.root_marker def getcwd(self): - return self.root_marker + return self._cwd def chdir(self, path): - raise NotImplementedError + self._cwd = path @classmethod def join(cls, *parts):