hgbook
diff en/examples/branch-repo @ 1056:880bc582a43d
cvs and performance translation refined
author | zhaopingsun |
---|---|
date | Tue Nov 10 20:09:09 2009 -0500 (2009-11-10) |
parents | 615f3c6b30e1 |
children |
line diff
1.1 --- a/en/examples/branch-repo Mon Apr 16 17:21:38 2007 -0700 1.2 +++ b/en/examples/branch-repo Tue Nov 10 20:09:09 2009 -0500 1.3 @@ -30,6 +30,19 @@ 1.4 cd .. 1.5 hg clone myproject my-feature 1.6 cd my-feature 1.7 -echo "I'm adding a new feature with my mind!" > mynewfile 1.8 +echo 'This sure is an exciting new feature!' > mynewfile 1.9 hg commit -A -m 'New feature' 1.10 +hg push 1.11 1.12 +#$ name: pull 1.13 + 1.14 +cd .. 1.15 +hg clone myproject myproject-merge 1.16 +cd myproject-merge 1.17 +hg pull ../myproject-1.0.1 1.18 + 1.19 +#$ name: merge 1.20 + 1.21 +hg merge 1.22 +hg commit -m 'Merge bugfix from 1.0.1 branch' 1.23 +hg push