diff --git a/mercurial/vfs.py b/mercurial/vfs.py --- a/mercurial/vfs.py +++ b/mercurial/vfs.py @@ -54,6 +54,9 @@ '''Prevent instantiation; don't call this from subclasses.''' raise NotImplementedError('attempted instantiating ' + str(type(self))) + def __call__(self, path, mode=b'rb', **kwargs): + raise NotImplementedError + def _auditpath(self, path, mode): raise NotImplementedError