repo with CYGWIN=winsymlinks:nativestrict

Robert Bu robert_bu@realsil.com.cn
Thu Aug 14 11:38:00 GMT 2014


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



More information about the Cygwin mailing list