Patchwork D3874: rebase: add a stateobj variable to rebaseruntime class

login
register
mail settings
Submitter phabricator
Date July 2, 2018, 12:43 p.m.
Message ID <2fe24ca7f23bb905bf6e820b31101dd8@localhost.localdomain>
Download mbox | patch
Permalink /patch/32563/
State Not Applicable
Headers show

Comments

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




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

Patch

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):