diff 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
line wrap: on
line diff
--- a/en/examples/tour	Thu Oct 12 14:46:54 2006 -0700
+++ b/en/examples/tour	Thu Oct 12 16:01:40 2006 -0700
@@ -35,3 +35,73 @@
 #$ name: log.range
 
 hg log -r 2:4
+
+#$ name: log-v
+
+hg log -v -r 3
+
+#$ name: log-vp
+
+hg log -v -p -r 2
+
+#$ name: reclone
+
+cd ..
+hg clone hello my-hello
+cd my-hello
+
+#$ name: sed
+
+sed -i '/printf/a\\tprintf("hello again!\\n");' hello.c
+
+#$ name: status
+
+ls
+hg status
+
+#$ name: diff
+
+hg diff
+
+#$ name:
+
+export HGEDITOR='echo Added an extra line of output >'
+
+#$ name: commit
+
+hg commit
+
+#$ name: tip
+
+hg tip -vp
+
+#$ name: clone-pull
+
+cd ..
+hg clone hello hello-pull
+
+#$ name: incoming
+
+cd hello-pull
+hg incoming ../my-hello
+
+#$ name: pull
+
+hg tip
+hg pull ../my-hello
+hg tip
+
+#$ name: update
+
+grep printf hello.c
+hg update tip
+grep printf hello.c
+
+#$ name: parents
+
+hg parents
+
+#$ name: older
+
+hg update 2
+hg parents