Glen,
If you intend to use a tcl program as an external diff, it has to be an
executable, not a script file (blame WinCvs, we could implement this
option really). As opposed to Unix, Windows doesn't interpret the
#!/bin/wish: so you can come-up with a .bat file (let say
launchDiff.bat) which contents something like "C:\TCL\bin\wish
C:\tkdiff.tcl $1 $2".
Regards,
alex.
Borrione Aldo wrote:
>
> It works even from the main window in WinCVS 1.1b12, but the diff utility
> is not in my configuration a tcl progam, it is instead a win32 executable.
>
> To do the diff, I select with the mouse one version and then click
> on the diff icon. A panel pops up asking for the oter version
> to be used in the diff operation. A checkbox is then available to select
> the external diff utility instead of the built in command line diff.
>
> In the preference panel I simply put the path and name of the
> diff utility.
>
> Hope it helps
>
> Aldo
> -----Messaggio originale-----
> Da: Derek Scherger [mailto:[EMAIL PROTECTED]]
> Inviato: gioved� 6 aprile 2000 21.46
> A: Glen Wiley
> Cc: [EMAIL PROTECTED]
> Oggetto: Re: WinCVS external diff
>
> I've only seen it work when you select two revisions from the graph
> which sounds kinda strange but it seems to be ignored from the main
> source window.
>
> Glen Wiley wrote:
> >
> > What does WinCVS expect to see in "Preferences" in order
> > to be able to use an external diff (such as tkdiff).
> >
> > I have tried specifying the complete path to tkdiff.tcl,
> > the complete path to wish using tkdiff as an arg. and
> > many other combinations to no avail.
> >
> > thanks
> > --
> > Glen Wiley [EMAIL PROTECTED]
> > Staff Software Engineer
> > 3Com - Carrier Systems Group, R&D
>
> --
> Cheers,
> Derek
> _____________________________________________________________________
> Derek Scherger Echologic Software Corporation
> mailto:[EMAIL PROTECTED] http://www.echologic.com