Support renamed files from GitHub in post-commit UI
Review Request #8577 — Created Dec. 16, 2016 and submitted
The GitHub client did not support generating the diff for a file renamed
in a change that was retrieved via the post-commit review UI. This has
been corrected. Additionally, the code was somewhat cleaned up to not
shadow thefileglobal. The unit test forget_changehas been
updated to add a case for renamed files.
Used the post-commit UI to create a new review request that contained a
renamed file. It worked as expected.
| Description | From | Last Updated | 
|---|---|---|
| 
       
        Can we get a unit test for this?  | 
      
        | 
      
- Description:
 - 
    
The GitHub client did not support generating the diff for a file renamed
in a change that was retrieved via the post-commit review UI. This has been corrected. Additionally, the code was somewhat cleaned up to not ~ shadow the fileglobal.~ shadow the fileglobal. The unit test forget_changehas been+ updated to add a case for renamed files.  - Commit:
 - 
    5c5db61715fc010b7e90c9308d98ec91a278ae7e66a109fddb6b37f8d907d47718c734d1f13405a4
 
 
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/github.py Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/github.py