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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 15 00:15:54 EDT 2011


Author: hamish
Date: 2011-03-14 21:15:54 -0700 (Mon, 14 Mar 2011)
New Revision: 45667

Modified:
   grass-addons/tools/module_svn_propset.sh
Log:
comment on mime type meaning vs. SVN's (mis)use of the value, for the record

Modified: grass-addons/tools/module_svn_propset.sh
===================================================================
--- grass-addons/tools/module_svn_propset.sh	2011-03-14 23:12:29 UTC (rev 45666)
+++ grass-addons/tools/module_svn_propset.sh	2011-03-15 04:15:54 UTC (rev 45667)
@@ -86,6 +86,11 @@
 
 apply_xml()
 {
+   # While given as "application" in /etc/mime.types, "text" is desired
+   #  here. see RFC 3023 and
+   #   http://www.imc.org/ietf-xml-mime/mail-archive/msg00496.html
+   #  Unfortunately svn treats "application" as "binary" and then refuses
+   #  to do text diffs. (same problem with PostScript)
    set_mime_type "$1" text/xml
    set_native_eol "$1"
    unset_exe "$1"



More information about the grass-commit mailing list