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

Re: special property for text types

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 07 Feb 2008 10:27:56 -0800

Karl Fogel wrote:
> The more I think about it, the more sense an 'svn:is-text' or
> 'svn:line-based' boolean property makes. (But I can't shake a feeling
> that Mike Pilato and I had a long conversation about this once, and
> that he wrote up some subtle and unexpected thoughts somewhere, and
> that we really should find those now.)

I've no recollection of this discussion; all the more reason to dig around
to see if such a thing occurred.

> As pointed out in the users@ thread, the presence of 'svn:eol-style'
> should also be sufficient to mark something as "text". In other
> words, these things would all have the same meaning:
>
> - svn_mime_type_is_binary() returning false
> - svn:eol-style being present at all
> - new special property ('svn:is-text' or whatever) being present.

I like the thinking here, but would prefer to optimize this a bit, perhaps
by simply allowing svn:eol-style to accept a value which means "don't do any
EOL conversion, but note that this is line-based". maybe "*" or "" or
something.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2008-02-07 19:28:05 CET

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.