Subject: RE: CVS and binary/text files.
From: Vince Hoffman <[email-masked]>
To: "'Pietrobon Marcello'" <[email-masked]>, [email-masked]
Cc: [email-masked], "'Fabrice Gautier'" <[email-masked]>
Date: Fri, 21 Mar 2003 10:39:21 -0000

Umm not sure if a) anyones already answered this or b) it will suit your
problem, but if you need to quickly change a directory between text or
binary, mount it in the mode you need. 
eg.
mkdir /mnt
mount -t h:/documents /mnt
for text mode.
then to switch it.
umount /mnt
mount h:/documents /mnt

(and just substitute your cvs root for h:/documents)

> -----Original Message-----
> From: Pietrobon Marcello [mailto:[email-masked]]
> Sent: 20 March 2003 19:28
> To: [email-masked]
> Cc: [email-masked]; 'Fabrice Gautier'
> Subject: Re: CVS and binary/text files.
> Importance: High
> 
> 
> Hi,
> I need to quickly switch between the two DOS and Unix modes 
> when using CVS
> 
> Is there a way to do it ?
> Without creating any problems somewhere else in the Cygwin OS ?
> And without having to reinstall the cvs client, or worse all cygwin ?
> 
> Thank you for any quick answer !
> 
> Marcello
> 
> 
> 
> 
> 
> Norman Vine wrote:
> 
> > Fabrice Gautier writes:
> > >
> > >I'm using the cvs client provided with cygwin to grab some
> > >windows files.
> > >Those file normally have DOS style end of lines (CRLF) but 
> when i get
> > >them with cvs they have UNIX style end of lines.
> > >
> > >Is their some cvs options to get DOS end of lines?
> >
> > CVS will add DOS style line endings when files are CheckedOut
> > onto a text mounted drive.   It will use UNIX style line endings on
> > binary mounted drives.
> >
> > Cheers
> >
> > Norman Vine
> >
> > --
> > Want to unsubscribe from this list?
> > Check out: http://cygwin.com/ml/#unsubscribe-simple
> 
> 
> 
> --
> 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/
> 

--
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/