[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Partially recursive revert when node kind changes

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 11 Feb 2011 15:52:37 +0200

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
Received on 2011-02-11 14:57:41 CET

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.