D8553: histedit: use context to load mergestate instead of loading it directly

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

D8553: histedit: use context to load mergestate instead of loading it directly

valentin.gatienbaron (Valentin Gatien-Baron)
durin42 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

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
@@ -224,7 +224,6 @@
     hg,
     logcmdutil,
     merge as mergemod,
-    mergestate as mergestatemod,
     mergeutil,
     node,
     obsolete,
@@ -2290,7 +2289,7 @@
 def bootstrapcontinue(ui, state, opts):
     repo = state.repo
 
-    ms = mergestatemod.mergestate.read(repo)
+    ms = repo[None].mergestate()
     mergeutil.checkunresolved(ms)
 
     if state.actions:



To: durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel