diff -r 6d218e47cf9b -r aad3bce98f76 mercurial/scmutil.py --- a/mercurial/scmutil.py Thu Sep 13 23:50:45 2012 -0700 +++ b/mercurial/scmutil.py Tue Oct 09 16:17:55 2012 +0900 @@ -219,6 +219,9 @@ def mkdir(self, path=None): return os.mkdir(self.join(path)) + def readdir(self, path=None, stat=None, skip=None): + return osutil.listdir(self.join(path), stat, skip) + def stat(self, path=None): return os.stat(self.join(path))