changeset 38812: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 260c17eaf3f7
children af5c0c933af8
files hgext/uncommit.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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):