Mercurial > hg
changeset 14404:69b60edfd76c
opener: add audit function
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Sat, 21 May 2011 23:13:59 +0200 |
parents | 2c9f5897d4b7 |
children | f2295a829f47 |
files | mercurial/scmutil.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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.'''