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

Changing files being committed

From: S3 <stein_at_duvel.ir.iit.edu>
Date: 2005-10-02 17:09:25 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I want to use svn for a Java code repository.
We previously used cvs.
Before allowing commits, I would like to have
a hook that checks the committed files
and, if necessary, runs Jalopy on them.
There are 3 reasons:
1) The changes might be trivial,
   so it might not need to be committed
2) The code is grammatically valid
3) The code is uniformly formatted

In cvs, the hook gets the file name so it can
check the file itself. How do I get the list
of files being committed in a hook for svn?
What is the easiest way to check the files?
Most of the examples just deal with allowing access
and sending notification e-mails, not with
modifying the files being committed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDP/glxzVgPqtIcfsRAplBAJ4uNU8khAyU7E/K0eNUZ1f+81TqaQCaAgVR
0pF2tz8PiIjGMD/cdzm0Ors=
=+Zww
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Oct 2 17:11:03 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.