Mercurial > hg
changeset 38516:7c853edcf4ed
rebase: add a stateobj variable to rebaseruntime class
The stateobj variable is an object of state.cmdstate() and will be used in
upcoming patches to clean up the logic a bit and also use cbor format to write
data to rebasestate class.
Differential Revision: https://phab.mercurial-scm.org/D3874
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 01 Jul 2018 00:46:59 +0530 |
parents | 19076e2d62e7 |
children | 4df9cef86740 |
files | hgext/rebase.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/rebase.py Sun Jul 01 00:31:57 2018 +0530 +++ b/hgext/rebase.py Sun Jul 01 00:46:59 2018 +0530 @@ -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):