hgbook

annotate en/examples/mq.id @ 74:ec1f144968de

Fix a few examples now that run-examples is more stringent.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed Aug 30 00:02:02 2006 -0700 (2006-08-30)
parents 8b0d389cf6e0
children 9d0432dc167a
rev   line source
bos@50 1 #!/bin/sh
bos@50 2
bos@50 3 hg init a
bos@50 4 cd a
bos@50 5 hg qinit
bos@50 6 echo 'int x;' > test.c
bos@50 7 hg ci -Ama
bos@50 8
bos@50 9 hg qnew first.patch
bos@50 10 echo 'float c;' >> test.c
bos@50 11 hg qrefresh
bos@50 12
bos@50 13 hg qnew second.patch
bos@50 14 echo 'double u;' > other.c
bos@50 15 hg add other.c
bos@50 16 hg qrefresh
bos@50 17
bos@50 18 #$ name: out
bos@50 19
bos@50 20 hg qapplied
bos@50 21 hg log -r qbase:qtip
bos@50 22 hg export second.patch
bos@74 23
bos@74 24 #$ name:
bos@74 25 exit 0