diff mercurial/merge.py @ 27610:b8405d739149

merge with stable
author Matt Mackall <mpm@selenic.com>
date Sat, 02 Jan 2016 02:13:56 +0100
parents 2e31a17ad1bf 6a6e78f84cc6
children cc91f3bc5461
line wrap: on
line diff
--- 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]))