Files @ r11336:5c2d4656acdf
Branch filter:

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

translators
(svn r15691) -Update: WebTranslator2 update to 2009-03-12 18:42:18
french - 1 fixed by glx (1)
hungarian - 1 fixed by alyr (1)
luxembourgish - 258 fixed, 3 changed by Gubius (261)
persian - 146 fixed by ali sattari (146)
russian - 1 fixed by Smoky555 (1)
spanish - 1 fixed by eusebio (1)
#!/bin/sh

# $Id$

# 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