[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: Karl Fogel <kfogel_at_red-bean.com>
Date: Thu, 07 Feb 2008 14:18:10 -0500

"C. Michael Pilato" <cmpilato_at_collab.net> writes:
> 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.

I'm not so sure that's good...

People set 'svn:eol-style' because they're looking for a way to get
line-ending conversions -- the conversion is the "task" there.

People would set svn:is-text because they want to make Subversion
behave certain ways with the file when diffing and merging. The
"task" is totally different here.

If we were to overload the svn:eol-style property (the way we did with
'svn switch --relocate'), I think we'd be confusing a lot of people,
who think from the point of view of their tasks, not from the point of
view of how Subversion works.

I think the documentation for svn:is-text should recommend that the
user seriously consider if they need to set svn:eol-style instead
(after all, how often would you need to say something's text and yet
not be willing to set svn:eol-style to at *least* "native"?), though.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-07 20:18:24 CET

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