You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "White, Daniel E." <dw...@witsusa.com> on 2005/03/21 21:25:41 UTC

Howto Question: Is it possible for the hook scripts to check each file being added or changed ?

Is it possible to perform a check (like the existence of a property) on
a per-file basis in the start-commit or pre-commit hook scripts ?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Howto Question: Is it possible for the hook scripts to check each file being added or changed ?

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mar 21, 2005, at 3:25 PM, White, Daniel E. wrote:

> Is it possible to perform a check (like the existence of a property) on
> a per-file basis in the start-commit or pre-commit hook scripts ?
>

Yes, that's exactly why start-commit or pre-commit hooks exist, as the 
book says.  :-)
Use a program like 'svnlook' to inspect the transaction.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org