Update the working directory to a specified changeset. More information: https://www.mercurial-scm.org/doc/hg.1.html#update.
hg update
hg update --rev revision
hg update --clean
hg update --date dd-mm-yyyy