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

Re: Problems trying to revert a move

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 25 Aug 2011 21:03:44 +0200

On 25.08.2011 09:54, Oddvar Kloster wrote:
> * Check out wc containing directory dir1, which contains file file.txt
>
> * Rename dir1 to dir2
>
> Attached is a screenshot of the cfm dialog at this point.
>
> Problem 1:
>
> * Select the lower two lines, then right-click the first of those and
> choose ‘Undo add’
>
> * Confirm
>
> -> Error ‘Can’t revert without reverting children’ pops up
>
> If I revert instead by choosing ‘Revert...’ from the wc’s context menu
> and checking these two items, the error does not appear.
>
> Also, if I right-click the lower line and choose ‘Delete’ instead, both
> items are reverted.
>
> Problem 2:
>
> * Select the upper two lines, right-click and choose ‘Revert’
>
> * Confirm
>
> -> dir1 is restored, but dir1/file.txt remains deleted. A second revert
> is necessary to restore it.
>
> Again, reverting from the wc’s context menu works correctly.
>
> A related observation is that reverting dir1/file.txt without also
> reverting dir1 is a no-op that produces no warning or error. However,
> this is also true of the command line client.

Situation improved in r21903.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2829764
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-25 21:04:25 CEST

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.