Entries format question

2000-09-14 Thread Laird Nelson

I'm finding a case where there's a '=' in the date field of a line in an
Entries file when I'm doing a cvs tag.

The = is not documented in the Cederqvist as being one of the characters
that should show up in the timestamp field.

I'm running a taginfo script under pserver that parses the Entries file
it finds in the cvs-servpid directory (its current directory when it
runs, actually) (more for curiosity at this point--to see what's in
there in the tmp directory when a cvs tag happens) and I'm finding a
line like this:

  /theFilename.txt/1.23/=//

Cederqvist says, in http://www.loria.fr/~molli/cvs/doc/cvs_2.html#IDX81,
paraphrased, that anything that shows up in the timestamp slot that
isn't a date/time string means that the file is to be considered
modified.  Was the '=' picked for any particular reason or is it just
there to indicate that theFilename.txt is to be considered as "modified"
in some way since the tag operation should complete even if no lines in
the file have changed?

Cheers,
Laird




Re: Entries format question

2000-09-14 Thread Larry Jones

Laird Nelson writes:
 
 I'm finding a case where there's a '=' in the date field of a line in an
 Entries file when I'm doing a cvs tag.
 
 The = is not documented in the Cederqvist as being one of the characters
 that should show up in the timestamp field.
 
 I'm running a taginfo script under pserver that parses the Entries file

I think that's the key -- client/server takes some liberties with the
Entries file format on the server side; I don't think you'll ever find
this in a "real" Entries file.  As I recall, it means that the client
said that the file was unmodified (via an Unchanged request).  There is
a bit of information in the client/server protocol manual.

-Larry Jones

I wonder what's on TV now. -- Calvin