From 2b063022b858d3c8ec62bf96d7384d3af7ed978d Mon Sep 17 00:00:00 2001 From: pxgamer Date: Tue, 2 Jan 2018 22:01:08 +0000 Subject: [PATCH 1/2] hg-branch: add page --- pages/common/hg-branch.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/common/hg-branch.md diff --git a/pages/common/hg-branch.md b/pages/common/hg-branch.md new file mode 100644 index 000000000..fa1254812 --- /dev/null +++ b/pages/common/hg-branch.md @@ -0,0 +1,11 @@ +# hg branch + +> Create or show a branch name. + +- Show the name of the currently active branch: + +`hg branch` + +- Create a new branch for the next commit: + +`hg branch {{new_branch_name}}` From f49ed664635e58d7274431ddd66492d13a72acde Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Wed, 3 Jan 2018 09:02:19 +0530 Subject: [PATCH 2/2] hg-branch: remove "new_" This makes the page consistent with git branch --- pages/common/hg-branch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/hg-branch.md b/pages/common/hg-branch.md index fa1254812..106b94921 100644 --- a/pages/common/hg-branch.md +++ b/pages/common/hg-branch.md @@ -8,4 +8,4 @@ - Create a new branch for the next commit: -`hg branch {{new_branch_name}}` +`hg branch {{branch_name}}`