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

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

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Mon, 21 Jul 2008 15:39:48 -0400

clkao_at_tigris.org writes:
> --- trunk/subversion/libsvn_repos/repos.c (r32207)
> +++ trunk/subversion/libsvn_repos/repos.c (r32208)
> @@ -618,6 +620,8 @@ PREWRITTEN_HOOKS_TEXT
> "# [1] REPOS-PATH (the path to this repository)" NL
> "# [2] PATH (the path in the repository about to be unlocked)" NL
> "# [3] USER (the user destroying the lock)" NL
> +"# [4] TOKEN (the lock token to be destoryed)" NL

"destroyed" :-)

> --- trunk/subversion/libsvn_repos/repos.h Mon Jul 21 12:07:10 2008 (r32207)
> +++ trunk/subversion/libsvn_repos/repos.h Mon Jul 21 12:20:40 2008 (r32208)
> @@ -220,11 +220,15 @@ svn_repos__hooks_post_revprop_change(svn
> /* Run the pre-lock hook for REPOS. Use POOL for any temporary
> allocations. If the hook fails, return SVN_ERR_REPOS_HOOK_FAILURE.
>
> - PATH is the path being locked, USERNAME is the person doing it. */
> + PATH is the path being locked, USERNAME is the person doing it,
> + COMMENT is the comment of the lock, and STEAL-LOCK is a flag if the
> + user is stealing the lock. */
> svn_error_t *
> svn_repos__hooks_pre_lock(svn_repos_t *repos,

Oops -- did you not see my email comment about documenting what happens
when COMMENT is null?

> @@ -241,11 +245,15 @@ svn_repos__hooks_post_lock(svn_repos_t *
> /* Run the pre-unlock hook for REPOS. Use POOL for any temporary
> allocations. If the hook fails, return SVN_ERR_REPOS_HOOK_FAILURE.
>
> - PATH is the path being unlocked, USERNAME is the person doing it. */
> + PATH is the path being unlocked, USERNAME is the person doing it,
> + TOKEN is the lock token to be unlocked, and BREAK-LOCK is a flag if
> + the user is breaking the lock. */
> svn_error_t *
> svn_repos__hooks_pre_unlock(svn_repos_t *repos,

Likewise for TOKEN.

Thanks,
-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-21 21:40:11 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.