Server Administration > Reports > Advanced Report Recipe Writing > Branches Tag
  
Branches Tag
To report on the branches of a document, use the <<<BRANCHES>>> tag. This is useful if you want to report on the item versions of a document. In the <%beginrelationshipsdetail%> tag, replace &relationshipsdetailfields with <<<BRANCHES>>>. For example:
<%beginrelationshipsdetail <<<BRANCHES>>>%>
<%endrelationshipsdetail%>
This displays the branched items as relationships.
By default, the <<<BRANCHES>>> tag displays the oldest to newest branches; however, you can add relationship sorting and filtering tags.