diff -r 138978f20180 -r 647e3b0c8751 mercurial/scmutil.py --- a/mercurial/scmutil.py Mon Apr 15 01:22:15 2013 +0900 +++ b/mercurial/scmutil.py Mon Apr 15 01:22:15 2013 +0900 @@ -260,6 +260,9 @@ def rename(self, src, dst): return util.rename(self.join(src), self.join(dst)) + def readlink(self, path): + return os.readlink(self.join(path)) + def stat(self, path=None): return os.stat(self.join(path))