Re: Pre-Commit hooks and Code Format checkers.
From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-12-01 08:27:22 CET
On Nov 30, 2007, at 10:57, Eric Berry wrote:
> I want to know if it's possible to insert a pre-commit hook that
It is.
> My company actually wants to set it up to automatically format any
Right, doing so would screw up your committers' working copies so you
> From my understanding it's supposed to be more of a pass/fail
Exactly. And you can print error messages to stderr, which will be
> Is this possible?
Yes, here's an example which checks the syntax of Java files:
http://svn.haxx.se/users/archive-2006-06/0853.shtml
---------------------------------------------------------------------
|
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.