1324: Unable to view Diff

prag*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Nov. 28, 2009
Viewing diff file is showing the following error instead of actual diffs.

=============

The file 
'yahoo/properties/finance/branches/sandbox/yug/trunk/yahoo/servers/streamer
/branches/sandbox/yug/trunk/yahoo/servers/streamer/StaticData.cc' (r144050) 
could not be found in the repository: File not found: revision 144050, path 
'/branches/sandbox/yug/trunk/yahoo/servers/streamer/branches/sandbox/yug/tr
unk/yahoo/servers/streamer/StaticData.cc'

Traceback (most recent call last):
  File "/home/y/share/reviewboard/diffviewer/views.py", line 82, in 
view_diff
    files = get_diff_files(diffset, None, interdiffset, highlighting)
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 599, in 
get_diff_files
    enable_syntax_highlighting)
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 518, in 
generate_files
    lambda: get_chunks(filediff.diffset,
  File "/home/y/share/reviewboard/djblets/util/misc.py", line 51, in 
cache_memoize
    data = lookup_callable()
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 521, in 
<lambda>
    enable_syntax_highlighting))
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 321, in 
get_chunks
    old = get_original_file(filediff)
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 228, in 
get_original_file
    data = cache_memoize(key, lambda: [tool.get_file(file, revision)])[0]
  File "/home/y/share/reviewboard/djblets/util/misc.py", line 51, in 
cache_memoize
    data = lookup_callable()
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 228, in 
<lambda>
    data = cache_memoize(key, lambda: [tool.get_file(file, revision)])[0]
  File "/home/y/share/reviewboard/scmtools/svn.py", line 107, in get_file
    raise FileNotFoundError(path, revision, str(e))
FileNotFoundError: The file 
'yahoo/properties/finance/branches/sandbox/yug/trunk/yahoo/servers/streamer
/branches/sandbox/yug/trunk/yahoo/servers/streamer/StaticData.cc' (r144050) 
could not be found in the repository: File not found: revision 144050, path 
'/branches/sandbox/yug/trunk/yahoo/servers/streamer/branches/sandbox/yug/tr
unk/yahoo/servers/streamer/StaticData.cc'
===========


Looks lie reviewboard is looking incorrectly for 

/branches/sandbox/yug/trunk/yahoo/servers/streamer/branches/sandbox/yug/tru
nk/yahoo/servers/streamer/StaticData.cc

instead of 
/branches/sandbox/yug/trunk/yahoo/servers/streamer/StaticData.cc
chipx86
#1 chipx86
How did you upload the diff?

It looks like you may have specified "branches/...." for the base diff path instead
of "/branch/...."
  • +NeedInfo
david
#2 david
  • -NeedInfo
    +Incomplete