# HG changeset patch # User Chinmay Joshi # Date 1401211925 -19800 # Node ID 764b691b8bda01a0eb0d8e889dee66be6ad7337f # Parent dbf292f65b0983fde6f233d140a0ed110c3a4824 vfs: add lexists() in current api lexists is added in current API of vfs. diff -r dbf292f65b09 -r 764b691b8bda mercurial/scmutil.py --- a/mercurial/scmutil.py Tue May 27 21:56:03 2014 +0530 +++ b/mercurial/scmutil.py Tue May 27 23:02:05 2014 +0530 @@ -178,6 +178,9 @@ def islink(self, path=None): return os.path.islink(self.join(path)) + def lexists(self, path=None): + return os.path.lexists(self.join(path)) + def lstat(self, path=None): return os.lstat(self.join(path))