[GRASS-SVN] r56834 - grass-addons/tools
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jun 20 07:49:29 PDT 2013
Author: neteler
Date: 2013-06-20 07:49:29 -0700 (Thu, 20 Jun 2013)
New Revision: 56834
Modified:
grass-addons/tools/module_svn_propset.sh
Log:
module_svn_propset.sh: add .po file support
Modified: grass-addons/tools/module_svn_propset.sh
===================================================================
--- grass-addons/tools/module_svn_propset.sh 2013-06-20 14:41:35 UTC (rev 56833)
+++ grass-addons/tools/module_svn_propset.sh 2013-06-20 14:49:29 UTC (rev 56834)
@@ -193,6 +193,14 @@
unset_exe "$1"
}
+apply_po()
+{
+ set_keywords "$1"
+ set_mime_type "$1" text/x-po
+ set_native_eol "$1"
+ unset_exe "$1"
+}
+
apply_OBJ_code()
{
svn propset svn:ignore "OBJ.*
@@ -281,6 +289,9 @@
txt)
apply_text "$FILE"
;;
+ po)
+ apply_po "$FILE"
+ ;;
rst)
apply_text "$FILE"
;;
More information about the grass-commit
mailing list