diff -r 28642f7fc2cf -r b6173aee4a47 mercurial/util.py --- 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