hgbook
view en/examples/mq.id @ 87:0995016342f8
More bumf.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed Oct 04 17:11:53 2006 -0700 (2006-10-04) |
parents | 8b0d389cf6e0 |
children | 9d0432dc167a |
line source
1 #!/bin/sh
3 hg init a
4 cd a
5 hg qinit
6 echo 'int x;' > test.c
7 hg ci -Ama
9 hg qnew first.patch
10 echo 'float c;' >> test.c
11 hg qrefresh
13 hg qnew second.patch
14 echo 'double u;' > other.c
15 hg add other.c
16 hg qrefresh
18 #$ name: out
20 hg qapplied
21 hg log -r qbase:qtip
22 hg export second.patch
24 #$ name:
25 exit 0