Suppose i have made a change to a file, hg st show it as modified.
Now i want to commit. Before I can do so i do accidentially hg remove my file. Mercurial now would remove my file on the next commit, hg revert would retain it from removal, my changes would be lost however.
Is exporting a patch and then importing it on top of a MQ my only option to put my file back into "modified" state?