changeset 26988:7e38d49bc713

strip: switch to mergestate.clean() See the previous patches for why we're doing this.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 17 Nov 2015 17:02:35 -0800
parents 416b2b7d3068
children a65ea44f163e
files hgext/strip.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/strip.py	Tue Nov 17 17:00:54 2015 -0800
+++ b/hgext/strip.py	Tue Nov 17 17:02:35 2015 -0800
@@ -208,8 +208,7 @@
             repo.dirstate.write(repo.currenttransaction())
 
             # clear resolve state
-            ms = merge.mergestate(repo)
-            ms.reset(repo['.'].node())
+            merge.mergestate.clean(repo, repo['.'].node())
 
             update = False