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
<http://subversion.tigris.org/issues/show_bug.cgi?id=1532>
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
- Julian
|
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.