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

Re: svn commit: r1052817 - /subversion/trunk/subversion/tests/libsvn_subr/error-test.c

From: Blair Zajac <blair_at_orcaware.com>
Date: Sun, 26 Dec 2010 11:57:10 -0800

On 12/25/10 10:40 PM, Kamesh Jayachandran wrote:
>> +
>> + err2 = svn_error_purge_tracing(err);
>> + for (child = err2; child; child = child->child)
>> + if (svn_error__is_tracing_link(child))
>> + {
>> + return svn_error_create(SVN_ERR_TEST_FAILED, err,
>> + "Tracing link found after purging the "
>> + "following chain:");
>> + }
>> +
>> + svn_error_clear(err);
>
> The doc of svn_error_purge_tracing(err) says err should *not* be cleared.

Right, but it can be cleared if you look at the implementation. I think I'll be
updating svn_error_purge_tracing(), either the docs or the implementation.

Blair
Received on 2010-12-26 20:57:53 CET

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.