Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 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 | a5e1393f61a2 |
children | 4a70985805c6 |
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