RE: Idea for dealing with text-file line endings
From: Tim Peters <tim_at_zope.com>
Date: 2004-04-30 17:52:36 CEST
[Ben Collins-Sussman]
Please help me understand exactly what it takes "to fix" one of these?
These are my guesses:
1. A Linux user adds a new text file and forgets to set eol-style.
Anyone can fix it by setting the eol-style property after the
If someone on Windows managed to get the \n style before eol-style
A. Their working copy is out of date, and their next update
- or -
B. Their working copy isn't considered to be out of date, and
2. A Windows user adds a new text file (with \r\n line ends)
The file in the repository has \r\n line ends then.
Someone trys to repair this by setting eol-style.
My guess \is "that's too late", because the file in the
A. A Linux user who checks this out will continue to see \r\n.
- and -
B. A Windows user who checks this out will see \r\r\n (because
How much of that is wrong?
---------------------------------------------------------------------
|
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.