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

Re: Modifying log message in pre-commit hook

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Thu, 20 Mar 2008 11:42:25 -0400

"Andy Levy" <andy.levy_at_gmail.com> writes:
>> Yep. That unfortunately complicates matters because the pre-commit
>> hook needs to duplicate the log message in other systems.
> What if the commit fails? Should that log message still be put into
> those other systems?

I don't think that's an issue. If the commit fails, then the entire txn
goes away and those systems never see the new revision (because there is
no new revision), and the post-commit hook is never run.

Kevin's point is that he wants the log message to be in its final form
by the time the commit is finalized, *if* it's going to be finalized.
Tweaking it after the fact is less useful to him.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-20 16:42:49 CET

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.