Now, the next major pain: Windows requires you to know whether the target path 
of symlink is a directory or a file in order to create symlink. How to handle 
this? 

We cannot use Fossil's create_symlink() function during checkout, because when 
checking out, some files may not yet exist. We can handle this like isExe 
attribute: after checking out, go through all files that were supposed to be 
symlinks, remove them, and create proper symlinks.

This will work when symlinks point to files/folders inside our repository, but 
what to do with other links?
For example, imagine checking in the link to "../README", where README is 
located outside our repository. What link should be created in this case on 
Windows -- directory symlink or file symlink?

--
Dmitry Chestnykh

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to