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

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

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-21 23:08:50 CET

On Mar 21, 2005, at 3:57 PM, White, Daniel E. wrote:

> OK, but how do I get the list of files ?
> The commands I want to use need a file name.
> Are there any examples out there doing this sort of operation ?
> What I want is to be able to cancel the commit if the files being
> added/changed do not meet certain criteria.

Create a repository. Look at the sample pre-commit hook template
that's there.
Then run 'svnlook help', or read about it in the book.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 22 00:36:52 2005

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.