无法在评论板中看到差异。在发布评论时看到以下错误。但在审查委员会门户中,我可以看到该消息。但看不到差异。
[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/