hg switch
anatoly techtonik
techtonik at gmail.com
Sat Oct 18 13:17:04 CDT 2014
http://git-legit.org/
$ git switch <branch>
# Switches to branch. Stashes and restores unstaged changes.
https://stackoverflow.com/questions/1156152/how-do-i-switch-with-mercurial
https://stackoverflow.com/questions/2159623/how-can-i-switch-to-a-tag-branch-in-hg
https://stackoverflow.com/questions/4061666/switching-between-mercurial-branches
?
The reasons I came back to this is:
- intuitive interface is intuitive
- IIRC, 'hg up' refuses to jump across branches
if there are uncommitted (unstaged) changes
Straightforward reflection of intentions in command
interface is a corner stone of good user experience.
CC, please.
--
anatoly t.
More information about the Mercurial-devel
mailing list