annotate en/fixsvg @ 530:f809de31887a

more translation :D added a term to the glossary
author jerojasro@localhost
date Sun, 30 Nov 2008 18:41:51 -0500
parents 028543f67bea
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
406
fb5c0d56d7f1 Fix test 'tour'.
Guido Ostkamp <hg@ostkamp.fastmail.fm>
parents:
diff changeset
1 #!/bin/bash
fb5c0d56d7f1 Fix test 'tour'.
Guido Ostkamp <hg@ostkamp.fastmail.fm>
parents:
diff changeset
2
408
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
3 test -d hello || hg clone http://hg.serpentine.com/tutorial/hello
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
4
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
5 set -e
406
fb5c0d56d7f1 Fix test 'tour'.
Guido Ostkamp <hg@ostkamp.fastmail.fm>
parents:
diff changeset
6
fb5c0d56d7f1 Fix test 'tour'.
Guido Ostkamp <hg@ostkamp.fastmail.fm>
parents:
diff changeset
7 for i in 0 1 2 3 4
fb5c0d56d7f1 Fix test 'tour'.
Guido Ostkamp <hg@ostkamp.fastmail.fm>
parents:
diff changeset
8 do
408
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
9 export REV$i=$(hg --cwd hello log -r $i --template '{node|short}' | cut -c1-4)
406
fb5c0d56d7f1 Fix test 'tour'.
Guido Ostkamp <hg@ostkamp.fastmail.fm>
parents:
diff changeset
10 done
408
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
11 export REV_my_hello=$(cat /tmp/REV5.my-hello)
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
12 export REV_my_new_hello=$(cat /tmp/REV5.my-new-hello)
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
13 export REV6_my_new_hello=$(cat /tmp/REV6.my-new-hello)
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
14 export REV7_my_new_hello=$(cat /tmp/REV7.my-new-hello)
406
fb5c0d56d7f1 Fix test 'tour'.
Guido Ostkamp <hg@ostkamp.fastmail.fm>
parents:
diff changeset
15
fb5c0d56d7f1 Fix test 'tour'.
Guido Ostkamp <hg@ostkamp.fastmail.fm>
parents:
diff changeset
16 FILE=$1
408
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
17 OUTFILE=$FILE-tmp.svg
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
18 rm -f $OUTFILE
406
fb5c0d56d7f1 Fix test 'tour'.
Guido Ostkamp <hg@ostkamp.fastmail.fm>
parents:
diff changeset
19 echo "Fixing $FILE"
408
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
20 cp $FILE $OUTFILE
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
21 perl -p -i -e "s#REV0#$REV0#" $OUTFILE
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
22 perl -p -i -e "s#REV1#$REV1#" $OUTFILE
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
23 perl -p -i -e "s#REV2#$REV2#" $OUTFILE
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
24 perl -p -i -e "s#REV3#$REV3#" $OUTFILE
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
25 perl -p -i -e "s#REV4#$REV4#" $OUTFILE
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
26 perl -p -i -e "s#REV_my_hello#$REV_my_hello#" $OUTFILE
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
27 perl -p -i -e "s#REV_my_new_hello#$REV_my_new_hello#" $OUTFILE
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
28 perl -p -i -e "s#REV6_my_new_hello#$REV6_my_new_hello#" $OUTFILE
028543f67bea Fix build
Bryan O'Sullivan <bos@serpentine.com>
parents: 406
diff changeset
29 perl -p -i -e "s#REV7_my_new_hello#$REV7_my_new_hello#" $OUTFILE