mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
localrepo: switch to mergestate.clean()
See the previous patches for why we're doing this.
This commit is contained in:
parent
bb9f482112
commit
7e0e958b67
@ -1168,8 +1168,7 @@ class localrepository(object):
|
||||
else:
|
||||
ui.status(_('working directory now based on '
|
||||
'revision %d\n') % parents)
|
||||
ms = mergemod.mergestate(self)
|
||||
ms.reset(self['.'].node())
|
||||
mergemod.mergestate.clean(self, 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
|
||||
|
Loading…
Reference in New Issue
Block a user