Mail Archives: djgpp-workers/2000/12/15/16:53:58
> From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
> Date: Fri, 15 Dec 2000 17:37:52 +0100
>
> Of these, I would prefer the first to be the default, with the third
> a viable alternative. I consider the second option to be too broken,
> but am willing to include it if necessary.
I agree. I also think there should be a way for the user to override
the default, for each operation.
In addition, we could make the I/O mode be sensitive to the repository
location: a remote repository is probably almost always a Unix box.
> > A "cvs diff" needs to deal with CRLF/NL conversions automatically for
> > text files.
> This is a difficult issue. You'd want the result of the diff to work
> on all platforms. As such it should preserve EOL conventions, and be
> written in binary mode. Only mode 1 handles this cleanly, as all files
> use binary I/O anyway.
Things are not that bad: latest versions of GNU Patch have a --binary
option which strips the CRs from the diffs, before applying them.
Using --binary, I can apply on Unix diffs generated on a DOS machine,
and it all works.
CVS can use the same code in its internal Patch operation.
- Raw text -