delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/22/22:21:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 22 Dec 2001 19:20:12 -0800
From: David Koski <david AT kosmosisland DOT com>
To: <cygwin AT cygwin DOT com>
Cc: Andrew Markebo <flognat AT flognat DOT myip DOT org>
Subject: Re: CVS and CR, LF
Message-Id: <20011222192012.3ab262f1.david@kosmosisland.com>
In-Reply-To: <m3g063wr7c.fsf@localhost.localdomain>
References: <20011221134915 DOT 2829dad7 DOT david AT kosmosisland DOT com>
<m3g063wr7c DOT fsf AT localhost DOT localdomain>
X-Mailer: Sylpheed version 0.6.5 (GTK+ 1.2.10; i586-pc-linux-gnu)
Mime-Version: 1.0

On 22 Dec 2001 10:15:51 +0100
Andrew Markebo <flognat AT flognat DOT myip DOT org> wrote:

> Which cvs do you use (cygwin?) and how do you connect to the repository? 

cvs --version:

Concurrent Versions System (CVS) 1.11 (Client/Server)

uname -a:

CYGWIN_98-4.10 PRO2 1.3.5(0.47/3/2) 2001-11-13 23:16 i686 unknown

Environment CVS_RSH=ssh first.  Then cvs commands are executed either from the
DOS prompt or from bash.  The results are the same.

> Doesn't the windows/dos cvs'es convert CRLF's to LF (or what it is ;-)
> When we use wincvs around here, talking to a repository-server on
> unix, I think it is taken care of automagically.

I suspect the CR is filtered out somewhere.  They are definately in the
repository.  The files were created on a Samba share using the Borland IDE which
produces CRLF's, before importing and commiting with a Linux client to a Linux
server.  Linux's CVS works perfectly and has no problem with the CR's.  It is
only Cygwin that has the problem with the existing repository.

> Hmm could it be the mounts of the filesystems you edit the files on?
> If you mount it as textmode, cygwin cvs might just see the LF's.. 

I will have to look into mounts.  It is a default install but setting
CYGWIN=binmode doesn't help.

>         /Andy
> 
> / David Koski <david AT kosmosisland DOT com> wrote:
> | Hello,
> | 
> | I have been using CVS successfully to maintain source code on a Linux based
CVS
> | server.  The files have been edited with DOS applications and have CR, LF
record
> | terminators.  The local source is on a Linux Samba share so it has been easy
to
> 
> -- 
>  The eye of the beholder rests on the beauty!

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019