hgbook

diff es/examples/mq.tarball @ 346:6d899c80bfb5

added note about terms that have more than one accepted usage form.
author jerojasro@localhost
date Sun Oct 19 22:30:24 2008 -0500 (2008-10-19)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/es/examples/mq.tarball	Sun Oct 19 22:30:24 2008 -0500
     1.3 @@ -0,0 +1,51 @@
     1.4 +#!/bin/bash
     1.5 +
     1.6 +cp $EXAMPLE_DIR/data/netplug-*.tar.bz2 .
     1.7 +ln -s /bin/true download
     1.8 +export PATH=`pwd`:$PATH
     1.9 +
    1.10 +#$ name: download
    1.11 +
    1.12 +download netplug-1.2.5.tar.bz2
    1.13 +tar jxf netplug-1.2.5.tar.bz2
    1.14 +cd netplug-1.2.5
    1.15 +hg init
    1.16 +hg commit -q --addremove --message netplug-1.2.5
    1.17 +cd ..
    1.18 +hg clone netplug-1.2.5 netplug
    1.19 +
    1.20 +#$ name:
    1.21 +
    1.22 +cd netplug
    1.23 +echo '[extensions]' >> $HGRC
    1.24 +echo 'hgext.mq =' >> $HGRC
    1.25 +cd ..
    1.26 +
    1.27 +#$ name: qinit
    1.28 +
    1.29 +cd netplug
    1.30 +hg qinit
    1.31 +hg qnew -m 'fix build problem with gcc 4' build-fix.patch
    1.32 +perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c
    1.33 +hg qrefresh
    1.34 +hg tip -p
    1.35 +
    1.36 +#$ name: newsource
    1.37 +
    1.38 +hg qpop -a
    1.39 +cd ..
    1.40 +download netplug-1.2.8.tar.bz2
    1.41 +hg clone netplug-1.2.5 netplug-1.2.8
    1.42 +cd netplug-1.2.8
    1.43 +hg locate -0 | xargs -0 rm
    1.44 +cd ..
    1.45 +tar jxf netplug-1.2.8.tar.bz2
    1.46 +cd netplug-1.2.8
    1.47 +hg commit --addremove --message netplug-1.2.8
    1.48 +
    1.49 +#$ name: repush
    1.50 +
    1.51 +cd ../netplug
    1.52 +hg pull ../netplug-1.2.8
    1.53 +hg qpush -a
    1.54 +