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

Re: Right-drag and Revert

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-06-11 15:21:10 CEST

On 11/06/07, Walter Sägesser <w.saegesser@asp-ag.com> wrote:
>
> Just a moment ago I upgraded to TSVN 1.4.4. I do not know, whether this
> behaviour was the same in V1.4.3.
>
> I have a structure, say
> A
> |__B
> |__C
> |__D
>
> I want to move D into B, using right-drag. But unfortunately I move D into
> C and just when it's done I realize the error.
> So I right-click on A and choose "revert". All the deleted files in D and
> D itself are listed in the revert-dialog as well as the added D in C. But
> when I actually execute the revert operation, D remains in C, though no
> longer version controlled. The icon of D returns back to "unmodified", but
> the icon of C remains "modified".
> I would have expected that D is removed from C and also the icon of C goes
> back to "unmodified". I'm not sure whether this is really a bug or it has
> been planned - for whatever reasons - like that.

Your expectation is wrong ;)

When Subversion reverts an add, it doesn't know that the added files
have not been modified, and it is always very careful not to lose user
data. So the added files becone unversioned, but are not deleted.

C should be showing unmodified. Try refreshing the view. If that
doesn't fix it, use Check for Modifications to see what modifications
subversion thinks you have.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jun 11 16:10:01 2007

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.