[GRASS-SVN] r38652 - grass-addons/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 9 07:49:42 EDT 2009


Author: hamish
Date: 2009-08-09 07:49:42 -0400 (Sun, 09 Aug 2009)
New Revision: 38652

Modified:
   grass-addons/tools/module_svn_propset.sh
Log:
+rules for plain text

Modified: grass-addons/tools/module_svn_propset.sh
===================================================================
--- grass-addons/tools/module_svn_propset.sh	2009-08-09 11:48:06 UTC (rev 38651)
+++ grass-addons/tools/module_svn_propset.sh	2009-08-09 11:49:42 UTC (rev 38652)
@@ -78,6 +78,14 @@
    unset_exe "$1"
 }
 
+apply_text()
+{
+   set_keywords "$1"
+   set_mime_type "$1" text/plain
+   set_native_eol "$1"
+   unset_exe "$1"
+}
+
 apply_makefile()
 {
    set_mime_type "$1" text/x-makefile
@@ -164,6 +172,9 @@
 	fi
 	apply_image "$FILE" "$FILE_SUFFIX"
 	;;
+    txt)
+	apply_text "$FILE"
+	;;
     *)
 	if [ "$FILE" = "Makefile" ] ; then
 	   apply_makefile "$FILE"



More information about the grass-commit mailing list