comparison en/examples/tour @ 91:7524d52d9577

More tour progress.
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 12 Oct 2006 16:01:40 -0700
parents d351032c189c
children 72d207927dc4
comparison
equal deleted inserted replaced
90:9d0432dc167a 91:7524d52d9577
33 hg log -r 1 -r 4 33 hg log -r 1 -r 4
34 34
35 #$ name: log.range 35 #$ name: log.range
36 36
37 hg log -r 2:4 37 hg log -r 2:4
38
39 #$ name: log-v
40
41 hg log -v -r 3
42
43 #$ name: log-vp
44
45 hg log -v -p -r 2
46
47 #$ name: reclone
48
49 cd ..
50 hg clone hello my-hello
51 cd my-hello
52
53 #$ name: sed
54
55 sed -i '/printf/a\\tprintf("hello again!\\n");' hello.c
56
57 #$ name: status
58
59 ls
60 hg status
61
62 #$ name: diff
63
64 hg diff
65
66 #$ name:
67
68 export HGEDITOR='echo Added an extra line of output >'
69
70 #$ name: commit
71
72 hg commit
73
74 #$ name: tip
75
76 hg tip -vp
77
78 #$ name: clone-pull
79
80 cd ..
81 hg clone hello hello-pull
82
83 #$ name: incoming
84
85 cd hello-pull
86 hg incoming ../my-hello
87
88 #$ name: pull
89
90 hg tip
91 hg pull ../my-hello
92 hg tip
93
94 #$ name: update
95
96 grep printf hello.c
97 hg update tip
98 grep printf hello.c
99
100 #$ name: parents
101
102 hg parents
103
104 #$ name: older
105
106 hg update 2
107 hg parents