by kencorbin » Wed Jun 23, 2010 7:51 pm
Haven't had much call to look into the PVCS migration code. But here is what I tracked down.
The label information is retrieved by parsing the output of the vlog command, looking for a section labeled "Version labels:". This is followed by the label information, one label and associated revision number per line. Something called floating labels (those ending with an asterisk) are skipped. If there are duplicate label definitions, only the last one is accepted.
If no revision is found with the labeled revision number, the label will be skipped with a log warning
"Labeled revision " + revisionNumber + " not found, label=" + label + ")"
Further on, there is code to reject a label duplicate labels applied to a revision. Right now I don't see how this can possibly happen, but if it does, the logged error message will be
getPath() + ": duplicate tag " + tag.getName()
Otherwise the labeled revision should be copied into a tags/ subdirectory.
If you want to track this down further, I would identify one particular file that you think should have been copied to a tag directory but wasn't. Then..
1) Verify that that label does appear in the output of a vlog command for that file
2) Check the log file for any errors or warnings that involve this file.
Good luck,
-Ken