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

Re: svn commit: r30827 - in trunk/subversion: svnserve tests/cmdline

From: <epg_at_google.com>
Date: Mon, 28 Apr 2008 17:15:08 -0700

epg_at_tigris.org writes:

> --- trunk/subversion/svnserve/serve.c Mon Apr 28 16:23:31 2008 (r30826)
> +++ trunk/subversion/svnserve/serve.c Mon Apr 28 17:13:11 2008 (r30827)

> @@ -1082,13 +1155,11 @@ static svn_error_t *unlock_paths(apr_arr
> iterpool);
>
> /* The lock may have become defunct after the commit, so ignore such
> - errors.
> -
> - ### If we ever write a logging facility for svnserve, this
> - would be a good place to log an error before clearing
> - it. */
> - svn_error_clear(svn_repos_fs_unlock(sb->repos, full_path, token,
> - FALSE, pool));
> + errors. */
> + err = svn_repos_fs_unlock(sb->repos, full_path, token,
> + FALSE, pool);
> + log_server_error(err, sb, conn, iterpool);
> + svn_error_clear(err);

Why don't we use iterpool in that svn_repos_fs_unlock call? I
left it using pool because I wasn't sure.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-29 02:15:43 CEST

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.