Mercurial > hgbook
comparison ja/examples/mq.id @ 290:b0db5adf11c1 ja_root
fork Japanese translation.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Wed, 06 Feb 2008 17:43:11 +0900 |
parents | en/examples/mq.id@914babdc99c8 |
children |
comparison
equal
deleted
inserted
replaced
289:7be02466421b | 290:b0db5adf11c1 |
---|---|
1 #!/bin/sh | |
2 | |
3 echo '[extensions]' >> $HGRC | |
4 echo 'hgext.mq =' >> $HGRC | |
5 | |
6 hg init a | |
7 cd a | |
8 hg qinit | |
9 echo 'int x;' > test.c | |
10 hg ci -Ama | |
11 | |
12 hg qnew first.patch | |
13 echo 'float c;' >> test.c | |
14 hg qrefresh | |
15 | |
16 hg qnew second.patch | |
17 echo 'double u;' > other.c | |
18 hg add other.c | |
19 hg qrefresh | |
20 | |
21 #$ name: output | |
22 | |
23 hg qapplied | |
24 hg log -r qbase:qtip | |
25 hg export second.patch | |
26 | |
27 #$ name: | |
28 exit 0 |