Patchwork D3998: uncommit: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2)

login
register
mail settings
Submitter phabricator
Date Aug. 1, 2018, 5:08 p.m.
Message ID <fc8809f504c77f85c91c2ebd5975896c@localhost.localdomain>
Download mbox | patch
Permalink /patch/33021/
State Not Applicable
Headers show

Comments

phabricator - Aug. 1, 2018, 5:08 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG3bd22c4d3711: uncommit: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2) (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3998?vs=9689&id=9709

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

AFFECTED FILES
  hgext/uncommit.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/uncommit.py b/hgext/uncommit.py
--- a/hgext/uncommit.py
+++ b/hgext/uncommit.py
@@ -182,7 +182,7 @@ 
 
             with repo.dirstate.parentchange():
                 repo.dirstate.setparents(newid, node.nullid)
-                s = repo.status(old.p1(), old, match=match)
+                s = old.p1().status(old, match=match)
                 _fixdirstate(repo, old, repo[newid], s)
 
 def predecessormarkers(ctx):