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

Hook example using Perl binding

From: Yves Martin <ymartin59_at_free.fr>
Date: Wed, 30 Jan 2008 14:03:09 +0100


I'm working a hook to check for file content encoding thanks to a property on
files or pattern matching specified in a configuration.

As I'm comfortable with Perl, I have already writen hooks with svnlook command
parsing to analyse a transaction. But in that case, there is many tasks to
acheive and I guess svnlook calls and file parsing will be heavy.

Are there pre-commit hook examples somewhere using Perl bindings - SVN::Fs (I
guess) to inspect a transaction and read a file from it - to help me start ?

Thank you in advance for your help

Yves Martin
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-30 14:03:28 CET

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