我希望打印特定流的每个变更列表的Changelist描述,但是我作为输出获得的描述仅限于特定的字符集。
changelistList.each { IChangelistSummary cl ->
println cl.getDescription()
}这是给出有限的CL描述,而不是我在p4V中看到的完整描述。
printed by script is - "settings IL customization"
But the actual description is "settings IL customization Fix_For_TDP XXXXX_Additional Services section expanded on both Provide and Change"有人能帮忙吗?这里怎么了?我没有收到任何编译错误,脚本执行得很好,只是我没有打印完整的描述--我甚至尝试使用println cl.getDescription().toString(),但是没有帮助
发布于 2018-03-07 22:55:44
您可能需要使用getChangelist()方法来获得包含完整描述的变更列表:https://www.perforce.com/perforce/r17.2/manuals/p4java-javadoc/com/perforce/p4java/server/delegator/IChangeDelegator.html
https://stackoverflow.com/questions/49161941
复制相似问题