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

Modifying transaction properties (svnadmin setrevprop)

From: Ryan J Ollos <rjollos_at_apache.org>
Date: Sat, 23 Apr 2016 14:23:37 -0700

For a long time I've known the rule "don't modify a transaction in a
pre-commit hook", documented in (1) and recently repeated in (2).

I was therefore surprised to read about the "svnadmin setrevprop" command
(3) in 1.9, and to see an example of modifying transaction properties in
the hook-scripts: "persist-ephemeral-txnprops.py" (4).

Are there some conditions under which it's okay to modify the transaction,
or are there only specific use-cases when this should be done?

- Ryan

(2) http://markmail.org/message/kmxxbk4nrvmpc66r
Received on 2016-04-23 23:23:40 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.