hgbook

annotate en/examples/mq.id @ 313:a168daed199b

Fix typos
author Simon Ruderich <simon@ruderich.org>
date Tue Aug 26 13:55:04 2008 -0700 (2008-08-26)
parents 9d0432dc167a
children
rev   line source
bos@50 1 #!/bin/sh
bos@50 2
bos@90 3 echo '[extensions]' >> $HGRC
bos@90 4 echo 'hgext.mq =' >> $HGRC
bos@90 5
bos@50 6 hg init a
bos@50 7 cd a
bos@50 8 hg qinit
bos@50 9 echo 'int x;' > test.c
bos@50 10 hg ci -Ama
bos@50 11
bos@50 12 hg qnew first.patch
bos@50 13 echo 'float c;' >> test.c
bos@50 14 hg qrefresh
bos@50 15
bos@50 16 hg qnew second.patch
bos@50 17 echo 'double u;' > other.c
bos@50 18 hg add other.c
bos@50 19 hg qrefresh
bos@50 20
bos@155 21 #$ name: output
bos@50 22
bos@50 23 hg qapplied
bos@50 24 hg log -r qbase:qtip
bos@50 25 hg export second.patch
bos@74 26
bos@74 27 #$ name:
bos@74 28 exit 0