Files @ r5687:364a54b4aac7
Branch filter:

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

miham
(svn r8148) WebTranslator2 update to 2007-01-15 19:25:31
brazilian_portuguese - 4 fixed by fukumori (4)
bulgarian - 1 fixed, 48 changed by groupsky (49)
croatian - 163 fixed, 60 changed by Ydobon (223)
danish - 23 changed by MiR (23)
esperanto - 2 changed by LaPingvino (2)
italian - 4 fixed by sidew (4)
japanese - 5 fixed by ickoonite (5)
norwegian_bokmal - 4 fixed by brygge_2 (4)
norwegian_nynorsk - 830 changed by khaavik (822), Eikje3 (8)
portuguese - 4 fixed by izhirahider (4)
slovenian - 4 fixed, 64 changed by Necrolyte (68)
#!/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