##// 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,8 +245,11 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 or any(p in pathconflicts for p in pathutil.finddirs(f))
249 and (
250 f in pathconflicts
251 or any(p in pathconflicts for p in pathutil.finddirs(f))
252 )
250 )
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)
General Comments 0
You need to be logged in to leave comments. Login now