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

Re: Poll: do we really need newline conversion?

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2001-12-11 18:47:49 CET

Billy Tanksley <btanksley@hifn.com> writes:
> Okay, here's a problem: if we're using patch, we'll have to know what the
> correct line endings are. Patch won't preserve them; it'll either use
> system-dependant or all-Unix line endings. We'll have to convert when patch
> is finished.
>
> An ideal patching program would use 'record endings' which were variable --
> so you could patch a file with some CRs, some LFs, and some CRLFs (and even
> some commas), and all would go well. But this isn't how the traditional
> patch program works, and of course there's no room for this in the diff
> format.

Yes -- this is a problem we will need to solve independently of
newline conversion (imagine you have a text file with newline
conversion turned off, and it gets patched).

So good point, though unrelated to this poll.

Could you file an issue about this?

   http://subversion.tigris.org/issues/enter_bug.cgi?issue_type=DEFECT&component=subversion

Thanks,
-Karl

---------------------------------------------------------------------
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:52 2006

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