来自p4 diff2的perforce + reviewboard输出无法上传到评审板

时间:2014-05-21 12:27:33

标签: perforce review-board

我使用以下命令生成了diff文件

p4 diff2 -duw //depot/mainbrach... //depot/proj_branch... |  grep -v "identical" > changes.diff

我尝试使用rbt工具

创建使用此diff文件的审阅请求
rbt post --diff-filename=changes.diff --server=http://XXX

我收到以下错误

 ERROR: Error uploading diff
 The generated diff file was empty. This usually means no files were modified in this change.Your review request still exists, but the diff is not attached.

我还发现diff格式与reviewboard接受的格式不同(与旧的评论差异文件相比)

网络中的一些地方提到可以使用审核后或外部工具来纠正相同的问题。但找不到确切的解决方案。 请帮我 在此先感谢

0 个答案:

没有答案