hgbook
diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/en/examples/mq.id Fri Aug 04 13:43:26 2006 -0700 1.3 @@ -0,0 +1,22 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +hg init a 1.7 +cd a 1.8 +hg qinit 1.9 +echo 'int x;' > test.c 1.10 +hg ci -Ama 1.11 + 1.12 +hg qnew first.patch 1.13 +echo 'float c;' >> test.c 1.14 +hg qrefresh 1.15 + 1.16 +hg qnew second.patch 1.17 +echo 'double u;' > other.c 1.18 +hg add other.c 1.19 +hg qrefresh 1.20 + 1.21 +#$ name: out 1.22 + 1.23 +hg qapplied 1.24 +hg log -r qbase:qtip 1.25 +hg export second.patch