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

Working with hook scripts and sendmail on Windows

From: Jostein Chr. Andersen <jostein_at_josander.net>
Date: 2004-06-02 14:38:59 CEST

Hi,

I'm porting the hook scripts inlined in subversion/libsvn_repos/repos.c
to Windows as batch files and making a sendmail wrapper for use with the
Hamster (thanks darix) or another good working free SMTP server for
Windows.

This turns out to be much easier than expected and leads me to this
questions:

1. a) Can the Windows batch versions be inlined in repos.c just as
      the sh variants and then compiled into svnadmin depended of
      platform or..
   b) .. be included in tools/hook-scripts/win32 (or something) in
      the Subversion repository?

2. I want to cd to tools/hook-scripts/ and alter commit-email.pl.in
   and propchange-email.pl.in and throw in some
   "if (^O eq 'blah')"'s so the scripts will work on the fly on
   Windows as well.

I know that I just have to post a patch on the dev list for item 2 and
then close my eyes and hope for the best (that the patch will be
accepted). However, I do tell anyone that I'm working on it by writing
about it here :-)

Jostein

-- 
http://www.josander.net/en/contact/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 2 14:40:15 2004

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.