Re: BUG: Delete svn:special property on symlink; hilarity ensues.
From: Karl Fogel <kfogel_at_red-bean.com>
Date: Tue, 04 Sep 2018 11:51:30 -0500
Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:
I think you're right, and this matches well with what Brane said in this thread too:
>The only correct way to change a node's type is to replace the node itself.
So, on to your proposal:
>That proposal is certainly simple and predictable. However, I'd like to
I like that better than my proposal.
>Rationale (#1): This is the canonical way to add symlinks on windows. This
I agree with all of this. As far as I'm concerned, this would be a fine behavior. In the specific usage circumstances I was in, this behavior would have nudged me to do The Right Thing (namely, 'svn rm' and replace the node).
Basically, we're making "svn:special" be a property that users can't manipulate directly when the proper special behaviors are available on on the system. IOW, if your system supports symlinks, then the user shouldn't try to do things to the "svn:special" property, but should instead do things to symlinks.
If the system doesn't support symlinks, then we fall back to allowing the user to do things to Subversion's underlying representation, because that's pretty much the only thing we can offer that allows the user to collaborate with users on symlink-supporting systems.
Best regards,
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.