Windows differentiates between file symlinks and directory symlinks. Unison currently doesn't... The only reason why Windows directory symlinks work at all, is that Unix.symlink has a heuristic which tries to detect symlink type by stat'ing the target. For this to work with relative paths, working dir must be changed before creating the symlink.
This is a slight improvement for #942 but it is not a complete fix.
Windows differentiates between file symlinks and directory symlinks. Unison currently doesn't... The only reason why Windows directory symlinks work at all, is that
Unix.symlink
has a heuristic which tries to detect symlink type by stat'ing the target. For this to work with relative paths, working dir must be changed before creating the symlink.This is a slight improvement for #942 but it is not a complete fix.