I committed a changeset which is now in the "draft" Phase. It is the latest (local) revision. I want to remove that changeset and move all the changes back to the working directory. That means I want the opposite of committing it (which is working directory -> revision).
I tried the strip
command with both keep
and without. In both cases my changeset is removed but the changes are gone and the working directory is still empty. Then I need to unbundle
the backup and pull
it, at which point I'm exactly where I started with the local changeset in the history.
How do I move the changes from the committed changeset to the working directory? Maybe backout
?
I'm using TortoiseHg but can also use the console there.
Looks like I managed to solve it, though I don't really understand how it works.
Following this answer I updated to my revision, switch to Ammend which showed the patch changes in the working directory as well as the revision, then strip
with keep
removed the revision, only the working directory now contains the files because of Ammend.