delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/02/21:43:23

X-Spam-Check-By: sourceware.org
Date: Fri, 2 Dec 2005 21:43:14 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Akshay Dua <adua AT juniper DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: Symbolic links with cvs
In-Reply-To: <2844B671EDD9454BA8C463A6D273ECC601C2F8BF@antibottom.jnpr.net>
Message-ID: <Pine.GSO.4.63.0512022139200.8881@slinky.cs.nyu.edu>
References: <2844B671EDD9454BA8C463A6D273ECC601C2F8BF AT antibottom DOT jnpr DOT net>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Fri, 2 Dec 2005, Akshay Dua wrote:

> Hello,
>
> Unfortunately, we have .lnk files in our source control so I cannot
> avoid the following problem. When I try to checkout a symbolic link
> file, something happens to it and cvs is unable to stat it to set
> necessary file information. Its almost like cygwin changed the name of
> the file from under CVSs' feet. Can anyone help?
>
> U thirdparty/OPENSSL-0.9.7-BETA3/Makefile.lnk
> cvs checkout: cannot stat Makefile.lnk: No such file or directory
> cvs checkout: cannot set time on Makefile.lnk: No such file or directory
> cvs checkout: cannot stat Makefile.lnk: No such file or directory

As soon as you check out a .lnk file, it becomes a symlink, and Cygwin
will attempt to read the file that the symlink refers to.  If that file
doesn't exist (e.g., hasn't been checked out yet), any operations on the
symlink will fail (it will be a dangling link).  This is not a
Cygwin-specific issue (unless the .lnk in the name is an unfortunate
coincidence).  If you really are trying to commit a symlink to cvs, the
CVS manual says that this is not supported:
<http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_15.html>.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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