This is the mail archive of the
mailing list for the Cygwin project.
Re: can Cygwin CVS change line endings on checkout/update?
- From: Nicholas Wourms <nwourms at yahoo dot com>
- To: "David M. Karr" <dmkarr at earthlink dot net>, cygwin at cygwin dot com
- Date: Sat, 21 Sep 2002 20:55:17 -0700 (PDT)
- Subject: Re: can Cygwin CVS change line endings on checkout/update?
--- "David M. Karr" <firstname.lastname@example.org> wrote:
> I've noticed that WinCVS has a feature where it can change the line
> endings on
> files on checkout/update, to either use DOS or Unix line endings.
> I don't see
> anything in the Cygwin CVS interface that can do this. Is this
> feature just
> not in standard command-line CVS?
Cygwin's CVS is based on the stock cvs sources, which were designed
with Unix and Unix-style line endings in mind. If you need to insert
dos line endings, use unix2dos. Similarly, if you need to switch to
Unix line endings, use dos2unix. If you know what you are doing, you
could probably whip up a script to automate the processing for you.
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html