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

Modify properties in pre-commit hook

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2004-09-22 21:31:13 CEST

The text within the pre-commit hook template implies it would be OK to
modify the revision properties of the transaction, but how would you do
it? I do not see any API's that operate on a txn that can do this. I
would like to add custom revision properties in the hook. I can do it
after the commit in a post-commit hook, but that then also requires the
pre-revprop-change hook to allow the revision properties to be altered.

Here is the specific text I am referring to:

# *** NOTE: THE HOOK PROGRAM MUST NOT MODIFY THE TXN, EXCEPT ***
# *** FOR REVISION PROPERTIES (like svn:log or svn:author). ***

Thanks

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 22 21:32:33 2004

This is an archived mail posted to the Subversion Users mailing list.