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

Identify an text file

From: Sven Steiniger <Sven.Steiniger_at_newtron.net>
Date: 2004-08-20 09:38:45 CEST

I just wondered if there is a safe way to ask subversion if an working file
is treated as an text file or not.
I am currently getting the 'svn:mime-type' property and check if it's empty or
starts with "text/". But the documentation tells
  "For example, if a file's svn:mime-type property is set to a
   non-text MIME type (generally, something that doesn't
   begin with text/, though there are exceptions)"

Sven.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 20 09:39:07 2004

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