# HG changeset patch # User Siddharth Agarwal # Date 1448334375 28800 # Node ID b08c31cfc4b6c749cd00f78b249efc577527823f # Parent 37edc8e5ed4f3c3ad20e3e429756fc50297ee38b merge.applyupdates: add all actions returned from merge state At the moment this is a no-op (the only actions defined are 'r', 'a' and 'g'), but soon we're going to add other sorts of actions to the dictionary returned from mergestate.actions(). diff -r 37edc8e5ed4f -r b08c31cfc4b6 mercurial/merge.py --- a/mercurial/merge.py Fri Nov 27 20:23:23 2015 +0100 +++ b/mercurial/merge.py Mon Nov 23 19:06:15 2015 -0800 @@ -1151,8 +1151,8 @@ removed += msremoved extraactions = ms.actions() - for a in 'rag': - actions[a].extend(extraactions[a]) + for k, acts in extraactions.iteritems(): + actions[k].extend(acts) progress(_updating, None, total=numupdates, unit=_files)