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

Failed Rename is not fully rolled back

From: Christopher Berman <suitecake_at_gmail.com>
Date: Fri, 6 Mar 2015 07:39:56 -0800 (PST)

What I did: Used TortoiseSVN's Windows Explorer context menu to rename a folder (TortoiseSVN -> Rename) while files in that folder were open in other applications (Visual Studio, Vim).

What I wanted to happen: The attempted rename should have failed (because it cannot access) and should not have affected my working copy at all.

What happened: The rename failed (of course), but my working copy was affected by the rename. The folder itself was not renamed, but when I used TortoiseSVN's Windows Explorer context menu to commit on that folder, there were entries under the new folder name in the Changes made box for the folder and every non-ignored file underneath, listed as missing.

In other words, I tried naming the folder from Foo to Bar. The rename failed because Foo was open in other applications. After the failure, the commit menu opened on Foo showed that the Bar folder (which doesn't exist, since the rename failed) is missing, and every file underneath as also missing.

(TortoiseSVN 1.8.10.26129 (32-bit), running on a Windows 7 32-bit machine)

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-03-06 16:59:59 CET

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

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