subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C. Michael Pilato" <>
Subject Re: lock tree or branch - quick question
Date Wed, 13 Feb 2013 15:25:21 GMT
On 02/13/2013 03:04 AM, Thomas Hemmer wrote:
> Have a look at
> If you are in need of a conditional commit access control mechanism, you
> should consider using a start-commit hook - see
> for
> details.

Those are some good doc pointers, but be aware that the start-commit hook
lacks the context to perform path-based conditional commit access.  It's not
until the pre-commit hook phase that the server knows which paths were
modified as part of the commit.  So, yes, you can do this conditionally from
hooks, but use pre-commit rather than start-commit to do so.

C. Michael Pilato <>
CollabNet   <>   <>   Enterprise Cloud Development

View raw message