Comment #1 on issue 1065 by vesterbaek: post-review file moved and modified  
to added dir
http://code.google.com/p/reviewboard/issues/detail?id=1065

OOps, a bit of copy-paste error after step 7 :).
Should have said:
The diff viewer fails to generate a diff for newdir/settings:

/trunk/reviewboard/settings.py
Diff currently unavailable.
Error: The patch to '/trunk/reviewboard/newdir/settings.py' didn't apply  
cleanly. The
temporary files have been left in '/tmp/reviewboard.W1fraQ' for debugging  
purposes.
`patch` returned: patching file /tmp/reviewboard.W1fraQ/tmphfd4NX Hunk #1  
FAILED at
16. 1 out of 1 hunk FAILED -- saving rejects to file
/tmp/reviewboard.W1fraQ/tmphfd4NX-new.rej
Details
Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-
py2.5.egg/reviewboard/diffviewer/views.py", line 213, in view_diff_fragment
     file = get_requested_diff_file()
   File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-
py2.5.egg/reviewboard/diffviewer/views.py", line 189, in  
get_requested_diff_file
     get_chunks)
   File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-
py2.5.egg/reviewboard/diffviewer/diffutils.py", line 620, in get_diff_files
     large_data=True)
   File "/usr/lib/python2.5/site-packages/Djblets-0.5beta1-
py2.5.egg/djblets/util/misc.py", line 143, in cache_memoize
     data = lookup_callable()
   File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-
py2.5.egg/reviewboard/diffviewer/diffutils.py", line 619, in <lambda>
     enable_syntax_highlighting),
   File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-
py2.5.egg/reviewboard/diffviewer/diffutils.py", line 342, in get_chunks
     new = get_patched_file(old, filediff)
   File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-
py2.5.egg/reviewboard/diffviewer/diffutils.py", line 258, in  
get_patched_file
     return patch(filediff.diff, buffer, filediff.dest_file)
   File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0beta2-
py2.5.egg/reviewboard/diffviewer/diffutils.py", line 127, in patch
     (filename, tempdir, patch_output))
Exception: The patch to '/trunk/reviewboard/newdir/settings.py' didn't  
apply cleanly.
The temporary files have been left in '/tmp/reviewboard.W1fraQ' for  
debugging
purposes.
`patch` returned: patching file /tmp/reviewboard.W1fraQ/tmphfd4NX
Hunk #1 FAILED at 16.
1 out of 1 hunk FAILED -- saving rejects to file  
/tmp/reviewboard.W1fraQ/tmphfd4NX-
new.rej




--
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 
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