Issue 668: View Diff reports FileNotFound due to incorrect revision
http://code.google.com/p/reviewboard/issues/detail?id=668

New issue report by [EMAIL PROTECTED]:

What's the URL of the page containing the problem?


What steps will reproduce the problem?
1. Create a patch file
2. Create a review request
3. Select View Diff

What is the expected output? What do you see instead?
When I select 'View Diff' for a patch file that was created by TortoiseSVN
V1.5.3 running on Windows 2003, I see the following error:

The file 'management/trunk/Mgmt
Api//src/com/vc/nt/mgmt/vmmgr/script/control/client/startup1.cmd' (r1164)
could not be found in the repository: PROPFIND request failed on
'/repos/nt/!svn/bc/1164/management/trunk/Mgmt%20Api/src/com/vc/nt/mgmt/vmmgr/script/control/client/startup1.cmd'
'/repos/nt/!svn/bc/1164/management/trunk/Mgmt%20Api/src/com/vc/nt/mgmt/vmmgr/script/control/client/startup1.cmd'
path not found

Traceback (most recent call last):
   File "/opt/reviewboard/diffviewer/views.py", line 82, in view_diff
     files = get_diff_files(diffset, None, interdiffset, highlighting)
   File "/opt/reviewboard/diffviewer/diffutils.py", line 594, in  
get_diff_files
     enable_syntax_highlighting)
   File "/opt/reviewboard/diffviewer/diffutils.py", line 513, in  
generate_files
     lambda: get_chunks(filediff.diffset,
   File "/opt/reviewboard/djblets/util/misc.py", line 47, in cache_memoize
     data = lookup_callable()
   File "/opt/reviewboard/diffviewer/diffutils.py", line 516, in <lambda>
     enable_syntax_highlighting))
   File "/opt/reviewboard/diffviewer/diffutils.py", line 316, in get_chunks
     old = get_original_file(filediff)
   File "/opt/reviewboard/diffviewer/diffutils.py", line 223, in
get_original_file
     data = cache_memoize(key, lambda: [tool.get_file(file, revision)])[0]
   File "/opt/reviewboard/djblets/util/misc.py", line 47, in cache_memoize
     data = lookup_callable()
   File "/opt/reviewboard/diffviewer/diffutils.py", line 223, in <lambda>
     data = cache_memoize(key, lambda: [tool.get_file(file, revision)])[0]
   File "/opt/reviewboard/scmtools/svn.py", line 106, in get_file
     raise FileNotFoundError(path, revision, str(e))
FileNotFoundError: The file 'management/trunk/Mgmt
Api//src/com/vc/nt/mgmt/vmmgr/script/control/client/startup1.cmd' (r1164)
could not be found in the repository: PROPFIND request failed on
'/repos/nt/!svn/bc/1164/management/trunk/Mgmt%20Api/src/com/vc/nt/mgmt/vmmgr/script/control/client/startup1.cmd'
'/repos/nt/!svn/bc/1164/management/trunk/Mgmt%20Api/src/com/vc/nt/mgmt/vmmgr/script/control/client/startup1.cmd'
path not found


What operating system are you using? What browser?
Windows 2003
IE 7.0.5730.13

Please provide any additional information below.
  The file in question (startup1.cmd) is at R1162 - tho the repository is at
R1164, which is the version in the error message.


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

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to