This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: can Cygwin CVS change line endings on checkout/update?


--- "David M. Karr" <dmkarr@earthlink.net> 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.

Cheers,
Nicholas

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]