D3874: rebase: add a stateobj variable to rebaseruntime class

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Mon Jul 2 08:43:15 EDT 2018


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

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3874?vs=9396&id=9405

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

AFFECTED FILES
  hgext/rebase.py

CHANGE DETAILS

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -48,6 +48,7 @@
     revsetlang,
     scmutil,
     smartset,
+    state as statemod,
     util,
 )
 
@@ -184,6 +185,7 @@
         self.obsoletenotrebased = {}
         self.obsoletewithoutsuccessorindestination = set()
         self.inmemory = inmemory
+        self.stateobj = statemod.cmdstate(repo, 'rebasestate')
 
     @property
     def repo(self):



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


More information about the Mercurial-devel mailing list