Change Summary:
Rebased patch against master. Added screenshots.
Testing Done: |
|
||||||
---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+12 -10) |
||||||
Screenshots: |
|
Review Request #3324 — Created Sept. 7, 2012 and submitted
Catch exception when first file diff fails to apply. This makes the view diff display the "Diff currently unavailable" error message instead of just throwing out the traceback onto screen.
Tested on local 1.7 beta 3 (dev) server.
Rebased patch against master. Added screenshots.
Testing Done: |
|
||||||
---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+12 -10) |
||||||
Screenshots: |
|
reviewboard/diffviewer/views.py (Diff revision 2) |
---|
Unfortunately, this won't work in Python 2.4. It'll need to be changed to do the work that's in the else: clause without using an else: clause.