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

RE: Debugging

From: <webpost_at_tigris.org>
Date: Thu, 23 Apr 2009 07:27:20 -0700 (PDT)

> > I've upgraded TortoiseSVN from 1.5.8 to 1.6.1 and ran into following problem:
> >
> > 1. When I try to commit anything there from Explorer, everything works fine.
> >
> > 2. But when I try toing the same from different file manager (Far it is), even just launching TortoiseProc.exe /command:commit - I get 'Commit failed: '.' is not a working copy' error.
> >
> > 3. In file monitor I see that at some point TortoiseProc.exe is trying to access 'D:\WINDOWS\TEMP\.svn\entries', which surely doesn't exist.
> >
> > 4. In 1.5.8 I didn't have such a problem, but now I can't even fallback without re-checking out all working copies, since format have changed.
> >
> > Maybe it could be viewed not as a bug in TortoiseSVN, but I'd like to know what could've forced it to behave this way.
>
> * Create the registry key HKCU\Software\TortoiseSVN\Debug as DWORD, set
> its value to 1.
> * get process explorer
> (http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx)
>
> Now, start the commit.
> A dialog will first pop up, showing you the exact command line
> TortoiseProc was started with. Ctrl-C in that dialog copies the whole
> text to the clipboard - we need that text...
>
> Then click OK on that dialog, wait for the commit dialog to show.
>
> Open Process explorer, find the TortoiseProc.exe process, doublclick on
> that process, go to the "image" tab of the process properties. We need
> to know the content of "Path:", "Command line:" and most important,
> "Current directory:".

Path: D:\MSVS2005\Subversion\TortoiseSVN\bin\TortoiseProc.exe in both cases.

Current directory in both cases is D:\WINDOWS\TEMP.

From Explorer command line is:
" /command:commit /pathfile:"D:\WINDOWS\TEMP\svn57D.tmp" /deletepathfile /hwnd:1576352"

From Far manager:
" /command:commit /pathfile:"D:\WINDOWS\TEMP\svn57C.tmp" /deletepathfile /hwnd:0"

No difference except hwnd, that's no wonder - since Far just calls Explorer's context menu. Those temporary files are also exactly the same - just a unicode string with the folder name.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-04-23 16:40:45 CEST

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