hg backout tip seem to also revert all your files back to the older version. Is there a way to change it back to EXACTLY like before the commit — that is, with several files “Modified” but uncommitted — essentially, as if the “commit” was never done?
(hg rollback is said to be very bad and usually shouldn’t be done for version control purpose)
hg rollbackdoes exactly what you are asking for – it undoes thehg commitand you end up in the state you were before you committed.Of course it’s not really in the intention of a version control system to “lose” versions you already committed, but it’s handy to revert an accidental commit.