# HG changeset patch # User Siddharth Agarwal # Date 1364169385 25200 # Node ID b2a36e9b9ccc9b6187efa93970eac7547aeb9632 # Parent 381c0ef72a56ac647a8d4de017a51fee7f80fec3 manifestmerge: drop redundant flags calls diff -r 381c0ef72a56 -r b2a36e9b9ccc mercurial/merge.py --- a/mercurial/merge.py Mon Mar 25 17:41:06 2013 -0700 +++ b/mercurial/merge.py Sun Mar 24 16:56:25 2013 -0700 @@ -275,7 +275,7 @@ pass elif n1 and f in movewithdir: # directory rename f2 = movewithdir[f] - actions.append((f, "d", (None, f2, m1.flags(f)), + actions.append((f, "d", (None, f2, fl1), "remote renamed directory to " + f2)) elif n1 and f in copy: f2 = copy[f] @@ -290,7 +290,7 @@ actions.append((f, "r", None, "other deleted")) elif n2 and f in movewithdir: f2 = movewithdir[f] - actions.append((None, "d", (f, f2, m2.flags(f)), + actions.append((None, "d", (f, f2, fl2), "local renamed directory to " + f2)) elif n2 and f in copy: f2 = copy[f] @@ -314,7 +314,7 @@ # Checking whether the files are different is expensive, so we # don't do that when we can avoid it. if force and not branchmerge: - actions.append((f, "g", (m2.flags(f),), "remote created")) + actions.append((f, "g", (fl2,), "remote created")) else: different = _checkunknownfile(repo, wctx, p2, f) if force and branchmerge and different: @@ -323,7 +323,7 @@ elif not force and different: aborts.append((f, "ud")) else: - actions.append((f, "g", (m2.flags(f),), "remote created")) + actions.append((f, "g", (fl2,), "remote created")) elif n2 and n2 != ma[f]: prompts.append((f, "dc")) # prompt deleted/changed