mercurial/merge.py
branchstable
changeset 16534 11212babc690
parent 16492 774e2dcd0a65
child 16551 ebf6d38c9063
--- a/mercurial/merge.py	Fri Apr 27 13:07:29 2012 -0500
+++ b/mercurial/merge.py	Fri Apr 27 13:18:09 2012 -0500
@@ -83,7 +83,7 @@
 
 def _checkunknownfile(repo, wctx, mctx, f):
     return (not repo.dirstate._ignore(f)
-        and os.path.exists(repo.wjoin(f))
+        and os.path.isfile(repo.wjoin(f))
         and repo.dirstate.normalize(f) not in repo.dirstate
         and mctx[f].cmp(wctx[f]))