God_Mark wrote:
> OS: Windows Vista x86
>
> Tortoise SVN version : 1.5.3.13783 (Latest version found of website)
>
> Problem:
> I develop a application that uses mostly relative paths to it's
> startup directory and users require to browse certain files on disk
> using the Open File Dialog. Once the browsing of the file ends (the
> files i worked with are in a directory that uses svn) i set back the
> current directory manually to make sure that OFN_NOCHANGEDIR exists on
> the os and then start to open certain files using relative paths. The
> problem i encountered was that TortoiseSVN.dll (witch is loaded with
> the Open File Dialog) switches my active directory at a later time
> making all my relative paths invalid. I don't think that this is a
> normal behavior so i hoped to bring this probably unknown issue to
> your knowledge.
I don't see how TSVN could change the CWD *after* the file open dialog
is shown. The extension is loaded for the dialog, and all interface
methods of TSVN save the CWD at the beginning and restore it right
before the end of the method.
But once the file open dialog is closed, there's no way for TSVN (or any
other shell extension) to modify the CWD anymore: the dll is not loaded
anymore.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2008-09-09 18:01:09 CEST