# HG changeset patch # User Boris Feld # Date 2019-01-02 09:31:14 # Node ID e0d00ec2d614f3119d941c4b74dbd724a7836a71 # Parent adee334d94cd0dee13eb94647c9556dbe8a1f8c5 vfs: raise NotImplementedError in abstractvfs._auditvfs This make sure that auditing is implemented. diff --git a/mercurial/vfs.py b/mercurial/vfs.py --- a/mercurial/vfs.py +++ b/mercurial/vfs.py @@ -47,7 +47,7 @@ class abstractvfs(object): raise NotImplementedError('attempted instantiating ' + str(type(self))) def _auditpath(self, path, mode): - pass + raise NotImplementedError def tryread(self, path): '''gracefully return an empty string for missing files'''