TortoiseHg Visual Diff Context Menu

Steve Borho steve at borho.org
Mon Apr 6 14:53:59 CDT 2009


On Mon, 2009-04-06 at 11:50 -0700, behofmann wrote:
> Steve,
> 
> Thanks for your reply.  I'm able to get Beyond Compare 3 to work by
> selecting it as the external diff tool from the log.  It launches a command
> window which then launches Beyond Compare with my selected files.  I assume
> that is the expected behavior?

That is expected behavior.  I'm in the middle of fixing the command
window problem for the next release.

> What I can't get to work is the Visual Diff on the TortoiseHg Context Menu
> which you get when right-clicking on a file name.  Do you have to select two
> files first then right-click on Visual Diff?  Am I doing something wrong
> with this implementation?

No, you shouldn't have to select more than a single file.  It sounds
like there's a problem with the way BC3 is being launched, but I don't
have this tool so I can't give much help.

When used from the shell context menu, TortoiseHg simply runs your
configured diff command.  If your Mercurial.ini looks like this:

[tortoisehg]
vdiff = bc3

The context menu will run:   hg.exe bc3 [files]
I suggest you try running that by hand and see if it works, and if not
perhaps that will be easier to debug than our context menu.

--
Steve Borho



More information about the Mercurial mailing list