Does hg, svn or others have an option like git stash?
See Question&Answers more detail:osThe general name for that feature is:
Shelving: the ability to actually upload intermediate revisions to the server without really checking them in.
In a CVCS (Centralized VCS), you actually need to upload those intermediate data to a central server.
But in a DVCS (Distributed VCS), you just need to store them in a the local repository.
There is:
You can find all the other SCM shelving commands in this SCM comparison table on Wikipedia.