Files @ r6294:1da1d67e2b5e
Branch filter:

Location: cpp/openttd-patchpack/source/svnup.sh

miham
(svn r9118) -Update: WebTranslator2 update to 2007-03-11 16:16:39
brazilian_portuguese - 2 fixed by fukumori (2)
bulgarian - 1 fixed by thetitan (1)
catalan - 5 fixed by arnaullv (5)
czech - 1 changed by Hadez (1)
esperanto - 1 fixed by LaPingvino (1)
french - 5 fixed by glx (5)
german - 1 fixed by Neonox (1)
greek - 260 fixed by thanoulas (260)
hungarian - 8 fixed by miham (8)
italian - 1 fixed by sidew (1)
korean - 12 fixed by leejaeuk5 (7), darkttd (5)
polish - 1 fixed, 2 changed by meush (3)
portuguese - 2 fixed by izhirahider (2)
slovenian - 1 fixed by Necrolyte (1)
traditional_chinese - 1 fixed, 42 changed by thomasau (43)
#!/bin/sh
# This script updates the svn source and displays log changes
# This is only useful for users of CLI based SVN clients
# Written by Bjarni

[ "$PAGER" ] || PAGER=less


(

# reads what version you have now
Base=`svn info | grep "Revision" | xargs -n 1 | tail -n 1`

# updates the source
svn update > svn.log
cat svn.log

# if the revision number changed
if [ "$Base" -ne "`svn info | grep "Revision" | xargs -n 1 | tail -n 1`" ]; then
# displays the log changes
svn log -v -r HEAD:$(($Base + 1))
fi

# displays merged files
cat svn.log|grep "^G"
cat svn.log|grep "^C"

) | $PAGER