diff -r 803b7569c9ea -r 5fe0b880200e mercurial/vfs.py --- a/mercurial/vfs.py Sat Sep 29 02:02:35 2018 -0400 +++ b/mercurial/vfs.py Tue Sep 25 21:16:12 2018 -0400 @@ -206,7 +206,7 @@ return util.rename(srcpath, dstpath) def readlink(self, path): - return os.readlink(self.join(path)) + return util.readlink(self.join(path)) def removedirs(self, path=None): """Remove a leaf directory and all empty intermediate ones