[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: floodway <floodway_at_gmail.com>
Date: Mon, 21 Jul 2008 17:02:32 -0700 (PDT)

Stefan Küng <tortoise..._at_gmail.com> wrote:
> 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.

Maybe it would be more clear with some example.
I use "gvim -dR" as external diff-tool. I examine differences between
two files and it's so convenient to open another file of the project
to edit it or just look in. With 1.4.8 launched gvim has current
directory X, so it's easy to open another file of the project. Now
it's more difficult to do it, because I should enter a long path or
manually switch current directory. Moreover, inside %TEMP% I remain
without tags file, etc...

As for me, I have no idea how %TEMP% could be useful.

Is there hope to find this behavior in the future releases?

Thanks for your attention.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-07-22 07:00:32 CEST

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.