Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: