##// END OF EJS Templates
localrepo: switch to mergestate.clean()...
Siddharth Agarwal -
r26989:a65ea44f default
parent child Browse files
Show More
@@ -1168,8 +1168,7 b' class localrepository(object):'
1168 else:
1168 else:
1169 ui.status(_('working directory now based on '
1169 ui.status(_('working directory now based on '
1170 'revision %d\n') % parents)
1170 'revision %d\n') % parents)
1171 ms = mergemod.mergestate(self)
1171 mergemod.mergestate.clean(self, self['.'].node())
1172 ms.reset(self['.'].node())
1173
1172
1174 # TODO: if we know which new heads may result from this rollback, pass
1173 # TODO: if we know which new heads may result from this rollback, pass
1175 # them to destroy(), which will prevent the branchhead cache from being
1174 # them to destroy(), which will prevent the branchhead cache from being
General Comments 0
You need to be logged in to leave comments. Login now