From d143db80c12ccfd318b53cbdb459f92c919bec70 Mon Sep 17 00:00:00 2001 From: pxgamer Date: Wed, 20 Dec 2017 12:27:24 +0000 Subject: [PATCH 1/2] hg-push: add page --- pages/common/hg-push.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/common/hg-push.md diff --git a/pages/common/hg-push.md b/pages/common/hg-push.md new file mode 100644 index 000000000..e3622a9dd --- /dev/null +++ b/pages/common/hg-push.md @@ -0,0 +1,27 @@ +# hg push + +> Push changes from the local repository to a specified destination. + +- Push changes to the "default" remote path: + +`hg push` + +- Push changes to a specified remote repository: + +`hg push {{path/to/destination_repository}}` + +- Allow pushing a new branch (disabled by default): + +`hg push --new-branch` + +- Specify a specific revision changeset to push: + +`hg push --rev {{revision}}` + +- Specify a specific branch to push: + +`hg push --branch {{branch}}` + +- Specify a specific bookmark to push: + +`hg push --bookmark {{bookmark}}` From 0836e5f00d6f89d651561f2af098f7e2852f33fe Mon Sep 17 00:00:00 2001 From: pxgamer Date: Wed, 20 Dec 2017 17:43:46 +0000 Subject: [PATCH 2/2] Updated --new-branch description --- pages/common/hg-push.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/hg-push.md b/pages/common/hg-push.md index e3622a9dd..124d1454d 100644 --- a/pages/common/hg-push.md +++ b/pages/common/hg-push.md @@ -10,7 +10,7 @@ `hg push {{path/to/destination_repository}}` -- Allow pushing a new branch (disabled by default): +- Push a new branch if it does not exist (disabled by default): `hg push --new-branch`