[Debian-l10n-commits] r1084 - /dl10n/trunk/pootle/sync-projects.d/10debconf

bubulle at users.alioth.debian.org bubulle at users.alioth.debian.org
Wed Jul 23 18:22:29 UTC 2008


Author: bubulle
Date: Wed Jul 23 18:22:28 2008
New Revision: 1084

URL: http://svn.debian.org/wsvn/?sc=1&rev=1084
Log:
Update SVN repo before running the sync with the tarball files

Modified:
    dl10n/trunk/pootle/sync-projects.d/10debconf

Modified: dl10n/trunk/pootle/sync-projects.d/10debconf
URL: http://svn.debian.org/wsvn/dl10n/trunk/pootle/sync-projects.d/10debconf?rev=1084&op=diff
==============================================================================
--- dl10n/trunk/pootle/sync-projects.d/10debconf (original)
+++ dl10n/trunk/pootle/sync-projects.d/10debconf Wed Jul 23 18:22:28 2008
@@ -9,6 +9,9 @@
 # Packages that are false positives: they don't really have po-debconf
 # translations
 IGNORE="lintian powertweak"
+
+cd $PROJECTDIR
+svn -q up
 
 # tarball location
 TARBALL=/org/dl10n-stuff/www/po-debconf.tar.gz
@@ -150,6 +153,7 @@
 # Now commit the whole stuff to SVN
 echo "  Committing to SVN"
 cd $PROJECTDIR
+svn -q up
 echo "   Adding new directories"
 # find . -type d | grep -v \\.svn | xargs svn add -N 2>/dev/null
 echo "   Adding PO files"
@@ -172,3 +176,5 @@
 rm /tmp/list-tarball  /tmp/list-pootle >/dev/null 2>&1 || true
 rm -rf $TEMPDIR >/dev/null 2>&1 || true
 
+echo "Refreshing Pootle stats"
+sudo -u pootle /usr/sbin/PootleServer --refreshstats




More information about the Debian-l10n-commits mailing list