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

Re: svn commit: rev 1044 - trunk/subversion/libsvn_wc

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-01-24 20:28:46 CET

On Thu, Jan 24, 2002 at 12:20:27PM -0600, kfogel@tigris.org wrote:
>...
> +++ NEW/trunk/subversion/libsvn_wc/questions.c Thu Jan 24 12:20:23 2002
> @@ -52,7 +52,13 @@
> if (err)
> return err;
>
> - if (kind != svn_node_dir)
> + if (kind == svn_node_none)
> + {
> + return svn_error_createf
> + (SVN_ERR_WC_OBSTRUCTED_UPDATE, 0, NULL, pool,
> + "svn_wc_check_wc: %s does not exist", path->data);
> + }
> + else if (kind != svn_node_dir)

Why are you returning OBSTRUCTED_UPDATE for that error? I think it should be
APR_ENOENT.

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 Oct 21 14:36:59 2006

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.