rollback: clear resolve state (issue4593)

This commit is contained in:
Matt Mackall 2015-04-16 18:48:20 -05:00
parent cd579fe2e0
commit e8828f848c

View File

@ -1092,6 +1092,9 @@ class localrepository(object):
else:
ui.status(_('working directory now based on '
'revision %d\n') % parents)
ms = mergemod.mergestate(self)
ms.reset(self['.'].node())
# TODO: if we know which new heads may result from this rollback, pass
# them to destroy(), which will prevent the branchhead cache from being
# invalidated.