[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
verifymsg not called if user variable undefined
From: |
Lemke, Michael IZ/HZA-IC1 |
Subject: |
verifymsg not called if user variable undefined |
Date: |
Mon, 19 May 2003 14:58:20 +0200 |
I didn't see this appear in the archives so I try again:
I am using cvs 1.11.5 with rsh. If I have this verifymsg file
$ cat verifymsg
^test $CVSROOT/CVSROOT/verifymsg.sh ${=CvsUser}
the verifymsg.sh script is not called if CvsUser is undefined:
$ cvs ci -m 'verifymsg tests...'
cvs commit: Examining .
cvs commit: verifymsg:22: no such user variable ${=CvsUser}
Checking in ...
and the commit proceeds. I want to reject the commit if the
variable is undefined. But I can't because my script isn't called.
Is there a way to have the variable expand to the empty string
and have the script called anyway? ${=var} seems to be the
only syntax available.
Thanks,
Michael
- verifymsg not called if user variable undefined,
Lemke, Michael IZ/HZA-IC1 <=