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

Re: CVS update: subversion/subversion/libsvn_fs tree.c Makefile.am

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-02-16 03:10:30 CET

On Thu, Feb 15, 2001 at 11:17:58PM -0000, jimb@tigris.org wrote:
>...
> --- tree.c 2001/02/15 18:58:53 1.16
> +++ tree.c 2001/02/15 23:17:58 1.17
>...
> +static svn_error_t *
> +mutable_root_node (dag_node_t **node_p,
> + svn_fs_root_t *root,
> + const char *error_path,
> + trail_t *trail)
> +{
> + /* If it's a revision root, we can't change its contents. */
> + if (root->rev != -1)
> + return svn_fs__err_not_mutable (root->fs, root->rev, error_path);

What's that magic number there? SVN_INVALID_REVNUM? Something else?

Can you use a symbol rather than a free-floating number?

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:22 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.