Hi Fiona, Unlike Linux and Mac OS, Windows can't execute Perl code that's directly embedded in batch files. The contents of those hook text boxes are effectively Windows batch files, so you'll need to save your Perl code to a file and change the text in the text box to the syntax necessary to run that Perl script from the command line. Remember to pass along any command line arguments you're using in the Perl script from the batch file.
For more information about batch files, have a look at http://commandwindows.com/batch.htm Carey 2011/11/11 fiona <[email protected]> > sorry, I made a mistake,I delete all my scripts,all works nomally.but > I have another question: > I open visualsvn server manager,right-click the affected repository- > >properties->hooks,double click the start-commit hook and paste my > script in it directly,then when I commit my modifies,it display:is not > internal or external command ,and not executable command(all > lines),the script is written by perl, I think it is right,I don't know > if I write directly in repository->properties->hooks,it needs some > formats? Thanks! > > On 11月7日, 下午3时59分, fiona <[email protected]> wrote: > > now I use TortoiseSVN 1.7,server is visualSVN. I wrote some script in > > start-commit hook,but it doesn't work,then I delete them, I check out > > from repos, and did some modifications, when I commit,it prompt: > > commit blocked by start-commit hook (exit code 1)with no output! > > the start-commit hook is blank now,why it prompt the message? I search > > from internet,but no result. > > anyone can help me?thanks! > > -- > You received this message because you are subscribed to the Google Groups > "VisualSVN" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/visualsvn?hl=en. > > -- You received this message because you are subscribed to the Google Groups "VisualSVN" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/visualsvn?hl=en.

