##// END OF EJS Templates
checkunknown: audit path before checking if it's a file or link...
Durham Goode -
r28088:19424f96 default
parent child Browse files
Show More
@@ -598,8 +598,8 b' def _getcheckunknownconfig(repo, section'
598 def _checkunknownfile(repo, wctx, mctx, f, f2=None):
598 def _checkunknownfile(repo, wctx, mctx, f, f2=None):
599 if f2 is None:
599 if f2 is None:
600 f2 = f
600 f2 = f
601 return (repo.wvfs.isfileorlink(f)
601 return (repo.wvfs.audit.check(f)
602 and repo.wvfs.audit.check(f)
602 and repo.wvfs.isfileorlink(f)
603 and repo.dirstate.normalize(f) not in repo.dirstate
603 and repo.dirstate.normalize(f) not in repo.dirstate
604 and mctx[f2].cmp(wctx[f]))
604 and mctx[f2].cmp(wctx[f]))
605
605
General Comments 0
You need to be logged in to leave comments. Login now