Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2445 by vayira...@gmail.com: Unable to 'View Diff' when using with RhodeCode for mercurial repositories
http://code.google.com/p/reviewboard/issues/detail?id=2445

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*       reviewbo...@googlegroups.com                             *

What version are you running?
Reviewboard version: 1.6.3
Repository: Mercurial Repository with the latest RhodeCode for managing the repositories.
OS: Ubuntu 11.04

What's the URL of the page containing the problem?
Its an internal Reviewboard site, so not accessible from outside the LAN.

What steps will reproduce the problem?
1.  Replace hgweb.cgi with RhodeCode for managing mercurial repositories
2. Created user 'reviewboard' with password 'reviewpass' and added the credentials to Repositories in the Admin Panel. 3. Post Review works, but when trying to View Diff I'm getting the output as stated below.

What is the expected output? What do you see instead?
[code]
The patch to 'index.xhtml' didn't apply cleanly. The temporary files
have been left in '/tmp/reviewboard.uV5elT' for debugging purposes.
`patch` returned: patching file /tmp/reviewboard.uV5elT/tmplXUpmn Hunk
#1 FAILED at 148. Hunk #2 FAILED at 160. Hunk #3 FAILED at 188. Hunk
#4 FAILED at 203. Hunk #5 FAILED at 218. Hunk #6 FAILED at 263. Hunk
#7 FAILED at 398. Hunk #8 FAILED at 409. Hunk #9 FAILED at 429. 9 out
of 9 hunks FAILED -- saving rejects to file /tmp/reviewboard.uV5elT/
tmplXUpmn-new.rej

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.3-
py2.7.egg/reviewboard/diffviewer/views.py", line 151, in view_diff
    interdiffset, highlighting, True)
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.3-
py2.7.egg/reviewboard/diffviewer/diffutils.py", line 1071, in
get_diff_files
    large_data=True)
  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.6.15-
py2.7.egg/djblets/util/misc.py", line 157, in cache_memoize
    data = lookup_callable()
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.3-
py2.7.egg/reviewboard/diffviewer/diffutils.py", line 1070, in <lambda>
    enable_syntax_highlighting)),
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.3-
py2.7.egg/reviewboard/diffviewer/diffutils.py", line 551, in
get_chunks
    old = get_original_file(filediff)
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.3-
py2.7.egg/reviewboard/diffviewer/diffutils.py", line 368, in
get_original_file
    data = patch(filediff.parent_diff, data, filediff.source_file)
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.3-
py2.7.egg/reviewboard/diffviewer/diffutils.py", line 242, in patch
    (filename, tempdir, patch_output))
Exception: The patch to 'index.xhtml' didn't apply cleanly. The
temporary files have been left in '/tmp/reviewboard.uV5elT' for
debugging purposes.
`patch` returned: patching file /tmp/reviewboard.uV5elT/tmplXUpmn
Hunk #1 FAILED at 148.
Hunk #2 FAILED at 160.
Hunk #3 FAILED at 188.
Hunk #4 FAILED at 203.
Hunk #5 FAILED at 218.
Hunk #6 FAILED at 263.
Hunk #7 FAILED at 398.
Hunk #8 FAILED at 409.
Hunk #9 FAILED at 429.
9 out of 9 hunks FAILED -- saving rejects to file /tmp/
reviewboard.uV5elT/tmplXUpmn-new.rej
[/code]

What operating system are you using? What browser?


Please provide any additional information below.


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to