info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parsing loginfo


From: Larry Jones
Subject: Re: parsing loginfo
Date: Sat, 16 Feb 2002 00:52:24 -0500 (EST)

Rob Helmer writes:
> 
> If loginfo is specified like this : %{ sVv} then the output is like :
> 
> sandbox/blah test ,space file.txt,1.12,1.13
> 
> instead of :
> 
> sandbox/blah test space file.txt,1.12,1.13
[...]
> Anyone know why this works? Is this unintended or not?

When the loginfo processor encounters an unknown format character, it
inserts an empty field.  The assumption is that there's a newer version
of CVS running on the same repository that defines a new format
character that this version doesn't know about.  In order to avoid
screwing up the loginfo script by giving it a line with the wrong number
of fields, it inserts a field, but leaves it empty since it doesn't have
a clue what to put in it.

-Larry Jones

It's hard to be religious when certain people are never
incinerated by bolts of lightning. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]