hg clone

Create a copy of an existing repository in a new directory. More information: https://www.mercurial-scm.org/doc/hg.1.html#clone.

hg clone remote_repository_source destination_path

hg clone --branch branch remote_repository_source

hg clone --noupdate remote_repository_source

hg clone --updaterev revision remote_repository_source

hg clone --rev revision remote_repository_source