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

Re: svn_client_diff4 and valid relative path throws error even though it shouldn't

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-11-23 20:57:31 CET

On Nov 23, 2007 2:54 PM, Stefan Küng <tortoisesvn@gmail.com> wrote:
> Just updated to r27993 of the svn trunk. The new param relative_to_dir
> in svn_client_diff4() is nice, but it doesn't work in some situations:
> a diff between a working copy file and it's base throws an error like this:
> Path 'C:\Users\kueng\AppData\Local\Temp/svndiff.tmp' must be an
> immediate child of the directory
> 'D:/Development/SVN/TortoiseSVN/ext/Subversion'
> The problem: I didn't specify any temp file path. That path comes from
> the fact that the diff first 'translates' the base file (line endings,
> maybe keywords, ...), and by doing so creates that temporary file.
> I would expect that since it was the svn function itself that created
> that temp file, it shouldn't error out but check the original path instead.
> To reproduce:
> * modify the file subversion\libsvn_subr\config_win.c
> * call svn_client_diff4(path, REVWC, path, REVBASE,
> 'subversion\libsvn_subr', ...)


Take a look at the latest patch in Issue#: 2723

That seems to fix it for me.

Mark Phippard
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 23 20:57:41 2007

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

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