[darcs-users] symlinks

Aaron Denney wnoise at ofb.net
Fri Oct 10 21:50:01 UTC 2003


On Fri, Oct 10, 2003 at 08:27:42AM -0400, David Roundy wrote:
> At first I thought that repo-internal symlinks would be cool, but am now of
> the opinion that all symlinks should be simply viewed as a special file
> containing a string, with that string probably being restricted to not
> contain a newline. 

But symlinks can contains new-lines, and I'm sure someone, somewhere
uses them.  The only thing they shouldn't be able to contain is NUL, \0.

> Trying to track renames of the symlinked file seems
> like wasted effort.  What do you do when the file is removed? I presume you
> leave the symlink there, and it's either a dangling symlink or a link to a
> non-version-controlled file--which is more likely the case.

Agreed.

-- 
Aaron Denney
-><-




More information about the darcs-users mailing list