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

Re: svn_fs__dag_get_node question

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-06-08 02:00:48 CEST

On Sat, Jun 08, 2002 at 12:35:10AM +0100, Philip Martin wrote:
>...
> There are four calls to svn_fs__dag_get_node in libsvn_fs/tree.c that
> do not check the returned error status
>...
> So the question is what should happen if the calls fail. Should the
> two functions id_check_ancestor and id_is_parent also fail? Or should
> they succeed but set *is_ancestor and *is_parent false?

Failure.

If you ask for a specific ID, and it is /not/ present, then BOOM!

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 8 01:59:50 2002

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.