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

Re: On VirtualPC Rename erases File

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 05 Mar 2010 19:43:52 +0100

On 05.03.2010 15:30, Peter Muster wrote:
> My Source is on a Windows7 Computer
>
> I work with the "Windows XP Mode" virtual computer. Here I installed the TortoiseSVN.
>
> I activated the Integrationsfeatures.
>
> I have a file with the name CLSObjPrjKeys.h in the repository.
> My developmentenvironment renamed it to cLSObjPrjKeys.h.
> I click "Check for modifications" and the Tortoisedialogs opens.
> Tortoise trys now to rename the file cLSObjPrjKeys.h to CLSObjPrjKeys.h.
> For some reason this doesn't work and the file is erased.
>
> I attach a procmon-logfile of that.

Where did you attach the log file? I can't find it.

> I actually don't know, if there is a problem with my computer oder Tortoise has a problem with the VirtualPC.

TSVN uses the MoveFileEx API:
http://msdn.microsoft.com/en-us/library/aa365240%28VS.85%29.aspx
with the MOVEFILE_REPLACE_EXISTING flag.
So I guess there's something wrong with your setup since I can't see a
reason why that API would just erase the file.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2455568
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-03-05 19:44:05 CET

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