[cvsnt] keyword dollar sign collision with variable
tony.hoyle at march-hare.com
Wed Oct 3 00:36:15 BST 2007
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
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