[cvsnt] Re: administrative files: I will get mad

Gabriel Genellina gagenellina at softlab.com.ar
Wed Jan 18 19:29:36 GMT 2006


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.


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
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook