Mercurial > hg-stable
changeset 26975:6618dfd3ea1c
merge.applyupdates: don't return early if merge driver's conclude failed
Somewhat silly oversight -- this prevented the progress bar from being reset.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Sun, 15 Nov 2015 22:45:20 -0800 |
parents | 4b5dc0d9e899 |
children | c48fee950ce4 |
files | mercurial/merge.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/merge.py Mon Nov 16 17:15:36 2015 -0800 +++ b/mercurial/merge.py Sun Nov 15 22:45:20 2015 -0800 @@ -1014,7 +1014,7 @@ if not driverconclude(repo, ms, wctx, labels=labels): # XXX setting unresolved to at least 1 is a hack to make sure we # error out - return updated, merged, removed, max(unresolved, 1) + unresolved = max(unresolved, 1) ms.commit()