[cvsnt] keyword dollar sign collision with variable

Tony Hoyle tony.hoyle at march-hare.com
Wed Oct 3 00:36:15 BST 2007

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.

Boris Smirnov wrote:

> For my programming language it does not matter if it's in comment or 
> not, it's only looking for the $ signs. :)
> It's a macro language for a special programm that we use. So comment 
> will not help, I already tried. I'm wondering if there could be another 
> workaround.

Hmm... odd language though that doesn't support comments.  You might 
have to switch keywords off for those files (assuming you can't change 
the behaviour of the language).

>  > btw. I'd avoid $Log as it creates merging problems.
> And what it then other way of writting the commit message (comment ) to 
> the file?
Normally you wouldn't - you rely on audit for that.  The problem with 
log is it changes the length of the file, so you get changes that aren't 
part of the code and can't be reversed by the merge code... causes 
conflicts that you wouldn't normally get.

It still works OK but creates work when you're checking for differences etc.


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