Mercurial > hg-stable
changeset 41098: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 | f8f61cf246f5 |
files | mercurial/vfs.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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'''