parameters: (start, end, depot_name)
return_statement: return revisions
docstring: Fetches a list of revision dicts from gitiles.
  
    Make multiple requests to get multiple pages, if necessary.
docstring_summary: Fetches a list of revision dicts from gitiles.
docstring_tokens: Fetches a list of revision dicts from gitiles .
function: def _FetchRangeFromGitiles(start, end, depot_name):
    """Fetches a list of revision dicts from gitiles.
  
    Make multiple requests to get multiple pages, if necessary.
    """
    revisions = []
    url = _URL_TEMPLATE % (
        depot_map.DEPOT_PATH_MAP[depot_name], start, end, _PAGE_SIZE)
    current_page_url = url
    while True:
      response = urllib2.urlopen(current_page_url).read()
      response_json = response[len(_GITILES_PADDING):]  # Remove padding.
      response_dict = json.loads(response_json)
      revisions.extend(response_dict['log'])
      if 'next' not in response_dict:
        break
      current_page_url = url + '&s=' + response_dict['next']
    return revisions
function_tokens: def _FetchRangeFromGitiles ( start , end , depot_name ) : revisions = [ ] url = _URL_TEMPLATE % ( depot_map . DEPOT_PATH_MAP [ depot_name ] , start , end , _PAGE_SIZE ) current_page_url = url while True : response = urllib2 . urlopen ( current_page_url ) . read ( ) response_json = response [ len ( _GITILES_PADDING ) : ] # Remove padding. response_dict = json . loads ( response_json ) revisions . extend ( response_dict [ 'log' ] ) if 'next' not in response_dict : break current_page_url = url + '&s=' + response_dict [ 'next' ] return revisions