From e4e29b42bb88965e89e061589cd9c3fc598ae64a Mon Sep 17 00:00:00 2001 From: pxgamer Date: Tue, 19 Dec 2017 16:22:33 +0000 Subject: [PATCH 1/4] hg-pull: add page --- pages/common/hg-pull.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/common/hg-pull.md diff --git a/pages/common/hg-pull.md b/pages/common/hg-pull.md new file mode 100644 index 000000000..1cd5b13e8 --- /dev/null +++ b/pages/common/hg-pull.md @@ -0,0 +1,27 @@ +# hg pull + +> Pull changes from a specified repository to the local repository. + +- Pull from the `default` source path: + +`hg pull` + +- Update the local repository to the head of the remote: + +`hg pull --update` + +- Pull changes even when the remote repository is unrelated: + +`hg pull --force` + +- Specify a specific revision changeset to pull up to: + +`hg pull --rev {{revision}}` + +- Specify a specific branch to pull: + +`hg pull --branch {{branch}}` + +- Specify a specific bookmark to pull: + +`hg pull --bookmark {{bookmark}}` From 92d37bd305933c1828deb3e05a9e1981e0bfd8eb Mon Sep 17 00:00:00 2001 From: pxgamer Date: Tue, 19 Dec 2017 16:24:27 +0000 Subject: [PATCH 2/4] Added pulling from a specific source --- pages/common/hg-pull.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/hg-pull.md b/pages/common/hg-pull.md index 1cd5b13e8..9761b92ad 100644 --- a/pages/common/hg-pull.md +++ b/pages/common/hg-pull.md @@ -8,6 +8,10 @@ - Update the local repository to the head of the remote: +`hg pull {{path/to/source/repository}}` + +- Update the local repository to the head of the remote: + `hg pull --update` - Pull changes even when the remote repository is unrelated: From 30594060a45423dda43314eb9e1847fdc4bbab18 Mon Sep 17 00:00:00 2001 From: pxgamer Date: Tue, 19 Dec 2017 16:35:07 +0000 Subject: [PATCH 3/4] Correct description --- pages/common/hg-pull.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/hg-pull.md b/pages/common/hg-pull.md index 9761b92ad..ab4e27850 100644 --- a/pages/common/hg-pull.md +++ b/pages/common/hg-pull.md @@ -6,7 +6,7 @@ `hg pull` -- Update the local repository to the head of the remote: +- Pull from a specified source repository: `hg pull {{path/to/source/repository}}` From 4f851987d121cf0103180afdda29ebd2cd1b54ed Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Wed, 20 Dec 2017 08:49:04 +0530 Subject: [PATCH 4/4] hg-pull: minor changes - using a single word joined by underscore - changing from backtick to double quotes --- pages/common/hg-pull.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/hg-pull.md b/pages/common/hg-pull.md index ab4e27850..91e58ff11 100644 --- a/pages/common/hg-pull.md +++ b/pages/common/hg-pull.md @@ -2,13 +2,13 @@ > Pull changes from a specified repository to the local repository. -- Pull from the `default` source path: +- Pull from the "default" source path: `hg pull` - Pull from a specified source repository: -`hg pull {{path/to/source/repository}}` +`hg pull {{path/to/source_repository}}` - Update the local repository to the head of the remote: