Skip to content
Snippets Groups Projects
Commit 2df762b9c0c5 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

dirstate: replace _uncommitdirstate() by core's movedirstate()

IIRC, when _uncommitdirstate() was upstreamed, it got cleaned up a
lot. Let's switch to the simpler upstream version.

This fixes the brokeness in `hg uncommit` demonstrated by the previous
patch. The problem was that _uncommitdirstate() had not been properly
updated to support uncommitting to another commit. If you replace
`oldctx.p1()` by `ctx` there, you would get this same diff as from
this patch (the `interactive` code path had been fixed this way
already).
parent 80b5d4b85a52
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment