Mercurial > hg
diff hgext/uncommit.py @ 38771:3bd22c4d3711
uncommit: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2)
Differential Revision: https://phab.mercurial-scm.org/D3998
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 27 Jul 2018 14:47:38 -0700 |
parents | 32fba6fe893d |
children | c303d65d2e34 |
line wrap: on
line diff
--- 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):