delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/14/07:38:58

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=Gt3
CQiVneFbmZRXXkTWP92KyEuIj9dDcoOd3YnyDMTWhrqcl8djHRv4HYQm8lTpwST3
ZR02YK0K3KPhsnLPyrlHYpM512yNHhVYGkr4IIP607GAEFmxcKrMm9BaeDv995o+
/3G6j+RbEJlHUFBZoPpm1NCtqKUObF7q0NO8P1V4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=D4/03oEq4
uT5uOWQwWu+KO3wjr0=; b=YWshnvzgdcUQR/H05nk/4mGWRvWMBVxcQEI1KJCcd
SX7M8xT9Jwmy77kinRsKIzHdzWwDFncpcoIB3Twl5oXKmjiDXmrVDe0npoylbNAA
vJADdd+9j+0O2zyT+A41qnoLdL0Ubb0+tEg8Gdl4eawZoEj6PMvKfB79rUT1mEjv
so=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.2 required=5.0 tests=AWL,BAYES_05 autolearn=ham version=3.3.2
X-HELO: rtits2.realtek.com
X-SpamFilter-By: BOX Solutions SpamTrap 5.39 with qID s7EBcXYE011296, This message is accepted by code: ctloc85258
Message-ID: <53EC9FB9.8090100@realsil.com.cn>
Date: Thu, 14 Aug 2014 19:38:33 +0800
From: Robert Bu <robert_bu AT realsil DOT com DOT cn>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: repo with CYGWIN=winsymlinks:nativestrict
X-IsSubscribed: yes

Hi,

If I set CYGWIN=winsymlinks:lnk, repo works. However, Windows native Git 
tool, such as TortoiseGit cannot read the symlink file. I think it 
treats the symlink file as a normal file and tries to parse the file 
format as Git specifies.
(repo is a tool from Google for Android source management, which works 
with Git).

I guess Windows native tool can handle the symlink if 
"CYGWIN=winsymlinks:nativestrict".
However, if I set CYGWIN=winsymlinks:nativestrict, repo init fails with
     os.symlink(os.path.relpath(src, os.path.dirname(dst)), dst)
     OSError: [Errno 2] No such file or directory

Any advice, idea is greatly helpful.

-- 

Best regards.
Robert


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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