[darcs-users] Re: symlink support

David Brown darcs at davidb.org
Sun Oct 3 01:43:37 UTC 2004


On Sat, Oct 02, 2004 at 01:30:41PM -0700, Vonleigh Simmons wrote:
> >But darcs doesn't follow symlinks.  Certainly on my system (I just 
> >checked)
> >it doesn't... when I try to add a symlink I get a complaint that the 
> >file
> >doesn't exist.
> 
> 	On my FreeBSD system it follows symlinks when they point to 
> directories. For example, I get the error:

I would suggest replacing all getFileStatus in darcs with
getSymbolicLinkStatus.  I don't think there is ever a case where you want
darcs blindly following symbolic links.  Then you jet get the file type
back as a symbolic link, and don't have to worry about the checks getting
missed somewhere.

Dave




More information about the darcs-users mailing list