Branko Čibej wrote on Thu, Feb 10, 2011 at 17:47:04 +0100: > On 10.02.2011 17:43, C. Michael Pilato wrote: > > On 02/10/2011 11:28 AM, Philip Martin wrote: > >> Suppose I have a directory tree: > >> > >> foo/ > >> bar/ > >> zig > >> > >> and I delete the tree foo/bar and replace it by a file foo/bar. What > >> should "svn revert --depth=files foo" do? Should it revert foo/bar? > >> How much of foo/bar should it restore? > > It should restore foo/bar as a directory with all of its children still > > scheduled for deletion, right? > > What happens to the file that was foo/bar, if reverting replaces it with > a directory of the same name, in light of the policy of not deleting > local files? >
The same thing that always happens in that case --- that shouldn't depend on what (if anything) we'd like to install instead of the current foo/bar. > -- Brane