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 (2011-05-21)
parents 3438417a6657
children 5f6090e559fa
line wrap: on
line diff
--- a/mercurial/scmutil.py
+++ b/mercurial/scmutil.py
@@ -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.'''