changeset 33312:b5612dbe72a3

summary: don't reimplment mergestate.unresolved()
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 23 Nov 2015 09:37:12 -0800
parents f8f716da90fa
children ea03b3223611
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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