opener: add audit function
authorAdrian Buehlmann <adrian@cadifra.com>
Sat, 21 May 2011 23:13:59 +0200
changeset 14404 69b60edfd76c
parent 14403 2c9f5897d4b7
child 14405 f2295a829f47
opener: add audit function
mercurial/scmutil.py
--- a/mercurial/scmutil.py	Sat May 21 15:09:15 2011 -0500
+++ b/mercurial/scmutil.py	Sat May 21 23:13:59 2011 +0200
@@ -256,6 +256,9 @@
             f.close()
             self._fixfilemode(dst)
 
+    def audit(self, path):
+        self.auditor(path)
+
 class filteropener(abstractopener):
     '''Wrapper opener for filtering filenames with a function.'''