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

Re: revprop change notifications (was: svn commit: rev 5289 ...)

From: <cmpilato_at_collab.net>
Date: 2003-03-14 06:34:21 CET

cmpilato@collab.net writes:

> > There is some argument for using a tempfile for the post-revprop
> > hook, but that also opens up the whole "What happens if no one
> > cleans up the file?" question, as well as unintuitively involving
> > two hook scripts in what most people would imagine is a
> > one-hook-script problem.
>
> No, actually, it doesn't open that question. The repos layer is
> required to clean up that file. How hard is that?
>
> > IMHO, stdin is a *much* cleaner solution; I'm implementing it now.
>
> STDIN is also much more limited; please reconsider.

You know what? Never mind. If a script wants to be able to have
random access on the property value, *it* can write the thing to a
tempfile and worry about the cleanup.

Go forth in STDINity, my son!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 14 06:36:21 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.