[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn:eol-style property

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-04-18 17:40:14 CEST

"Hensley, Richard" <Richard.Hensley@McKesson.com> writes:

> $ svn propset svn:mime-type application/xml checkstyle2txt.xsl
> property `svn:mime-type' set on 'checkstyle2txt.xsl'
> $ svn propset svn:eol-style native checkstyle2txt.xsl
> svn: Illegal target for the requested operation
> svn: File 'checkstyle2txt.xsl' has binary mimetype property

Hmmmm... looks like this function needs to have "*/xml" added to its
list of edge-cases.

(from libsvn_subr/validate.c:)

svn_mime_type_is_binary (const char *mime_type)
  return ((strncmp (mime_type, "text/", 5) != 0)
          && (strcmp (mime_type, "image/x-xbitmap") != 0)
          && (strcmp (mime_type, "image/x-xpixmap") != 0)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 18 17:41:50 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.