Re: BUG: Delete svn:special property on symlink; hilarity ensues.

2018-09-04 Thread Karl Fogel
Daniel Shahaf writes: >However, in higher layers, that do know of svn:special's semantics, I >don't know if it makes sense to allow a node to change type from "file" >to "symlink". Note that we added svn_node_symlink to svn_node_kind_t >(in 1.8) as a distinct value; the thinking then, IIRC, was t

Re: BUG: Delete svn:special property on symlink; hilarity ensues.

2018-09-03 Thread Julian Foad
Branko Čibej wrote: > The only correct way to change a node's type is to replace the node itself. The crucial missing piece of the definition is the mapping between the client-side notions of node kinds and node lifetimes and their server-side counterparts. (Where client side treats specials as d

Re: BUG: Delete svn:special property on symlink; hilarity ensues.

2018-09-01 Thread Branko Čibej
On 01.09.2018 21:14, Daniel Shahaf wrote: > Karl Fogel wrote on Fri, 31 Aug 2018 14:06 -0500: >> Daniel Shahaf writes: >>> This is exactly how one adds or edits a symlink on !HAVE_SYMLINK >>> platforms, including Windows. (You can get this behaviour on Unix if >>> you get configure to lie about t

Re: BUG: Delete svn:special property on symlink; hilarity ensues.

2018-09-01 Thread Daniel Shahaf
Karl Fogel wrote on Fri, 31 Aug 2018 14:06 -0500: > Daniel Shahaf writes: > >This is exactly how one adds or edits a symlink on !HAVE_SYMLINK > >platforms, including Windows. (You can get this behaviour on Unix if > >you get configure to lie about the HAVE_SYMLINK test result.) I suppose > >it's

Re: BUG: Delete svn:special property on symlink; hilarity ensues.

2018-08-31 Thread Karl Fogel
Daniel Shahaf writes: >Karl, this part is entirely normal. > >When you do «echo bar > qux», your shell calls open(O_TRUNC), not >unlink(). In your case, since new-foo is a symlink on disk, when you do >«/some/command > new-foo», your shell calls open(O_TRUNC) on new-foo and >writes the command's

Re: BUG: Delete svn:special property on symlink; hilarity ensues.

2018-08-30 Thread Daniel Shahaf
Karl Fogel wrote on Thu, Aug 30, 2018 at 00:22:16 -0500: > echo "### 'new-foo' is still a symlink, by the way:" > echo "" > ls -l new-foo ⋮ > echo "### Okay, ready for the *real* weirdness? Good. Let's first do" > echo "### an 'svn status -q' just to see things are:" > echo "" > svn status -q > e

BUG: Delete svn:special property on symlink; hilarity ensues.

2018-08-29 Thread Karl Fogel
There are possibly two bugs here, one of them supremely weird. The attached script shows the recipe, with commentary. (This is all with svn version 1.10.2 (r1835932) as packaged in Debian GNU/Linux for x86_64-pc-linux-gnu.) The rest of this mail will assume you've run, or at least examined, th