hgbook

diff en/examples/branch-repo @ 296:e0b56f008b09

Fix sample output for 'backout' test.
author Guido Ostkamp <hg@ostkamp.fastmail.fm>
date Wed Aug 20 21:51:54 2008 +0200 (2008-08-20)
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	Wed Aug 20 21:51:54 2008 +0200
     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