gerrit查询不打印PL

时间:2015-11-24 22:31:51

标签: gerrit

ssh -p 29418 review.test.com gerrit query --patch-sets 199423

这打印了我在gerrit页面中看到的大部分字段而不是PL,我在gerrit页面中看到PL,有没有办法让gerrit查询打印出来?我是gerrit的新手,提前谢谢。

1 个答案:

答案 0 :(得分:0)

如果PL是你的意思是rules.pl文件你不能通过使用gerrit查询得到它。

您可以使用Git命令下载和编辑项目的配置:

git fetch origin refs/meta/config:config
git checkout config
... edit or create the rules.pl file
git add rules.pl
git commit -m "My submit rules"
git push origin HEAD:refs/meta/config

Documentation