hg-clone

hg-clone

TLDR

Clone a repository to a specified directory

>_ hg clone [remote_repository_source] [destination_path]
copy

Clone a repository to the head of a specific branch, ignoring later commits

>_ hg clone --branch [branch] [remote_repository_source]
copy

Clone a repository with only the ".hg" directory, without checking out files

>_ hg clone --noupdate [remote_repository_source]
copy

Clone a repository to a specific revision, tag or branch, keeping the entire history

>_ hg clone --updaterev [revision] [remote_repository_source]
copy

Clone a repository up to a specific revision without any newer history

>_ hg clone --rev [revision] [remote_repository_source]
copy

Copied to clipboard
free 100$ digital ocean credit