vfs: raise NotImplementedError in abstractvfs._auditvfs
authorBoris Feld <boris.feld@octobus.net>
Wed, 02 Jan 2019 10:31:14 +0100
changeset 41095 e0d00ec2d614
parent 41094 adee334d94cd
child 41096 f8f61cf246f5
vfs: raise NotImplementedError in abstractvfs._auditvfs This make sure that auditing is implemented.
mercurial/vfs.py
--- a/mercurial/vfs.py	Wed Jan 02 10:29:36 2019 +0100
+++ b/mercurial/vfs.py	Wed Jan 02 10:31:14 2019 +0100
@@ -47,7 +47,7 @@
         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'''