diff -r 77bbeafd7519 -r ad787252fed6 mercurial/util.py --- a/mercurial/util.py Wed Aug 25 13:40:46 2010 +0200 +++ b/mercurial/util.py Wed Aug 25 16:23:32 2010 +0200 @@ -431,15 +431,6 @@ return check -# os.path.lexists is not available on python2.3 -def lexists(filename): - "test whether a file with this name exists. does not follow symlinks" - try: - os.lstat(filename) - except: - return False - return True - def unlink(f): """unlink and remove the directory if it is empty""" os.unlink(f)