On Thu, Nov 30, 2017 at 1:19 PM, Jan Nijtmans <[email protected]> wrote:
> 2017-11-28 0:20 GMT+01:00 <[email protected]>: > > On Mon, 27 Nov 2017 09:52:19 -0500 > > Richard Hipp <[email protected]> wrote: > >> I am very sorry that I allowed symbolic link support into Fossil in > >> the first place. (Symbolic link support was neither designed nor > >> written by me - it is contributed code.) I would really like to get > >> rid of symbolic link support. Symbolic links seem out-of-place in a > >> version control system. As implemented, symbolic links are a point of > >> confusion which (as far as I can see) adds no useful capabilities. > Here, they are used mostly for 3rd parties under SCM control. So "map" architecture/compiler/etc... specific folders or binaries/libraries to another architecture/compiler/etc... folder the first one is compatible with. I'm not saying that's a good thing, just saying how symlinks are used in a concrete example. > [...]. This - generally - only makes sense > when the symlink is relative and points to somewhere else in > the working directory. Otherwise - indeed - it doesn't make sense. > Agreed. Could even error out when that's not the case. > That said, symlinks are actually a UNIX-only feature: I don't > mind that - Well, not exactly, no? [1]. "Reparse points" have been part of Windows for a while I think. Sure it depends on the Windows version, and the filesystem used, still, they exist. Of course, that implies Fossil would correctly interpret them on add too. Which probably needs to use special APIs. > on Windows - symlinks check-out as being a file with > the link path as content (that's what Subversion does as well ...) > That's IMHO not a very good example to follow. Mapping *nix symlinks to Windows reparse points would be much better. FWIW. --DD [1] https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

