hgbook
annotate en/examples/mq.id @ 999:a6b81cd31cfd
adding complete.xml - which generated but Bryan did add it also - as I have absolutly no personnality I do as he does
author | Romain PELISSE <belaran@gmail.com> |
---|---|
date | Sat Sep 12 20:53:36 2009 +0200 (2009-09-12) |
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 |