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