小编Kap*_*ppe的帖子

(Reviewboard 1.7 RBTools 0.6)如何对一系列提交进行事后审查

环境:Git 存储库、Reviewboard 1.7、RBTools 0.6

我有一堆已经推送的提交,并且我想发布对这些提交的特定范围的评论,我已经使用以下语法使用以前版本的评论板完成了此操作:

post-review -o --guess-summary --guess-description --tracking-branch=Dev --revision-range=$firstCommit:$lastCommit
Run Code Online (Sandbox Code Playgroud)

在新版本中,不再支持“post-review”脚本,新语法应该是:

rbt post -d -o -g --branch Dev $firstCommit..$lastCommit
Run Code Online (Sandbox Code Playgroud)

(我也尝试过这个选项: $firstCommit:$lastCommit )此语法适用于单个提交,但范围我有:

ERROR: Error uploading diff
The file was not found in the repository (HTTP 400, API Error 207)
Your review request still exists, but the diff is not attached.
Run Code Online (Sandbox Code Playgroud)

我的目标是提出一个审查请求,其中包含从 $firstCommit 到 $lastCommit 的所有差异,有什么建议吗?


更新:

这是命令的调试输出:

>>> RBTools 0.6
>>> Python 2.7.5 (default, Aug 25 2013, 00:04:04) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
>>> Running on Darwin-13.1.0-x86_64-i386-64bit …
Run Code Online (Sandbox Code Playgroud)

git review-board

5
推荐指数
1
解决办法
4040
查看次数

标签 统计

git ×1

review-board ×1