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

Re: Pre-commit transaction modification question

From: <kfogel_at_collab.net>
Date: 2004-02-13 15:05:33 CET

"C. Michael Pilato" <cmpilato@collab.net> writes:
> I've considered in the past how such a thing might be implemented.
> Remember, making an auxiliary commit from within the post-commit hook
> will itself trigger, yes, another post-commit hook.
>
> The easiest thing I could think of was to write the hook such that it
> only did the reformatting for revisions that lacked a special
> 'cmpilato:reformatted' revision property. And of course, the last
> thing the reformatter would do before making the auxiliary commit
> would be to set a 'cmpilato:reformatted' txn prop. No infinite
> recursion.

Yes, I was thinking that too. This would also suppress the commit
email, etc.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 13 16:07:17 2004

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.