I'm trying to use annotate but have a problem: The output ignores some information (date and username) if it was displayed for the same version before. I'd like to display them in any line.
This is my command:
cleartool annotate -out - -rm -nhe -fmt "%Sd ||| %-12.12u ||| %Vn ||| ,,%Vn ||| " -rmf "" "G:\views\myview\myprojectvob\Form1.frm@@\main\john_myprject\12"
That's the output. I'd like to get date and username for the second and third lines as well.
Do you know if that's possible?
2008-05-22 ||| john ||| \main\john_myproject\10 ||| End Sub
\main\john_myproject\10 |||
\main\john_myproject\10 ||| Private Sub mnuContents_Click()
\main\john_myproject\10 ||| On Error GoTo errHandle
\main\john_myproject\10 |||
\main\john_myproject\10 ||| Dim stat As Integer
\main\john_myproject\10 ||| stat = ExecuteLink(App.path & "\manual.pdf")
\main\john_myproject\10 |||
\main\john_myproject\10 ||| Exit Sub
\main\john_myproject\10 ||| errHandle:
\main\john_myproject\10 ||| MsgBox ("Error with PDF file")
According to the cleartool annotate
man page, that command always uses an "elide-format", precisely to avoid duplicating informations on lines modified by the same author.
So the only solution would be to parse the result of that command in order to insert the relevant information.