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

Re: Should svn:eol-style=native ignore new line characters in quotes

From: Eric Hanchrow <offby1_at_blarg.net>
Date: 2007-11-20 15:42:04 CET

>>>>> "James" == James Hartleroad <jhartleroad11@gmail.com> writes:

    James> We have the svn:eol-style property set to native for UNIX
    James> shell scripts and have come across an issue where a '^M'
    James> character in a sed statement throws a Inconsistent line
    James> ending style error.

I cannot reproduce that problem; every time I try, subversion
(correctly) complains that the file has an "inconsistent line ending

    James> Shouldn't the functionally of the svn:eol-style code ignore
    James> new line characters that are in single or double quotes,

Absolutely not. Subversion does not, and should not, try to guess the
semantics of the files that it stores; that would make it hugely more
complex, and less reliable.

    James> Has anyone else ran into this issue, if so what are some of
    James> the workarounds?

I wonder if you're using a very old version of Subversion, since, as I
say, I cannot reproduce the problem. It might be helpful to post a
precise reproduction recipe.

... there are any number of partisan Democrats lurking in
engineering departments and liberal moles in software-writing
        -- Molly Ivins
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 20 15:53:54 2007

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

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