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

Re: hooks and env

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2005-02-26 07:46:48 CET

On Sat, Feb 26, 2005 at 12:39:48AM -0600, C. Michael Pilato wrote:
> > What can I do to implement what I want in the hook?
>
> Does SVK not set any transaction properties that are distinguishable
> from a well-behaved-yet-non-SVK client? If so, perhaps just teach
> your hook to look for those transaction properties. If not, perhaps
> teach SVN to set such a property, and teach to the pre-commit hook to
> check for it, and then remove it.

This brings up another missing API long in mind. Most of the commits
svk or svn::mirror performs are with repos commit_editor eventually in
the last layer. But there's no way to access the txn object, and thus
no way to set revprop with txnprop until the committed callback.

Cheers
CLK

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 26 07:49:27 2005

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