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

Re: Subversion Notification

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Wed, 11 Jun 2008 11:34:06 -0700

On Tue, Jun 10, 2008 at 11:24 PM, Angeline Diviya <angeline.diviya_at_gmail.com>
wrote:

> Hi
>
> I downloaded commit-email.pl and placed in the hooks directory, and i
> edited post-commit.tmpl file in the hooks directory and converted tat to
> exe...
>
> But it gives NTVDM error whn i commit my working copy....
>
>
> i have attached both the files commit-email.pl and my post-commit.tmpl....
> Please kindly go through it and let me know wat changes should be made in
> commit-email.pl and post-commit.tmpl, so tat my mail thing
> works..............
>
>
>

Please spend some time to understand the working of svn by reading the free
svn book. And specifically regarding hooks (link provided earlier) to solve
this issue. Everything is explained in the book.

The file "post-commit.tmpl" has to be renamed to a file called
"post-commit". The tmpl is just a template file give as an example for you.

I have no idea what NTVDM error is. All I know is that this is specific to
Windows. And since you are running Windows, please also make sure you have
perl installed. There is not going to be any use downloading and trying to
execute commit-email.pl (or SVN::Notify) without perl on the machine.

>
>
>
>
>
>> - SVN::Notify is a perl module that you can install.
>> - commit-email.pl is a script that comes with Subversion source code. You
>> can keep this file anywhere you want. For example, you can copy the file to
>> the hooks/ directory.
>>
>> You don't need to use both. You choose any one of the above. And then call
>> either commit-email.pl or svnnotify in the post-commit hook script. Please
>> read about the hook scripts in the svn book (link provided in yesterday's
>> email).
>>
>>
>>
>>
>>
>>>
>>>
>>>
>>> On Tue, Jun 10, 2008 at 1:49 AM, Hari Kodungallur <
>>> hkodungallur_at_gmail.com> wrote:
>>>
>>>>
>>>> What is the type of notification that you are looking for? Are you
>>>> looking for a check-in notification where an email is sent to everyone
>>>> whenever a new revision is committed? This is achieved by using a hook
>>>> script. Please read about it here:
>>>> http://svnbook.red-bean.com/en/1.1/ch05s02.html#svn-ch-5-sect-2.1
>>>> The source distribution of svn comes with a perl script
>>>> (commit-email.pl) that you can call from the post-commit hook to send out
>>>> the commit emails.
>>>>
>>>> If you are looking for any other kind of notification, can you please
>>>> provide more info?
>>>>
>>>> Regards,
>>>> -Hari
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Angeline Diviya.T
>>>
>>> Love is like a knife, it can stab the heart or it can carve wonderful
>>> images into the soul that will last a lifetime
>>>
>>
>>
>
>
> --
> Regards,
> Angeline Diviya.T
>
> Love is like a knife, it can stab the heart or it can carve wonderful
> images into the soul that will last a lifetime
>
Received on 2008-06-11 20:34:37 CEST

This is an archived mail posted to the Subversion Users mailing list.

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