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

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

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-04-04 03:31:34 CEST

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Mon Apr 4 03:34:11 2005

This is an archived mail posted to the Subversion Users mailing list.

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