Pass on base_commit_id to hosting services for file lookups.

Review Request #4415 — Created Aug. 10, 2013 and submitted

Information

Review Board
release-1.7.x

Reviewers

Pass on base_commit_id to hosting services for file lookups.

The base_commit_id is now passed on to the get_file/get_file_exists
functions in hosting services, so that they may make use of it when
fetching file data.

It's not passed on to SCMTools, since we currently have no need there,
but it can be added later if needed.

This, combined with some upcoming changes, will allow us to support
services like Beanstalk and BitBucket for Git.
Unit tests pass.

Tested manually with the upcoming Beanstalk change.
Description From Last Updated

Col: 19 E127 continuation line over-indented for visual indent

reviewbotreviewbot

local variable 'data' is assigned to but never used

reviewbotreviewbot
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/scmtools/models.py
        reviewboard/scmtools/hg.py
        reviewboard/scmtools/localfile.py
        reviewboard/scmtools/errors.py
        reviewboard/diffviewer/tests.py
        reviewboard/diffviewer/diffutils.py
        reviewboard/scmtools/tests.py
        reviewboard/diffviewer/managers.py
        reviewboard/scmtools/svn.py
      Ignored Files:
    
    
  2. reviewboard/scmtools/errors.py (Diff revision 1)
     
     
    Show all issues
    Col: 19
     E127 continuation line over-indented for visual indent
    
  3. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/scmtools/models.py
        reviewboard/scmtools/hg.py
        reviewboard/scmtools/localfile.py
        reviewboard/scmtools/errors.py
        reviewboard/diffviewer/tests.py
        reviewboard/diffviewer/diffutils.py
        reviewboard/scmtools/tests.py
        reviewboard/diffviewer/managers.py
        reviewboard/scmtools/svn.py
      Ignored Files:
    
    
  2. reviewboard/scmtools/tests.py (Diff revision 1)
     
     
    Show all issues
     local variable 'data' is assigned to but never used
    
  3. 
      
chipx86
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/scmtools/models.py
        reviewboard/scmtools/hg.py
        reviewboard/scmtools/localfile.py
        reviewboard/scmtools/errors.py
        reviewboard/diffviewer/tests.py
        reviewboard/diffviewer/diffutils.py
        reviewboard/scmtools/tests.py
        reviewboard/diffviewer/managers.py
        reviewboard/scmtools/svn.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/scmtools/models.py
        reviewboard/scmtools/hg.py
        reviewboard/scmtools/localfile.py
        reviewboard/scmtools/errors.py
        reviewboard/diffviewer/tests.py
        reviewboard/diffviewer/diffutils.py
        reviewboard/scmtools/tests.py
        reviewboard/diffviewer/managers.py
        reviewboard/scmtools/svn.py
      Ignored Files:
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed