mercurial/patch.py
changeset 7783 2c5b2abfb8be
parent 7753 e617f2e99e61
child 7860 162fd31bbd93
--- a/mercurial/patch.py	Mon Feb 16 17:37:23 2009 -0600
+++ b/mercurial/patch.py	Mon Feb 16 17:37:23 2009 -0600
@@ -751,7 +751,7 @@
     nulla = afile_orig == "/dev/null"
     nullb = bfile_orig == "/dev/null"
     abase, afile = pathstrip(afile_orig, strip)
-    gooda = not nulla and os.path.exists(afile)
+    gooda = not nulla and util.lexists(afile)
     bbase, bfile = pathstrip(bfile_orig, strip)
     if afile == bfile:
         goodb = gooda