commands.sh

hg pull

all

Pull changes from a specified repository to the local repository.

More info →

Options (5)

-u, --updateboolean

Update the local repository to the head of the remote

Example: hg pull {{[-u|--update]}}
-f, --forceboolean

Pull changes even when the remote repository is unrelated

Example: hg pull {{[-f|--force]}}
-r, --revboolean

Specify a specific revision changeset to pull up to

Example: hg pull {{[-r|--rev]}} {{revision}}
-b, --branchboolean

Specify a specific branch to pull

Example: hg pull {{[-b|--branch]}} {{branch}}
-B, --bookmarkboolean

Specify a specific bookmark to pull

Example: hg pull {{[-B|--bookmark]}} {{bookmark}}

Examples (7)

Pull from the "default" source path

Pull from a specified source repository

hg pull path/to/source_repository

Update the local repository to the head of the remote

hg pull [-u|--update]

Pull changes even when the remote repository is unrelated

hg pull [-f|--force]

Specify a specific revision changeset to pull up to

hg pull [-r|--rev] revision

Specify a specific branch to pull

hg pull [-b|--branch] branch

Specify a specific bookmark to pull

hg pull [-B|--bookmark] bookmark
made by @shridhargupta | data from tldr-pages