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

Re: Question about pre-commit hook

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Fri, 26 Jun 2009 14:06:37 +1000

On Fri, Jun 26, 2009 at 1:22 PM, Kei Yuen (Kenji) <kenjichanhkg_at_gmail.com>wrote:

> Hi, I need to block users from committing on a specific SVN path.So I
> created a pre-commit script, and soon I found that it provides only 2
> inputs
>
> 1. Repository path
> 2. Commit transaction name <-- it gives me something like
> 4-j what does that mean?
>
> The probelm is I need to know the svn path, not repo path, so I can decide
> he can commit to the file/folder.
> Am I missing something here? I need more information about the commit.
>
> Is there anyone who can help me?
> Please help~
>
>
> Kenji
>

Have a look at using the 'svnlook' command to obtain further information
about the current transaction.

http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svnlook

Cheers,
Daniel B.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2365584

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-26 06:07:32 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.