无法在Review Board上查看mercurial repo的差异

时间:2013-11-26 12:43:30

标签: python mercurial review-board

我在Review Board服务器上配置了一个本地mercurial repo。 我还使用mercurial-reviewboard扩展程序生成审核请求,该工作正常。

我在查看差异审核请求时遇到问题。

我使用以下工具:

Review Board : 1.6.6
Apache 2.2
Mercurial 1.9

我注意到的一件事是,生成的临时文件最后没有-new 如下所述,文件tmppftuho存在但tmppftuho-new不存在

tmppftuho看起来与源文件完全相同。

以下是堆栈跟踪:

[Errno 2] No such file or directory: 'c:\\windows\\temp\\reviewboard.nq6s0i\\tmppftuho-new'

Traceback (most recent call last):
  File "E:\Python27\lib\site-packages\reviewboard\diffviewer\views.py", line 151, in view_diff
    interdiffset, highlighting, True)
  File "E:\Python27\lib\site-packages\reviewboard\diffviewer\diffutils.py", line 1072,     in get_diff_files
    large_data=True)
  File "E:\Python27\lib\site-packages\djblets\util\misc.py", line 157, in cache_memoize
data = lookup_callable()
  File "E:\Python27\lib\site-packages\reviewboard\diffviewer\diffutils.py", line 1071, in <lambda>
    enable_syntax_highlighting)),
  File "E:\Python27\lib\site-packages\reviewboard\diffviewer\diffutils.py", line 552, in get_chunks
    old = get_original_file(filediff)
  File "E:\Python27\lib\site-packages\reviewboard\diffviewer\diffutils.py", line 369, in get_original_file
    data = patch(filediff.parent_diff, data, filediff.source_file)
  File "E:\Python27\lib\site-packages\reviewboard\diffviewer\diffutils.py", line 245, in patch
    f = open(newfile, "r")
IOError: [Errno 2] No such file or directory: 'c:\\windows\\temp\\reviewboard.nq6s0i\\tmppftuho-new'

有什么建议吗? 提前致谢

0 个答案:

没有答案