How to enforce user enter log message before run commit command ?

2002-01-24 Thread George xu
Hi :  I use these script to check log msg before commit.but "print" can't return to wincvs.   #!/usr/local/bin/perl   chop($msg = <>);   if ($msg eq "no message") { #no message is wincvs default log message print "you must enter log message!\n";   exit 1;} else {print "your log msg is:$msg .\

Re: How to enforce user enter log message before run commit command ?

2002-01-25 Thread Larry Jones
George xu writes: > > In wincvs console ,I get "cvs commit: warning: unrecognized response = > `your log msg is:test . > ' from cvs server" ,why ? I want to print "your log msg is:test" when = > log exist. and if log is empty then print "you must enter log message" . > But Now I get "cvs commit: