On 27.07.2009 17:10, Steve Borho wrote: > On Mon, Jul 27, 2009 at 2:57 AM, Andrew Mark > (CR/AEA2)<mark.and...@de.bosch.com> wrote: >> This is what I get when I try Mads' suggestion. >> >> c:\hgtest>hg --debug mydiff >> making snapshot of 1 files from rev f1b44d0d137d >> foo.doc >> running '"wscript" "c:\\Program >> Files\\TortoiseSVN\\Diff-Scripts\\diff-doc.js" " >> hgtest.f1b44d0d137d\\foo.doc" "c:\\hgtest\\foo.doc"' in >> c:\docume~1\anm2fr\local >> s~1\temp\extdiff.mg4phj >> >> As Steve has stated, this is not a problem with files being deleted, I have >> looked in the exdiff.mg4phj temporary directory and can see the copy of >> foo.doc. It is just that when the js script is started up it cannot find the >> temporary copy. Which is what would happen if wscript was ignoring the >> working directory it is set to. > > It does look like the javascript is changing it's CWD. Perhaps you > can write a wrapper batch file that converts the arguments to absolute > paths and then calls that java script.
The offical term is "JScript" (not javascript) http://en.wikipedia.org/wiki/JScript ------------------------------------------------------------------------------ _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss