# HG changeset patch # User Siddharth Agarwal # Date 1447453462 28800 # Node ID 042422f3a7734b220e6d2a111abf51fc06c9cd3f # Parent 32bd195ab78752a7324a2f40a93f8e6026d3f9bc merge: stop emptying out 'cd' and 'dc' actions (1) These aren't currently read from anywhere, so emptying this out is pointless. (2) These *will* be read from later in upcoming patches, and not emptying them out will be important then. diff -r 32bd195ab787 -r 042422f3a773 mercurial/merge.py --- a/mercurial/merge.py Fri Nov 06 22:32:00 2015 +0800 +++ b/mercurial/merge.py Fri Nov 13 14:24:22 2015 -0800 @@ -1262,7 +1262,6 @@ actions['r'].append((f, None, "prompt delete")) else: actions['a'].append((f, None, "prompt keep")) - del actions['cd'][:] for f, args, msg in sorted(actions['dc']): flags, = args @@ -1271,7 +1270,6 @@ "use (c)hanged version or leave (d)eleted?" "$$ &Changed $$ &Deleted") % f, 0) == 0: actions['g'].append((f, (flags,), "prompt recreating")) - del actions['dc'][:] # divergent renames for f, fl in sorted(diverge.iteritems()):