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 {{[-b|--branch]}} {{branch}} {{remote_repository_source}}

hg clone {{[-U|--noupdate]}} {{remote_repository_source}}

hg clone {{[-u|--updaterev]}} {{revision}} {{remote_repository_source}}

hg clone {{[-r|--rev]}} {{revision}} {{remote_repository_source}}