312: Error when viewing the changes between two revisions.

hanse******@gmai***** (Google Code) (Is this you? Claim this profile.)
Dec. 7, 2007
What's the URL of the page containing the problem?
/r/41/diff/1-2/#index_header

What steps will reproduce the problem?
1. Create a review and publish it
2. Make a change to one of the files
3. Upload the new diff
4. View the review
5. on "Jump to revision:" select 1
6. on "Changes between r1 and:" select 2

What is the expected output? What do you see instead?
I expect the see only the differences from the first diff to the second
diff.  Instead I see an error with back-trace info.  See the additional
info below.


What operating system are you using? What browser?
OS X, Firefox

Please provide any additional information below.

The file '' (rPRE-CREATION) could not be found in the repository

Traceback (most recent call last):
  File "/usr/share/reviewboard/diffviewer/views.py", line 78, in view_diff
    files = get_diff_files(diffset, None, interdiffset, highlighting)
  File "/usr/share/reviewboard/diffviewer/diffutils.py", line 528, in
get_diff_files
    enable_syntax_highlighting)
  File "/usr/share/reviewboard/diffviewer/diffutils.py", line 468, in
generate_files
    lambda: get_chunks(filediff.diffset,
  File "/usr/share/reviewboard/djblets/util/misc.py", line 44, in cache_memoize
    data = lookup_callable()
  File "/usr/share/reviewboard/diffviewer/diffutils.py", line 471, in <lambda>
    enable_syntax_highlighting))
  File "/usr/share/reviewboard/diffviewer/diffutils.py", line 280, in
get_chunks
    new = get_patched_file(get_original_file(interfilediff), interfilediff)
  File "/usr/share/reviewboard/diffviewer/diffutils.py", line 185, in
get_original_file
    return cache_memoize(key, lambda: [tool.get_file(file, revision)])[0]
  File "/usr/share/reviewboard/djblets/util/misc.py", line 44, in cache_memoize
    data = lookup_callable()
  File "/usr/share/reviewboard/diffviewer/diffutils.py", line 185, in <lambda>
    return cache_memoize(key, lambda: [tool.get_file(file, revision)])[0]
  File "/usr/share/reviewboard/scmtools/svn.py", line 53, in get_file
    self.__normalize_revision(revision))
  File "/usr/share/reviewboard/scmtools/svn.py", line 113, in
__normalize_revision
    raise FileNotFoundError('', revision)
FileNotFoundError: The file '' (rPRE-CREATION) could not be found in the
repository
chipx86
#1 chipx86
This should now be fixed in r1053. Please reopen if you continue to experience it.
  • +Fixed