D3864: histedit: add a stateobj variable to histeditstate class

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sun Jul 1 12:37:39 UTC 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG18f348e035fb: histedit: add a stateobj variable to histeditstate class (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3864?vs=9376&id=9390

REVISION DETAIL
  https://phab.mercurial-scm.org/D3864

AFFECTED FILES
  hgext/histedit.py

CHANGE DETAILS

diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -207,6 +207,7 @@
     registrar,
     repair,
     scmutil,
+    state as statemod,
     util,
 )
 from mercurial.utils import (
@@ -304,6 +305,7 @@
         self.lock = lock
         self.wlock = wlock
         self.backupfile = None
+        self.stateobj = statemod.cmdstate(repo, 'histedit-state')
         if replacements is None:
             self.replacements = []
         else:



To: pulkit, durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list