hgbook

diff es/examples/mq.id @ 338:58dfbe3e1620

clarification on the order of the list of translators
author jerojasro@localhost
date Sat Oct 18 22:53:37 2008 -0500 (2008-10-18)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/es/examples/mq.id	Sat Oct 18 22:53:37 2008 -0500
     1.3 @@ -0,0 +1,28 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +echo '[extensions]' >> $HGRC
     1.7 +echo 'hgext.mq =' >> $HGRC
     1.8 +
     1.9 +hg init a
    1.10 +cd a
    1.11 +hg qinit
    1.12 +echo 'int x;' > test.c
    1.13 +hg ci -Ama
    1.14 +
    1.15 +hg qnew first.patch
    1.16 +echo 'float c;' >> test.c
    1.17 +hg qrefresh
    1.18 +
    1.19 +hg qnew second.patch
    1.20 +echo 'double u;' > other.c
    1.21 +hg add other.c
    1.22 +hg qrefresh
    1.23 +
    1.24 +#$ name: output
    1.25 +
    1.26 +hg qapplied
    1.27 +hg log -r qbase:qtip
    1.28 +hg export second.patch
    1.29 +
    1.30 +#$ name:
    1.31 +exit 0