# HG changeset patch # User Martin von Zweigbergk # Date 1532728058 25200 # Node ID 3bd22c4d37112c835e1e8ef4d9fcec89db3c6351 # Parent 260c17eaf3f7ef46aea5e6f4bd300d51aee86423 uncommit: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2) Differential Revision: https://phab.mercurial-scm.org/D3998 diff -r 260c17eaf3f7 -r 3bd22c4d3711 hgext/uncommit.py --- a/hgext/uncommit.py Fri Jul 27 14:46:59 2018 -0700 +++ b/hgext/uncommit.py Fri Jul 27 14:47:38 2018 -0700 @@ -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):