Perforce:向现有变更列表添加描述
我需要使用 Java 将一些文本附加到 Perforce 中现有变更列表的描述中。 最有效的方法是什么?
我可以想到
1. CL_content = p4 change -o <changelist>
2. Then append the required text to the description
3. p4 change -i CL_content
但是,它不适合非常大的变更列表。
还有其他办法吗?
I need to append some text to the description of already existing changelist in Perforce using Java.
What would be the most efficient way to do it?
I could think of
1. CL_content = p4 change -o <changelist>
2. Then append the required text to the description
3. p4 change -i CL_content
But, it would not be suitable for very large changelists.
Any other way?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你的解决方案看起来不错。没有其他选项可以一次更新大量变更列表。
当你做一件又一件事情时,Perforce 应该能够承担负载。我不认为它有任何问题。
Your solution looks good. No other option to update a bulk of changelists at once.
Perforce should be able to take the load when you are doing one after other. I don't see any issues with it.