mercurial/merge.py
changeset 27610 b8405d739149
parent 27429 2e31a17ad1bf
parent 27571 6a6e78f84cc6
child 27652 cc91f3bc5461
--- a/mercurial/merge.py	Thu Dec 31 13:45:48 2015 -0500
+++ b/mercurial/merge.py	Sat Jan 02 02:13:56 2016 +0100
@@ -559,7 +559,7 @@
 def _checkunknownfile(repo, wctx, mctx, f, f2=None):
     if f2 is None:
         f2 = f
-    return (os.path.isfile(repo.wjoin(f))
+    return (repo.wvfs.isfileorlink(f)
         and repo.wvfs.audit.check(f)
         and repo.dirstate.normalize(f) not in repo.dirstate
         and mctx[f2].cmp(wctx[f]))