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

Re: pre-commit.pl

From: Bogdan Cristea <cristeab_at_gmail.com>
Date: Tue, 16 Dec 2008 12:21:57 +0200

On Tuesday 16 December 2008 12:12:36 you wrote:
> Hi
>
> I wrote a pre-commit.pl simple script that I want to be executed before
> I am commiting a file.
>
> It is simple -
>
> #!C:\Perl\bin
> print STDERR "Hello World\n";
>
> or...
> #!C:\Perl\bin
> print "Hello World\n";
>
> But, when I execute the script I am getting no message when I am doing
> it from the command line.
>
> Please help.
>
>
>
> Ilan Yaniv
> Configuration Management
> Phone: 03-7534333 ext. 5873
> Ilan.Yaniv_at_timetoknow.org
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=9
>84907
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe_at_subversion.tigris.org].

I don't have experience with perl or svn hook scripts, but I think that in
your case is better to create/modify a file, instead of displaying something
to stdout or stderr.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984908

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-16 11:22:54 CET

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.