Patchwork D3864: histedit: add a stateobj variable to histeditstate class

login
register
mail settings
Submitter phabricator
Date July 1, 2018, 12:37 p.m.
Message ID <4b712388582618abe20ed668d96a4c98@localhost.localdomain>
Download mbox | patch
Permalink /patch/32546/
State Not Applicable
Headers show

Comments

phabricator - July 1, 2018, 12:37 p.m.
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




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

Patch

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: