Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
for exit: I just read the help command. That's ok now, thanks :) For .%1.: this is not the solution. The manual tells that comments are on stdin, and not used as an argument of the script called by verifymsg... "Gabriel Genellina" Pour : cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook <gagenellina at soft cc : (ccc : Franck-Sébastien EYMARD/GENNEVILLIERS/STAGO) lab.com.ar> Objet : [cvsnt] Re: administrative files: I will get mad Envoyé par : cvsnt-bounces at cvs nt.org 18/01/2006 16:29 Veuillez répondre à gagenellina On Wed, 18 Jan 2006 08:26:41 -0300, <feymard at stago.fr> wrote: > I continue on my problems of commit control: > In verifymsg, why > DEFAULT cmd /C exit /B 1 %l works (ie: the commit fails) > and > DEFAULT D:/CVSData/blank-commit.bat %l fails (the commit is done) > (the batch contains only an echo begin and an exit /B1 ) Why exit /B? Try "exit 1", which sets the exit code of the calling cmd process, which -a bit depending on the OS version- propagates to its caller, CVSNT. > Other question: in DOS, how can I detect the presence of a comment? DOS == MS-DOS? If you want to detect a blank argument, try: if .%1. == .. echo Empty -- Gabriel Genellina Softlab SRL