You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Aliasgar Ganiji <Al...@epicsystems.com> on 2006/06/13 22:37:32 UTC

post-commit information

I have defined a post-commit.bat file under the hooks folder which gets
called by SVN.  Post-commit.bat in turn calls a vb-script which sends
out an email to the specified group.  What I want to accomplish is to
send information about the old files/new files committed, the revision
number, etc. along with the email.  How do I go about passing this
information for SVN->post-commit.bat->Email.vbs?  Is there a log file
somewhere which can be parsed for information by the vb-script?

I am running the apache service on a Windows XP machine under the local
system account.

Re: post-commit information

Posted by Andy Levy <an...@gmail.com>.
On 6/13/06, Aliasgar Ganiji <Al...@epicsystems.com> wrote:
>
>
>
> I have defined a post-commit.bat file under the hooks folder which gets
> called by SVN.  Post-commit.bat in turn calls a vb-script which sends out an
> email to the specified group.  What I want to accomplish is to send
> information about the old files/new files committed, the revision number,
> etc. along with the email.  How do I go about passing this information for
> SVN->post-commit.bat->Email.vbs?  Is there a log file somewhere which can be
> parsed for information by the vb-script?
>
> I am running the apache service on a Windows XP machine under the local
> system account.

You can't call the VBS script with parameters, but you can convert it
to WSF which will let you pass parameters to the script.

Or you can have your batch file write out a text file, which the VBS
then reads in.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org