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

svnservice wrapper update

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2006-01-23 11:08:24 CET

Hi folks,

I have been taking a look at the different ways of installing
svnserve.exe as a service, and stumbled across some stuff on the svn dev
list.

Daniel Thompson has done some further work on Magnus Norddahl's original
svnservice.exe wrapper to fix a couple of problems and make it more
friendly. Quoting from Dan's summary:

<quote>
Significant modifications from Magnus' version:

* I changed the "main loop" to block on an event, rather than polling
every second. This will significantly improve performance: after
starting, SVNService.exe will not use any CPU at all if it is not time
to quit (and thus also won't be constantly blowing holes in the cache).
It's not like the perf was that awful before, but on a heavily loaded
machine, every bit counts. It's just Right this way.

* I altered the way that the service is set up and removed, and
documented how it works in the usage message (be sure to check that
out). The -remove option should now remove everything, including event
log registration.

Less significant:

* I moved it all to Unicode.

* I changed some of the resources, like using the official Subversion
icon, and removed references to Magnus's "darksoft" company name, added
a service description, etc.

* I added some return codes, tweaked some logic, etc.

* I put the source into a SVN repository of course :) (not publicly
accessible though), and added some scripts to put the revision number
into the version resource. (This change may not be very portable :( )
[NOTE (SL): We can make this work better using SubWCRev]

I'm happy to make my version publicly available. The original version
from Magnus is in the public domain, and my modifications are also.
Unfortunately, I became very busy after I worked on this and have pretty
much dropped out of the subversion world for a while, so it was never
posted anywhere, as I was never able to get in touch with Magnus and
never worked out alternate hosting. I feel like kind of a deadbeat, but
if you can get it up somewhere, that would be very kind of you.
</quote>

As Dan is unable to host this I thought maybe we could help out by:

a) Posting the updated version on our website, which is what we already
do with the updated mod_auth_sspi module.

b) Better still, add the source code to our repository so that public
development can continue - eg. does it need tweaking and recompiling for
x64?

I have the zip of source and binary from Daniel.

I know this is not strictly part of TSVN, but SVN is not really very
interested in Windows specifics, and we seem to be a natural home for
some of these things.

What do you think?

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jan 23 11:08:39 2006

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

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