Issue #1532 - Switch a file to a dir: can't switch it back to the file
From: Julian Foad <julian.foad_at_wandisco.com>
Date: Wed, 06 Jul 2011 12:42:27 +0100
svn switch ^/dir_url file_path # This worked, but then ...
I filed this issue back in 2003 and it was unfixable then, but with
We don't strictly need to do this for 1.7.0, but if it is supposed to be
After trying naively to fix it just by anchoring the reporter/editor
$ svn switch ^/iota wc/A/C
The node at 'A/C' on disk has been switched to be a file, and some of
Tracing it through, the "delete" part looks OK; the result in NODES is
local_relpath = A/C
Then, in update_editor.c:make_file_baton(), fb->new_relpath gets set to
Fixed in r1143357.
Now back to the original problem, switching the switched path back to
This is an archived mail posted to the Subversion Dev mailing list.