perl pre commit hook script visual svn

2014-07-24 Thread Shivaprakash Tirlapur
hi team i have attached a pre commit hook script written in perl i am new to perl i want a small code from the script attached to the mail # return whether there is a conflict marker in file sub has_conflict_marker($) { my ($file) = @_; my $marker = 0; open HCM, "<$file" or die $!; w

Re: Perl pre-commit hook

2010-01-20 Thread VisualSVN Support
Hi Daniel! >IS this just a .cmd/.bat file syntax thing, or am I missing something else >here? Please take into consideration the following: 1. Please use pre-commit.bat file name instead of pre-commit.cmd. 2. To call bat file from another one use "call" command. 3. To assign value to variable i

Perl pre-commit hook

2010-01-19 Thread Daniel Sisco
All: I'm running VisualSVN Server on a Window machine, and I'm struggling to get it to recognize my Perl-based pre-commit hooks. I understand that the VisualSVN Server hooks should be either a .exe or .cmd file, and that it's not easy to execute Perl directly from them. I figured this wouldn't be