##// END OF EJS Templates
manifestmerge: drop redundant flags calls
Siddharth Agarwal -
r18823:b2a36e9b default
parent child Browse files
Show More
@@ -275,7 +275,7 b' def manifestmerge(repo, wctx, p2, pa, br'
275 275 pass
276 276 elif n1 and f in movewithdir: # directory rename
277 277 f2 = movewithdir[f]
278 actions.append((f, "d", (None, f2, m1.flags(f)),
278 actions.append((f, "d", (None, f2, fl1),
279 279 "remote renamed directory to " + f2))
280 280 elif n1 and f in copy:
281 281 f2 = copy[f]
@@ -290,7 +290,7 b' def manifestmerge(repo, wctx, p2, pa, br'
290 290 actions.append((f, "r", None, "other deleted"))
291 291 elif n2 and f in movewithdir:
292 292 f2 = movewithdir[f]
293 actions.append((None, "d", (f, f2, m2.flags(f)),
293 actions.append((None, "d", (f, f2, fl2),
294 294 "local renamed directory to " + f2))
295 295 elif n2 and f in copy:
296 296 f2 = copy[f]
@@ -314,7 +314,7 b' def manifestmerge(repo, wctx, p2, pa, br'
314 314 # Checking whether the files are different is expensive, so we
315 315 # don't do that when we can avoid it.
316 316 if force and not branchmerge:
317 actions.append((f, "g", (m2.flags(f),), "remote created"))
317 actions.append((f, "g", (fl2,), "remote created"))
318 318 else:
319 319 different = _checkunknownfile(repo, wctx, p2, f)
320 320 if force and branchmerge and different:
@@ -323,7 +323,7 b' def manifestmerge(repo, wctx, p2, pa, br'
323 323 elif not force and different:
324 324 aborts.append((f, "ud"))
325 325 else:
326 actions.append((f, "g", (m2.flags(f),), "remote created"))
326 actions.append((f, "g", (fl2,), "remote created"))
327 327 elif n2 and n2 != ma[f]:
328 328 prompts.append((f, "dc")) # prompt deleted/changed
329 329
General Comments 0
You need to be logged in to leave comments. Login now