hgbook

diff en/examples/branch-named @ 203:d7615e15510f

More about named branches, and early use of them.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri Apr 20 14:35:39 2007 -0700 (2007-04-20)
parents 6f167e644762
children 6519f3b983b4
line diff
     1.1 --- a/en/examples/branch-named	Fri Apr 20 14:02:10 2007 -0700
     1.2 +++ b/en/examples/branch-named	Fri Apr 20 14:35:39 2007 -0700
     1.3 @@ -7,4 +7,25 @@
     1.4  
     1.5  #$ name: branches
     1.6  
     1.7 +hg tip
     1.8  hg branches
     1.9 +
    1.10 +#$ name: branch
    1.11 +
    1.12 +hg branch
    1.13 +
    1.14 +#$ name: create
    1.15 +
    1.16 +hg branch foo
    1.17 +hg branch
    1.18 +
    1.19 +#$ name: status
    1.20 +
    1.21 +hg status
    1.22 +hg tip
    1.23 +
    1.24 +#$ name: commit
    1.25 +
    1.26 +echo 'hello again' >> myfile
    1.27 +hg commit -m 'Second commit'
    1.28 +hg tip