You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ryan Schmidt <su...@ryandesign.com> on 2005/04/04 01:31:34 UTC

Re: svn external diff with non-local file fails? [SOLVED]

On 26.03.2005, at 14:17, Jesse Barnum wrote:

> On Mar 25, 2005, at 6:13 PM, Marshall White wrote:
>
>> Subversion will delete the temporary files when your script exits.  
>> So, if
>> your script doesn't wait on FileMerge to exit before it does, the 
>> files can
>> disappear before FileMerge gets a chance to open them.
>
> Marshall, it looks like you're right about this. I changed my shell 
> script to copy the temp file to another file, instead of trying to 
> open it, and my shell script works now by opening this other temp 
> file. Thanks for your help!

See also the files svndiff.sh and svnfilemerge.sh (attached) from the 
svnX program which also does it this way.

It would seem to be the better solution to pass a switch to opendiff to 
tell it to wait for FileMerge to exit before returning, but there does 
not appear to be any such switch -- at least not that I can see from 
its brief usage message.