On Jun 11, 2008, at 13:34, Hari Kodungallur wrote:
> On Tue, Jun 10, 2008 at 11:24 PM, Angeline Diviya wrote:
>
>> 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.
On Windows, the hook script should be a batch file and will need to
be named "post-commit.bat" (not "post-commit"). Or the hook script
can be an executable file named "post-commit.exe". I think there are
some other options as well, but perl is not one of those options. To
run a perl script as a hook script, you would need to write a batch
file (which Subversion will call) which calls the perl script.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-12 01:18:15 CEST