diff mercurial/scmutil.py @ 14404:69b60edfd76c

opener: add audit function
author Adrian Buehlmann <adrian@cadifra.com>
date Sat, 21 May 2011 23:13:59 +0200
parents 3438417a6657
children 5f6090e559fa
line wrap: on
line diff
--- 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.'''