Mercurial > hg
changeset 33313:ea03b3223611
shelve: don't reimplement mergestate.unresolved()
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 01 Dec 2015 09:19:54 -0800 |
parents | b5612dbe72a3 |
children | 7d8d2da4516c |
files | hgext/shelve.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/shelve.py Mon Nov 23 09:37:12 2015 -0800 +++ b/hgext/shelve.py Tue Dec 01 09:19:54 2015 -0800 @@ -659,7 +659,7 @@ 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'"))