diff mercurial/util.py @ 12344:b6173aee4a47 stable

Use lexists() instead of exists() where appropriate
author Patrick Mezard <pmezard@gmail.com>
date Mon, 20 Sep 2010 21:46:56 +0200
parents ff5cec76b1c5
children e0ee3e822a9a
line wrap: on
line diff
--- a/mercurial/util.py	Mon Sep 20 21:46:39 2010 +0200
+++ b/mercurial/util.py	Mon Sep 20 21:46:56 2010 +0200
@@ -642,7 +642,7 @@
             l = l + 1
         name = name[l:]
 
-    if not os.path.exists(os.path.join(root, name)):
+    if not os.path.lexists(os.path.join(root, name)):
         return None
 
     seps = os.sep