hgbook

annotate en/examples/mq.id @ 70:365b41b6a15e

bash is not necessarily in /bin.
Original patch against an earlier rev from Guy Brand <gb@isis.u-strasbg.fr>.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Aug 08 14:13:28 2006 -0700 (2006-08-08)
parents
children ec1f144968de
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