# HG changeset patch # User Martin von Zweigbergk # Date 2015-12-01 17:19:54 # Node ID ea03b3223611ca44055ae32c8b30b2138b6d3499 # Parent b5612dbe72a398d5a3c15c1c48a2d44640e72958 shelve: don't reimplement mergestate.unresolved() diff --git a/hgext/shelve.py b/hgext/shelve.py --- a/hgext/shelve.py +++ b/hgext/shelve.py @@ -659,7 +659,7 @@ def unshelvecontinue(ui, repo, state, op with repo.lock(): checkparents(repo, state) ms = merge.mergestate.read(repo) - if [f for f in ms if ms[f] == 'u']: + if list(ms.unresolved()): raise error.Abort( _("unresolved conflicts, can't continue"), hint=_("see 'hg resolve', then 'hg unshelve --continue'"))