summaryrefslogtreecommitdiff
path: root/scripts/revert_pot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/revert_pot')
-rwxr-xr-xscripts/revert_pot4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/revert_pot b/scripts/revert_pot
index a46996ed6..5a1fddd2c 100755
--- a/scripts/revert_pot
+++ b/scripts/revert_pot
@@ -9,7 +9,5 @@ POTDIR="./po/pot"
[ -d $POTDIR ] || exit 1
echo "Reverting modified POT files (if any)..."
-for POT in $(svn st $POTDIR | grep "^M" | sed "s/^M[[:space:]]*//"); do
- svn revert $POT
-done
+git checkout -- $POTDIR/*.pot
echo "done."