Re: CVS Problems
| From: | Shane Caraveo | Date: | Fri, 18 Apr 2003 17:14:28 +0000 |
| Subject: | Re: CVS Problems | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15245@lists.php.net to get a copy of this message | ||
I've seen this happen a couple times. I've seen some files *in* the CVS respository with \r\n line endings. This is likely what has caused the problem. CVS converts line endings on update/commit. The repository itself should always have the native line endings.
Check the line endings in your file, if you have \r\r\n, then I can tell you that you are on windows, and the repository has a file with \r\n. Best thing to do is fix the line endings to be correct, then commit an EOL FIX.
Shane
Michael Bretterklieber wrote:
Hi, Jon Wood wrote:Can anyone enlighten me on why when I do a diff on one of the files for my patch, it tells me the whole file has been changed, when in fact I changed less than 10 lines? It's causing the patch to be too big to get through to the list.maybe you are having problems with windows cr-line-feeds (\r\n) and unix line-feeds (\r). Maybe you editor filled in windows line-feeds, but in the repository the file is with unix-line-feeds? bye,