Mercurial > hgbook
comparison ja/examples/mq.tarball @ 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.tarball@edd2acc3dbab |
children |
comparison
equal
deleted
inserted
replaced
289:7be02466421b | 290:b0db5adf11c1 |
---|---|
1 #!/bin/bash | |
2 | |
3 cp $EXAMPLE_DIR/data/netplug-*.tar.bz2 . | |
4 ln -s /bin/true download | |
5 export PATH=`pwd`:$PATH | |
6 | |
7 #$ name: download | |
8 | |
9 download netplug-1.2.5.tar.bz2 | |
10 tar jxf netplug-1.2.5.tar.bz2 | |
11 cd netplug-1.2.5 | |
12 hg init | |
13 hg commit -q --addremove --message netplug-1.2.5 | |
14 cd .. | |
15 hg clone netplug-1.2.5 netplug | |
16 | |
17 #$ name: | |
18 | |
19 cd netplug | |
20 echo '[extensions]' >> $HGRC | |
21 echo 'hgext.mq =' >> $HGRC | |
22 cd .. | |
23 | |
24 #$ name: qinit | |
25 | |
26 cd netplug | |
27 hg qinit | |
28 hg qnew -m 'fix build problem with gcc 4' build-fix.patch | |
29 perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c | |
30 hg qrefresh | |
31 hg tip -p | |
32 | |
33 #$ name: newsource | |
34 | |
35 hg qpop -a | |
36 cd .. | |
37 download netplug-1.2.8.tar.bz2 | |
38 hg clone netplug-1.2.5 netplug-1.2.8 | |
39 cd netplug-1.2.8 | |
40 hg locate -0 | xargs -0 rm | |
41 cd .. | |
42 tar jxf netplug-1.2.8.tar.bz2 | |
43 cd netplug-1.2.8 | |
44 hg commit --addremove --message netplug-1.2.8 | |
45 | |
46 #$ name: repush | |
47 | |
48 cd ../netplug | |
49 hg pull ../netplug-1.2.8 | |
50 hg qpush -a | |
51 |