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

Re: single exit point for svnserve

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-09-22 15:59:44 CEST

On 9/21/06, Ionel GARDAIS <igardais@yahoo.fr> wrote:
> Hi,
>
> What are the pros and cons for adding a method like "svn_shutdown_hook
> ()" that will be called when svnserve is running as a daemon or a
> service and the process is beeing asked to quit ?
>
> This question is not innocent : it's for getting a single piece of
> code to deregister Bonjour service.

If you need such a thing as part of something you're implementing, I'd
suggest just adding it as part of that patch. If it later turns out
to be something generically useful, we can always abstract it out.

One thing to keep in mind though, if you're looking to advertise
svnserve's repositories over zeroconf, you'll have a bit of trouble,
because svnserve doesn't know at startup what repositories it's
serving, it just has a root directory, and any repository under that
directory can be served up.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 22 16:00:05 2006

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.