Mercurial > hgbook
comparison en/examples/mq.id @ 50:8b0d389cf6e0
Update MQ chapter to match recent bug fixes.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu, 27 Jul 2006 10:20:55 -0700 |
parents | |
children | ec1f144968de |
comparison
equal
deleted
inserted
replaced
49:18210d46491f | 50:8b0d389cf6e0 |
---|---|
1 #!/bin/sh | |
2 | |
3 hg init a | |
4 cd a | |
5 hg qinit | |
6 echo 'int x;' > test.c | |
7 hg ci -Ama | |
8 | |
9 hg qnew first.patch | |
10 echo 'float c;' >> test.c | |
11 hg qrefresh | |
12 | |
13 hg qnew second.patch | |
14 echo 'double u;' > other.c | |
15 hg add other.c | |
16 hg qrefresh | |
17 | |
18 #$ name: out | |
19 | |
20 hg qapplied | |
21 hg log -r qbase:qtip | |
22 hg export second.patch |