aboutsummaryrefslogtreecommitdiffstats
path: root/check_for_translation_work.sh
diff options
context:
space:
mode:
Diffstat (limited to 'check_for_translation_work.sh')
-rwxr-xr-xcheck_for_translation_work.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/check_for_translation_work.sh b/check_for_translation_work.sh
index 834ff24e..d33e3bb1 100755
--- a/check_for_translation_work.sh
+++ b/check_for_translation_work.sh
@@ -7,6 +7,7 @@
#
# Filip Komar, 2012
# Remco Rijnders, 2012
+# $Id$
#
# Please see SVN for a list of changes to this script.
#
@@ -101,6 +102,16 @@ EOF
exit
fi
+# Check if a newer version of this script is available. If yes, show the changes.
+my_version=`echo "$Revision$" | cut -d" " -f2`
+svn_version=`svn info svn://svn.mageia.org/svn/soft/i18n-tools/check_for_translation_work.sh | grep Revision: | cut -c11-`
+
+if [ $my_version -lt $svn_version ]; then
+ echo "You are running revision $my_version of this script, while $svn_version is available on SVN."
+ echo "You may consider updating. Changes are:"
+ svn log -r $my_version:$svn_version svn://svn.mageia.org/svn/soft/i18n-tools/check_for_translation_work.sh
+fi
+
# if you do have svn commit access, change the protocol from svn:// to svn+ssh://USERNAME@ in the projects array for easier committing...
declare -A projects
declare -A web_pages