changeset 12032 | ad787252fed6 |
parent 11988 | 8380ed691df8 |
child 12054 | 5d22e631c365 |
--- 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)