diff mercurial/vfs.py @ 41095:e0d00ec2d614

vfs: raise NotImplementedError in abstractvfs._auditvfs This make sure that auditing is implemented.
author Boris Feld <boris.feld@octobus.net>
date Wed, 02 Jan 2019 10:31:14 +0100
parents adee334d94cd
children 3518da504303
line wrap: on
line diff
--- 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'''