svnup.sh
author translators
Sat, 29 Nov 2008 18:44:52 +0000
changeset 10391 8c1d42c0818d
parent 1583 7617a49e78e8
permissions -rwxr-xr-x
(svn r14642) -Update: WebTranslator2 update to 2008-11-29 18:44:42
croatian - 163 fixed, 30 changed by knovak (193)
czech - 1 fixed, 1 changed by miris2009 (2)
esperanto - 41 fixed by Athaba (41)
german - 4 fixed, 2 changed by Athaba (6)
greek - 20 fixed by vesnikos (20)
hungarian - 6 changed by IPG (6)
indonesian - 46 fixed by fanioz (46)
malay - 259 fixed by SeaGates (259)
polish - 1 fixed, 10 changed by meush (11)
#!/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