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

Re: "Could not start external merge program"

From: Ghost <UmbralEchoes_at_gmail.com>
Date: Tue, 28 Oct 2008 06:14:50 -0700 (PDT)

On Oct 26, 6:27 am, Stefan Küng <tortoise..._at_gmail.com> wrote:
> Ghost wrote:
> > On Oct 25, 8:16 am, Stefan Küng <tortoise..._at_gmail.com> wrote:
> >> Ghost wrote:
> >>> I'm getting this error whenever I try to use TortoiseSVN's "edit
> >>> conflicts" tool:
> >>> Could not start external merge program!
> >>> --------
> >>> The directory name is invalid.
> >>> Similarly, I get the same error only with "diff" instead of "merge"
> >>> when trying to compare revisions.  For that, I even tried installing
> >>> WinMerge and set up TortoiseSVN to use that external program, and I
> >>> get the same error.
> >> This should not happen if you've set up the external diff/merge tools
> >> correctly. Does this also happen if you set the options to use
> >> TortoiseMerge instead of a custom diff/merge tool?
> > Yes, originally I had just installed TortoiseSVN and no external diff/
> > merge tools.  In the past (on Windows XP) that worked fine for me.
> > But now on Vista, TortoiseSVN doesn't seem able to call TortoiseMerge,
> > or the external program either -- I've triple-checked the path to the
> > WinMerge executable and it's valid.  I used the Browse... button to
> > get to it in the TortoiseSVN options dialog.
> I can not reproduce this. I first thought that it might have something
> to do with you using Vista x64, but even if I try it on my Visty x64
> partition, it works as expected.
> So there must be something messed up on your system/installation which
> causes this.
> The error "the directory name is invalid" is thrown by the
> CreateProcess() API if the 'current working directory' parameter points
> to something bogus. But that could only happen if for some unknown
> reason, the GetCurrentDirectory() API would return that bogus data, and
> I can't see how that could happen.
> Stefan

Well, for what it's worth, I got a message saying there was an update
available today. So I upgraded to the latest version of TortoiseSVN,
and it seems to work okay now. I had tried uninstalling and
reinstalling before and it didn't work then, but this upgrade seemed
to do the trick! Now both TortoiseMerge and the external tool work

Thanks for the insight, though!


To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-10-28 14:19:25 CET

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.