[cvsnt] Re: administrative files: I will get mad
Gabriel Genellina
gagenellina at softlab.com.ar
Wed Jan 18 19:29:36 GMT 2006
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
More information about the cvsnt
mailing list