Files @ r10411:0a2bddb50966
Branch filter:

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

translators
(svn r14662) -Update: WebTranslator2 update to 2008-12-08 16:28:15
frisian - 216 fixed, 14 changed by Fryslân Boppe (230)
hebrew - 109 fixed, 2 changed by ybungalobill (111)
hungarian - 1 changed by oklmernok (1)
indonesian - 115 fixed by adjayanto (59), fanioz (56)
lithuanian - 24 fixed by Enternald (24)
malay - 41 fixed by Syed (41)
norwegian_nynorsk - 72 fixed by Thor (72)
turkish - 3 changed by Emin (3)
#!/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