##// END OF EJS Templates
merge: don't pay for pathconflicts if there are none
Arseniy Alekseyev -
r50781:3aa8e569 default
parent child Browse files
Show More
@@ -245,9 +245,12 b' def _checkunknownfiles(repo, wctx, mctx,'
245 ):
245 ):
246 backup = (
246 backup = (
247 f in fileconflicts
247 f in fileconflicts
248 or f in pathconflicts
248 or pathconflicts
249 and (
250 f in pathconflicts
249 or any(p in pathconflicts for p in pathutil.finddirs(f))
251 or any(p in pathconflicts for p in pathutil.finddirs(f))
250 )
252 )
253 )
251 (flags,) = args
254 (flags,) = args
252 mresult.addfile(f, mergestatemod.ACTION_GET, (flags, backup), msg)
255 mresult.addfile(f, mergestatemod.ACTION_GET, (flags, backup), msg)
253
256
General Comments 0
You need to be logged in to leave comments. Login now