hgbook
annotate en/examples/mq.tarball @ 68:c574ce277a2b
Mostly random attempt to see if fiddling with the child will help the parent.
Motivated by problems people are having on Debian sid and FreeBSD.
Motivated by problems people are having on Debian sid and FreeBSD.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Aug 07 15:45:08 2006 -0700 (2006-08-07) |
parents | 5cee64874312 |
children | edd2acc3dbab |
rev | line source |
---|---|
bos@47 | 1 #!/bin/bash |
bos@47 | 2 |
bos@19 | 3 cp $EXAMPLE_DIR/data/netplug-*.tar.bz2 . |
bos@19 | 4 ln -s /bin/true download |
bos@19 | 5 |
bos@19 | 6 #$ name: download |
bos@19 | 7 |
bos@19 | 8 download netplug-1.2.5.tar.bz2 |
bos@19 | 9 tar jxf netplug-1.2.5.tar.bz2 |
bos@19 | 10 cd netplug-1.2.5 |
bos@19 | 11 hg init |
bos@19 | 12 hg commit -q --addremove --message netplug-1.2.5 |
bos@19 | 13 cd .. |
bos@19 | 14 hg clone netplug-1.2.5 netplug |
bos@19 | 15 |
bos@19 | 16 #$ name: |
bos@19 | 17 |
bos@19 | 18 cd netplug |
bos@19 | 19 echo '[extensions]' >> $HGRC |
bos@19 | 20 echo 'hgext.mq =' >> $HGRC |
bos@19 | 21 cd .. |
bos@19 | 22 |
bos@19 | 23 #$ name: qinit |
bos@19 | 24 |
bos@19 | 25 cd netplug |
bos@19 | 26 hg qinit |
bos@19 | 27 hg qnew -m 'fix build problem with gcc 4' build-fix.patch |
bos@19 | 28 perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c |
bos@19 | 29 hg qrefresh |
bos@19 | 30 hg tip -p |
bos@19 | 31 |
bos@19 | 32 #$ name: newsource |
bos@19 | 33 |
bos@19 | 34 hg qpop -a |
bos@19 | 35 cd .. |
bos@19 | 36 download netplug-1.2.8.tar.bz2 |
bos@19 | 37 hg clone netplug-1.2.5 netplug-1.2.8 |
bos@19 | 38 cd netplug-1.2.8 |
bos@19 | 39 hg locate -0 | xargs -0 rm |
bos@19 | 40 cd .. |
bos@19 | 41 tar jxf netplug-1.2.8.tar.bz2 |
bos@19 | 42 cd netplug-1.2.8 |
bos@19 | 43 hg commit --addremove --message netplug-1.2.8 |
bos@19 | 44 |
bos@19 | 45 #$ name: repush |
bos@19 | 46 |
bos@19 | 47 cd ../netplug |
bos@19 | 48 hg pull ../netplug-1.2.8 |
bos@19 | 49 hg qpush -a |
bos@19 | 50 |