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

Pre-commit hooks and access to files

From: Douglas Bullard <dbullard_at_nurflugel.com>
Date: Mon, 17 Aug 2009 18:05:16 -0500 (CDT)

I'm investigating whether it's possible to modify the contents of
files in pre-commit hooks (such as inserting author's names and
revision numbers in class comments, etc).

The docs for pre-commit hooks say that modification of the
contents of a transaction are prohibited. Would this preclude me
from doing this?

If not, how would I get a handle of the file contents to modify -
svnlook doesn't seem to do this.

I understand that people have strong opinions on this, but I'm
investigating whether it's possible, the advisabitlity of doing so
is another conversation.

Thanks in advance...

Douglas Bullard

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2384562

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-18 01:06:51 CEST

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.