If I look at Mercurial's site, it seems to tell me to use update -C to switch between branches. Another Stack Overflow answer says to use checkout instead.
What are the differences? It seems to me that checkout updates the files in the working directory to the branch too, like update -C.