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

RE: Are there anyone running Subversion server on Window NT?

From: Jeff Cave <jeff.cave_at_sunergon.com>
Date: 2003-05-05 20:32:52 CEST

>You should try doing something really simple with your post-commit
>hook first to see if it is working. To be honest, I'm not aware of
>anyone who has gotten a post-commit hook to work in Windows -- not
>saying it can't be done, just that I don't know of anyone having
>succeeded.

I found that I am having problems with the comit-email.pl (not the hook itself). I ended up altering the script to call the net::smtp perl module.

The only problem is I can't get the comit-email.pl to run (that's a step up from not being able to get it to compile). When I run it I get the following errors:

 c:\svn\swarm\hooks>perl comit-email.pl c:\svn\swarm 2 --from jeff.cave@sunergon.com -r k@vius.ca -s test:
 '-' is not recognized as an internal or external command, operable program or batch file.
 '-' is not recognized as an internal or external command, operable program or batch file.
 '-' is not recognized as an internal or external command, operable program or batch file.
 '-' is not recognized as an internal or external command, operable program or batch file.
 Use of uninitialized value in concatenation (.) or string at comit-email.pl line 298.

I'm confused. I'm not a huge perl guy, and this is the furthest I have gotten into this script when running it. I assume the first four have to do with the command line arguments (though that is just a guess). The last one is on a line of code that I didn't go near. Just playing with it I tried a couple variations of the call.

perl comit-email.pl c:\svn\swarm 2 --from jeff.cave@sunergon.com -r k@vius.ca -s test:
perl "comit-email.pl" c:\svn\swarm 2 --from jeff.cave@sunergon.com -r k@vius.ca -s test:
perl comit-email.pl c:\svn\swarm 2
perl "comit-email.pl" c:\svn\swarm 2

If this is something that someone recognizes, please let me know. If not, I'll just keep hacking at it until I get it.
Received on Mon May 5 20:33:40 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.