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

Re: Ascii/binary detection.

From: <subversion-dev_at_thewrittenword.com>
Date: 2001-08-04 17:37:53 CEST

On Tue, Jul 31, 2001 at 03:34:04PM -0500, cmpilato@collab.net wrote:
> `svn:line-ending'
>
> If this property is present on a given non-binary file, its value
> is used to determine how line-endings should be translated.
>
> Values for this can be:
>
> 'native' - Use the line ending mechanism native
> to the user's operating system.
>
> 'dos', 'unix', or 'mac' - Use CRLF, LF, or LFCR, respectively.

Why not make the values 'crlf', 'lf', and 'lfcr'. This way, if new
operating systems are introduced which use an existing line
termination value, a new value for the OS does not need to exist.

The problem with this is that users would then need to know the line
termination character of their OS. One alternative is to advocate
'crlf', 'lf', and 'lfcr' but have aliases for the "popular" OS's that
translate to the correct value.

-- 
albert chin (china@thewrittenword.com)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:35 2006

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.