2017-11-28 0:20 GMT+01:00 <bytevolc...@safe-mail.net>: > On Mon, 27 Nov 2017 09:52:19 -0500 > Richard Hipp <d...@sqlite.org> 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. > > Are you referring to symlinks inside a working directory, or Fossil's > ability to "follow" them? If so have a survey of users, or a > disabled-by-default policy to see if any users need it.
This patch has no relation to fossil's symlink support, it's just part of the code to find a suitable temporary directory to write some intermediate file. It's unfortunate it's that complicated, but useful because sometimes the working directory or the current directory is read-only, That's what this code is about. I sometimes use symlink support in fossil, but it shouldn't be fancy at all. When committing a symlink, someone else checking it out should get the same symlink. 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. This is the way that - for example - Subversion handles symlinks, it would be a loss to remove it from fossil. It's just like the 'x' (executable) flag: unfortunate that Windows doesn't handle it the way UNIX does, that's the reason why fossil has to do tricky things .... That said, symlinks are actually a UNIX-only feature: I don't mind that - on Windows - symlinks check-out as being a file with the link path as content (that's what Subversion does as well ...) Regards, Jan Nijtmans _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users