mercurial - Reviewboard 错误中止 : The file was not found in the repository (207)

标签 mercurial review-board

无法在评论板中看到差异。在发布评论时看到以下错误。但在审查委员会门户中,我可以看到该消息。但看不到差异。

[dkanagaraj@localhost hid-MS-PoC]$ hg postreview tip --debug
Parent is d63949c66c7a
Remote parent is None

=== Diff from parent to rev ===
diff -r d63949c66c7a0302f8f7495f5c1b62bfb2c0e92c -r 16487c0824fdd5bd124e3266a1055be321b13f37 RFP/hid-MS-PoC/rundev.bat
--- a/RFP/hid-MS-PoC/rundev.bat Mon Feb 15 14:59:19 2016 -0500
+++ b/RFP/hid-MS-PoC/rundev.bat Mon Feb 15 16:22:21 2016 -0500
@@ -1,3 +1,3 @@
-
+@REM
start cmd /k "cd portal& call rundev.bat"
start cmd /k "cd rfp& call rundev.bat"  


Changeset 72:16487c0824fd
---------------------------
changed rundev.bat for reviewboard

reviewboard:    http://10.129.47.15/reviews/

Looking for '10.129.47.15 /reviews/' cookie in /home/dkanagaraj/.post-review-cookies.txt
Loaded valid cookie -- no login required
Repositories:
[2] chennai_sis
repository id: 2
abort: The file was not found in the repository. (207)
stat: fail
file: RFP/hid-MS-PoC/rundev.bat
revision: d63949c66c7a0302f8f7495f5c1b62bfb2c0e92c

以下是在 Debug模式下启用的审查板日志
2016-02-15 21:25:03,062 - INFO -  - Reloading logging settings
2016-02-15 21:25:03,067 - DEBUG -  - Cache miss for key jsi18n-djangojs-reviewboard_djblets-en-1449235847.
2016-02-15 21:25:03,255 - INFO -  - Reloading logging settings
2016-02-15 21:26:40,118 - INFO -  - Reloading logging settings
2016-02-15 21:26:40,136 - INFO -  - Reloading logging settings
2016-02-15 21:26:40,174 - INFO -  - Reloading logging settings
2016-02-15 21:26:40,227 - INFO -  - Reloading logging settings
2016-02-15 21:26:40,245 - DEBUG -  - DiffParser.parse: Beginning parse of diff, size = 357
2016-02-15 21:26:40,245 - DEBUG -  - DiffParser.parse: Finished parsing diff.
2016-02-15 21:26:40,297 - DEBUG -  - Using rbssh for mercurial

最佳答案

这发生在我身上,我花了很长时间才找出原因。不同之处在于我家的 .hgrc 文件中有这个:

[mq]
secret = true

每当我 qpush 一个补丁时,这使得补丁的提交阶段成为“ secret ”。这阻止了它出现在 hg out 中。以及打破审查委员会。

从我的 .hgrc 中取出线路让它再次工作。您可能需要更改已推送的补丁程序的阶段,或者使用 hg phase或通过 qpopping 和 qpush 它们。

关于mercurial - Reviewboard 错误中止 : The file was not found in the repository (207),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35454213/

相关文章:

visual-studio-2010 - 将 SVN 存储库迁移到某些分布式 VCS(Git 或 Mercurial)

eclipse - Mercurial 和 Eclipse 项目功能子模块的最佳实践?

python - 当基于补丁的工作流程失败导致您的存储库中出现 .rej block 时,是否有任何补丁工具可以与 Mercurial 配合良好

svn - reviewboard post-review 和 "A +"状态文件

linux - 如何在 csh 中获取第二个参数直到最后一个参数?

python - ReviewBoard : symbol XML_SetHashSalt, 版本 EXPAT_2_0_1_RH 未在文件 libexpat.so.1 中定义并具有链接时间引用

Mercurial 在 PULL 时发现非法名称

mercurial - 无法推送到 Codeplex 上的 Hg 项目

git - 无法从评论板访问git(Atlassian Stash)存储库

通过 IP 地址访问时 Apache httpd 请求错误 - 审查委员会