[cvsnt] Incorrect variable expansion in administrative files

Gabriel Genellina gagsl-cvsnt at yahoo.com.ar
Mon Sep 14 09:14:31 BST 2009


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.


En Sun, 13 Sep 2009 19:35:30 -0300, Arthur Barrett
<arthur.barrett at march-hare.com> escribió:

>> Looks like variable expansion "eats" the first character from the
>> remaining text. The same happens with any other variable ${USER},
>> ${REAL_CVSROOT}, etc.
>
> Thanks for the report.
>
> Looking at the code - this behaviour appears to be deliberately coded,
> but certainly the manual doesn't make it clear.
>
> If you use braces then the first character after the closing brace is
> always discarded:
>   ALL cmd /c echo ${CVSROOT} 12345
> I tested CVS 1.12.13 and it does NOT drop the first character.

Just out of curiosity - is there any rationale for such "feature"? (I
cannot think of any...)

> So I propose:
> * CVSNT 2.5.04 - no change
> * CVSNT 2.5.05 - 1.12.13 behaviour

Thanks. I'll have to remember to un-fix my scripts when/if I install
2.5.05...

-- 
Gabriel Genellina



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook