hgext/histedit.py
changeset 24131 a2d869e22b5e
parent 24112 5d5ec4fb7ada
child 24140 5a64b676c5d3
--- a/hgext/histedit.py	Sat Jan 10 21:37:42 2015 +0800
+++ b/hgext/histedit.py	Tue Feb 17 19:59:26 2015 -0800
@@ -599,11 +599,9 @@
 
     # rebuild state
     if goal == 'continue':
-        state = histeditstate(repo)
         state.read()
         state = bootstrapcontinue(ui, state, opts)
     elif goal == 'abort':
-        state = histeditstate(repo)
         state.read()
         mapping, tmpnodes, leafs, _ntm = processreplacement(state)
         ui.debug('restore wc to old parent %s\n' % node.short(state.topmost))