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

Re: Invoking external diff it sets current directory to %TEMP% (since 1.5.0?)

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 21 Jul 2008 18:25:33 +0200

floodway wrote:
> Hi.
>
> When I use "Compare with base" from "commit" or "check for
> modifications" windows (which was opened for particular directory X)
> then my external diff-tool's current directory is %TEMP%.
> In 1.4.8 diff-tool's current directory was X and such behavior is
> expected.

Not quite. You can't expect the CWD to be set to anything for a GUI
application. The CWD only has meaning for command line applications.
If your diff tool expects the CWD to be set to a particular directory,
then that's a bug in your diff tool - it would break even if you start
it from a command line but your command line is in another directory
than it expects.

> How can I set up 1.5.0 to behave like 1.4.8?

You can't. Sorry.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-07-21 18:25:57 CEST

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