delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/01/14:27:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
From: Jani Tiainen <redetin AT luukku DOT com>
Subject: Re: strange problems with cvs
Date: Wed, 01 Dec 2004 21:26:48 +0200
Lines: 56
Message-ID: <col5to$j0g$1@sea.gmane.org>
References: <002201c4d793$837f5120$0100a8c0 AT pc07653> <cokhdd$amg$1 AT sea DOT gmane DOT org> <00bf01c4d7d7$e7335ce0$0100a8c0 AT pc07653>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: kotivayla-134-10.tikkacom.fi
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041118)
In-Reply-To: <00bf01c4d7d7$e7335ce0$0100a8c0@pc07653>
X-IsSubscribed: yes

Nuno Lopes kirjoitti:
>>> I use CVS with cygwin a long time ago, but after a recent updte it 
>>> stoped
>>> working. I'm using pserver auth and the cygwin is installed with *DOS*
>>> line-endings.
>>>
>>> When I try to do something with cvs -1.11.17- (cvs up, cvs diff, 
>>> etc..) it
>>> simply returns:
>>> ": no such repository"
>>>
>>> Normally if I close cygwin, run the setup again (without installing
>>> anything) and opening cygwin again fixes the problem.
>>>
>>> If I do a fresh checkout, it will checkout the files with *unix* 
>>> file-endings, which isn't what I asked for..
>>>
>>> Does anyone knows whats the problem here? I think it might be cause 
>>> of the
>>> release of the lastest dll version. (I update cygwin often..)
>>
>>
>> Seems like you have encountered fancy EOL problem. To be safe use unix 
>> line-endings since CVS is pretty picky about those.
>>
>> And of course if you want to use DOS type line endings, use real win32 
>> version of CVS.
> 
> 
> It had always worked, so there might be some change in the code that 
> caused this...
> Anyway, the files in the cvs server use the unix EOL, but on my pc they 
> use the win EOL. But cvs used to handle this for me..

This might be due difference between binary/textmode mounts in cygwin... 
Maybe they change for a reason or another in some of your updates...

>> I've encountered numerous problems with CVS due the line-endings... 
>> Any decent text editor should be handle both CR+LF or LF/CR only 
>> line-endings and preserving existing ones... If yours doesn't it's 
>> time to upgrade...
> 
> 
> I have vim, but I still like to use notepad, which only works with \r\n...
> Is there anything I can do to help solving this problem ASAP?

Getting a bit offtopic, but I personally use scite, or to be precise 
wscite, scintilla based editor. Small, extremely lightweight and fast, 
has decent code colouring, block wrapping and such. And best of all, 
works well with different line-endings.

Of course there is some good alternatives in Cygwin distribution also...

-- 

Jani Tiainen


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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