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

Re: [TSVN] Script as external diff tool

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-03-30 18:11:30 CEST

Joost Cassee wrote:
> To use a VBS script I made as a Microsoft Word diff tool, I tried to use the
> following command line:
>
> C:\WINDOWS\SYSTEM32\WSCRIPT.EXE "<path>\WordCompare.vbs" "%base" "%mine"
>
> Unfortunately, I get the following wscript error:
>
> "There is no file extension in <path>\WordCompare.vbs
> C:\DOCUME~1\<user>\LOCAL~1\Temp\svn3EA.tmp C:\Documents."
>
> Apparently, something is going wrong with quoting. Does anyone know what this
> could be? Thanks!

Remove the quotes around %base and %mine. TSVN add's quotes there
itself, which means you end up with something like this:
C:\WINDOWS\SYSTEM32\WSCRIPT.EXE
   "<path>\WordCompare.vbs"
   ""path to base"" "path to mine""

Those double quotes then cause the problem.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Mar 30 18:12:39 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.