# HG changeset patch # User Martin von Zweigbergk # Date 1448300232 28800 # Node ID b5612dbe72a398d5a3c15c1c48a2d44640e72958 # Parent f8f716da90faf630bc89fc90cd86a059dc8db5e8 summary: don't reimplment mergestate.unresolved() diff -r f8f716da90fa -r b5612dbe72a3 mercurial/commands.py --- a/mercurial/commands.py Tue Dec 01 09:26:33 2015 -0800 +++ b/mercurial/commands.py Mon Nov 23 09:37:12 2015 -0800 @@ -4776,7 +4776,7 @@ _('warning: merge state has unsupported record types: %s\n') % s) unresolved = 0 else: - unresolved = [f for f in ms if ms[f] == 'u'] + unresolved = list(ms.unresolved()) for p in parents: # label with log.changeset (instead of log.parent) since this