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

Problems trying to revert a move

From: Oddvar Kloster <Oddvar.Kloster_at_sintef.no>
Date: Thu, 25 Aug 2011 09:54:37 +0200

* 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.

Oddvar

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2829603

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

cfm.png
Received on 2011-08-25 10:57:35 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.