diff -r 3f92e749d381 -r 8c3dcbbfb5de mercurial/scmutil.py --- a/mercurial/scmutil.py Tue Oct 15 00:51:04 2013 +0900 +++ b/mercurial/scmutil.py Tue Oct 15 00:51:04 2013 +0900 @@ -245,6 +245,9 @@ def exists(self, path=None): return os.path.exists(self.join(path)) + def fstat(self, fp): + return util.fstat(fp) + def isdir(self, path=None): return os.path.isdir(self.join(path))