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

Re: svn commit: r13200 - trunk/subversion/libsvn_repos

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-03-01 08:28:46 CET

On Mon, 28 Feb 2005 breser@tigris.org wrote:

> Author: breser
> Date: Mon Feb 28 20:12:33 2005
> New Revision: 13200
>
> Modified: trunk/subversion/libsvn_repos/repos.c
> Url: http://svn.collab.net/viewcvs/svn/trunk/subversion/libsvn_repos/repos.c?view=diff&rev=13200&p1=trunk/subversion/libsvn_repos/repos.c&r1=13199&p2=trunk/subversion/libsvn_repos/repos.c&r2=13200
> ==============================================================================
> --- trunk/subversion/libsvn_repos/repos.c (original)
> +++ trunk/subversion/libsvn_repos/repos.c Mon Feb 28 20:12:33 2005
> @@ -994,6 +994,7 @@
> apr_pool_t *pool)
> {
> svn_repos_t *repos;
> + svn_error_t *err;
>
> /* Allocate a repository object. */
> repos = apr_pcalloc (pool, sizeof (*repos));
> @@ -1006,7 +1007,15 @@
> _("Repository creation failed"));
>
> /* Create a Berkeley DB environment for the filesystem. */

This comment seems a little out-dated:-) (Wasn't changed in this commit,
but anyway.)

> - SVN_ERR (svn_fs_create (&repos->fs, repos->db_path, fs_config, pool));
> + if ((err = svn_fs_create (&repos->fs, repos->db_path, fs_config, pool)))
> + {
> + /* If there was an error making the filesytem, e.g. unknown/supported
s/sytem/system/

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 1 08:29:11 2005

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.