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

Re: Pre-commit hooks and access to files

From: Blair Zajac <blair_at_orcaware.com>
Date: Mon, 17 Aug 2009 16:20:35 -0700

Douglas Bullard wrote:
> 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).

It's possible but you would break the client that just did the commit.

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

Yes, it does preclude you from doing this.

Blair

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-18 01:21:31 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.