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

Getting file source in commit hook

From: scott carter <scottallencarter_at_gmail.com>
Date: Mon, 3 Mar 2008 01:22:37 -0600

Hello -

I have a task that I am hoping is somewhat common but not quite sure how to
accomplish it. I need to get the content of to-be-committed files in a
pre-commit hook. The reason for this if because we use the Jalopy code
formatter, and I have been tasked with checking that to-be-commits conform
to our coding standards. This is very easy to do in Jalopy, but I need to
get the content of the to-be-committed files in the pre-commit hook to run
the script. How can I do this on the server side?

Thanks in advance.
Received on 2008-03-03 08:23:01 CET

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.