Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
PROBLEM/ABSTRACT:
How to generate a list of elements associated with an issue in xml format?
SOLUTION:
You will want to run the following command:
accurev cpkdescribe -I <issue number> -p <depot name> -fx
This will report a full description of the change package in xml format. If you leave off the -fx option, it will report in non xml format.
C:\ws_store\workspace>accurev cpkdescribe -I 10 -p testdepot
Issue: 10
/main.c 4/3 7/2
OR
C:\ws_store\workspace>accurev cpkdescribe -I 10 -p testdepot -fx
<acResponse>
<issues>
<issue>
<issueNum>10</issueNum>
<elements>
<element
id="16"
real_version="4/3"
basis_version="7/2"
location="/main.c"
dir="no"
elemType="text"
missing="true"/>
</elements>
</issue>
</issues>
</acResponse>
For more information contact AccuRev Support