Does hg, svn or others have an option like git stash?
+5
A:
The 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:
- the shelve extension for Mercurial
- temporary branches for SVN, or patch files
- p4tar (again patch based) for Perforce, even though the Perforce 2009.2 has now shelve and unshelve features.
- saved checked-out data in Plastic SCM (for shelving data)
You can find all the other SCM shelving commands in this SCM comparison table on Wikipedia.
- Accurev: keep / co
- Bazaar: shelve / unshelve
- Darcs: revert / unrevert
VonC
2010-07-17 19:34:04