##// END OF EJS Templates
uncommit: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2)...
Martin von Zweigbergk -
r38794:3bd22c4d default
parent child Browse files
Show More
@@ -182,7 +182,7 b' def uncommit(ui, repo, *pats, **opts):'
182
182
183 with repo.dirstate.parentchange():
183 with repo.dirstate.parentchange():
184 repo.dirstate.setparents(newid, node.nullid)
184 repo.dirstate.setparents(newid, node.nullid)
185 s = repo.status(old.p1(), old, match=match)
185 s = old.p1().status(old, match=match)
186 _fixdirstate(repo, old, repo[newid], s)
186 _fixdirstate(repo, old, repo[newid], s)
187
187
188 def predecessormarkers(ctx):
188 def predecessormarkers(ctx):
General Comments 0
You need to be logged in to leave comments. Login now