##// END OF EJS Templates
merge: check for untracked files more precisely (issue3400)...
Matt Mackall -
r16534:11212bab stable
parent child Browse files
Show More
@@ -83,7 +83,7 b' class mergestate(object):'
83
83
84 def _checkunknownfile(repo, wctx, mctx, f):
84 def _checkunknownfile(repo, wctx, mctx, f):
85 return (not repo.dirstate._ignore(f)
85 return (not repo.dirstate._ignore(f)
86 and os.path.exists(repo.wjoin(f))
86 and os.path.isfile(repo.wjoin(f))
87 and repo.dirstate.normalize(f) not in repo.dirstate
87 and repo.dirstate.normalize(f) not in repo.dirstate
88 and mctx[f].cmp(wctx[f]))
88 and mctx[f].cmp(wctx[f]))
89
89
General Comments 0
You need to be logged in to leave comments. Login now