hgbook
diff en/examples/tour @ 91:7524d52d9577
More tour progress.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu Oct 12 16:01:40 2006 -0700 (2006-10-12) |
parents | d351032c189c |
children | 72d207927dc4 |
line diff
1.1 --- a/en/examples/tour Thu Oct 12 10:33:03 2006 -0700 1.2 +++ b/en/examples/tour Thu Oct 12 16:01:40 2006 -0700 1.3 @@ -35,3 +35,73 @@ 1.4 #$ name: log.range 1.5 1.6 hg log -r 2:4 1.7 + 1.8 +#$ name: log-v 1.9 + 1.10 +hg log -v -r 3 1.11 + 1.12 +#$ name: log-vp 1.13 + 1.14 +hg log -v -p -r 2 1.15 + 1.16 +#$ name: reclone 1.17 + 1.18 +cd .. 1.19 +hg clone hello my-hello 1.20 +cd my-hello 1.21 + 1.22 +#$ name: sed 1.23 + 1.24 +sed -i '/printf/a\\tprintf("hello again!\\n");' hello.c 1.25 + 1.26 +#$ name: status 1.27 + 1.28 +ls 1.29 +hg status 1.30 + 1.31 +#$ name: diff 1.32 + 1.33 +hg diff 1.34 + 1.35 +#$ name: 1.36 + 1.37 +export HGEDITOR='echo Added an extra line of output >' 1.38 + 1.39 +#$ name: commit 1.40 + 1.41 +hg commit 1.42 + 1.43 +#$ name: tip 1.44 + 1.45 +hg tip -vp 1.46 + 1.47 +#$ name: clone-pull 1.48 + 1.49 +cd .. 1.50 +hg clone hello hello-pull 1.51 + 1.52 +#$ name: incoming 1.53 + 1.54 +cd hello-pull 1.55 +hg incoming ../my-hello 1.56 + 1.57 +#$ name: pull 1.58 + 1.59 +hg tip 1.60 +hg pull ../my-hello 1.61 +hg tip 1.62 + 1.63 +#$ name: update 1.64 + 1.65 +grep printf hello.c 1.66 +hg update tip 1.67 +grep printf hello.c 1.68 + 1.69 +#$ name: parents 1.70 + 1.71 +hg parents 1.72 + 1.73 +#$ name: older 1.74 + 1.75 +hg update 2 1.76 +hg parents