mercurial/patch.py
branchstable
changeset 12340 b0bb72460c44
parent 12067 a4fbbe0fbc38
child 12341 aca8b10bca6e
--- a/mercurial/patch.py	Fri Sep 17 10:21:02 2010 -0500
+++ b/mercurial/patch.py	Mon Sep 20 21:42:11 2010 +0200
@@ -923,7 +923,7 @@
     if afile == bfile:
         goodb = gooda
     else:
-        goodb = not nullb and os.path.exists(bfile)
+        goodb = not nullb and os.path.lexists(bfile)
     createfunc = hunk.createfile
     missing = not goodb and not gooda and not createfunc()