hgbook
annotate en/examples/mq.id @ 64:d12a199ed472
Update hook reference.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri Aug 04 13:43:26 2006 -0700 (2006-08-04) |
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 |