Fetch patches from individual commits

Review Request #7133 — Created March 28, 2015 and submitted

Information

RBTools
dvcs
45149a3...

Reviewers

The patch fetching behaviour of both the DiffResource and the
FileDiffResource has been refactored out into the
BasePatchResource. This base class is used for the
DiffCommitResource to fetch patch files for individual commits.

Ran unit tests.

Manually printed the contents of a patch from the
DiffCommitResource and verified it was correct.

Description From Last Updated

If you have a docstring you don't need pass here.

daviddavid

Same.

daviddavid
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/api/resource.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/api/resource.py
    
    
  2. 
      
david
  1. 
      
  2. rbtools/api/resource.py (Diff revision 1)
     
     
    Show all issues

    If you have a docstring you don't need pass here.

  3. rbtools/api/resource.py (Diff revision 1)
     
     
     
    Show all issues

    Same.

  4. 
      
brennie
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/api/resource.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/api/resource.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to dvcs (9a3377e)