From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 12:06:08 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CA1016A531 for ; Sun, 21 Dec 2003 12:06:08 -0800 (PST) Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8836A43D3F for ; Sun, 21 Dec 2003 12:06:01 -0800 (PST) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org ([141.156.37.12]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20031221200600.ZCZG18505.out010.verizon.net@kirk.dlee.org>; Sun, 21 Dec 2003 14:06:00 -0600 Received: from kirk.dlee.org (dgl@localhost.dlee.org [127.0.0.1]) by kirk.dlee.org (8.12.9p2/8.12.9) with ESMTP id hBLK5xG9018167; Sun, 21 Dec 2003 15:05:59 -0500 (EST) (envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.12.9p2/8.12.9/Submit) id hBLK5wW5018166; Sun, 21 Dec 2003 15:05:59 -0500 (EST) (envelope-from dgl) Date: Sun, 21 Dec 2003 15:05:56 -0500 From: Doug Lee To: Daniela Message-ID: <20031221200556.GR15420@kirk.dlee.org> Mail-Followup-To: Doug Lee , Daniela , freebsd-questions@freebsd.org References: <20031221172552.GQ15420@kirk.dlee.org> <200312212058.30951.dgw@liwest.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312212058.30951.dgw@liwest.at> Organization: Bartimaeus Group User-Agent: Mutt/1.5.4i X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [141.156.37.12] at Sun, 21 Dec 2003 14:06:00 -0600 cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD CVS for DOS/Windows sources? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2003 20:06:08 -0000 On Sun, Dec 21, 2003 at 08:58:30PM +0000, Daniela wrote: > On Sunday 21 December 2003 17:25, Doug Lee wrote: > > I'm trying to use FreeBSD's CVS (v1.11.5) to manage DOS/Windows > > projects, which of course means files with CR/LF line endings. The > > docs claim the repository will internally store everything (text files > > anyway) with only LF endings, but in fact I'm seeing CR/LF endings in > > repository text files. This is still fine until I pull a project out > > with a DOS/Windows CVS client (the standard cvs.exe), which gives me > > lines ending in CR/CR/LF. If I pull the project under Unix, I get the > > CR/LF endings just fine; but my coworkers will not be telneting to > > Unix just to pull code... > > I don't know anything about Micro$oft Winblows eXPensive, but why don't you > just strip the CR on the server? So the Windoze client can add the CR, and > you always get the native format, respectively. > This is definitely the fault of the client, so don't blame the server :-) Actually I wasn't sure whose "fault" it was, since the docs say the CR's should not be stored by the server. Given that, the client did what it should under the circumstances. Maybe a later CVS version than 1.11.5 fixes this in the server? I'm not sure. I didn't edit the repo because I don't consider myself savvy enough about CVS yet to start playing with repo files directly, except to look at them with a curious eye. -- Doug Lee dgl@dlee.org http://www.dlee.org Bartimaeus Group doug@bartsite.com http://www.bartsite.com "Is your cucumber bitter? Throw it away. Are there briars in your path? Turn aside. That is enough. Do not go on to say, `Why were things of this sort ever brought into the world?'" --Marcus Aurelius