delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/16/13:12:00

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Braden McDaniel <braden AT endoframe DOT com>
Newsgroups: gmane.os.cygwin
Subject: cvs: checking in files with DOS line endings
Date: Fri, 16 Aug 2002 12:06:25 -0400
Lines: 18
Message-ID: <ajj85p$j88$1@main.gmane.org>
NNTP-Posting-Host: sphinx.lnk.com
Mime-Version: 1.0
X-Trace: main.gmane.org 1029514234 19720 198.116.32.37 (16 Aug 2002 16:10:34 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Fri, 16 Aug 2002 16:10:34 +0000 (UTC)
User-Agent: Pan/0.12.1 (The din of other people)
X-Comment-To: ALL

I'm trying to check in some files with \r\n line endings using Cygwin cvs.
No matter what I do, it looks like the client is converting the line
endings to \n when it uploads the file. I have:

  1. Told the repository to treat the file as binary.
  2. Made certain the the files on the client side have the \r\n line
     endings.
  3. Checked in the changes to the files.

But when I check them back out, they have \n line endings!

And when I check them out with WinCVS, they have \n line endings.

Is there some option I can give Cygwin cvs to tell it to upload the files
as-is?

Braden




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