Hacker News new | past | comments | ask | show | jobs | submit login

Once again you're demonstrating that you really don't know how to use Mercurial, but feel the need to bash its usability anyway.

   hg update <branchname>
will do exactly what you want. It's even the same command as in SVN.



I change a file.

do

hg update default

get:

abort: crosses branches (merge branches or use --clean to discard changes)

So?




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: