tools/bisect-builds.py
def _SaveBucketToCache():
      """Save the list of revisions and the git-svn mappings to a file.
      The list of revisions is assumed to be sorted."""
      if self.use_local_cache:
        cache[cache_dict_key] = revlist_all
        cache['githash_svn_dict'] = self.githash_svn_dict
        try:
          with open(cache_filename, 'w') as cache_file:
            json.dump(cache, cache_file)
          print('Saved revisions %d-%d to %s' %
                (revlist_all[0], revlist_all[-1], cache_filename))
        except EnvironmentError:
          pass
Save the list of revisions and the git-svn mappings to a file.
      The list of revisions is assumed to be sorted.
Save the list of revisions and the git-svn mappings to a file.
The list of revisions is assumed to be sorted.
Save the list of revisions and the git - svn mappings to a file . The list of revisions is assumed to be sorted .
def _SaveBucketToCache():
      if self.use_local_cache:
        cache[cache_dict_key] = revlist_all
        cache['githash_svn_dict'] = self.githash_svn_dict
        try:
          with open(cache_filename, 'w') as cache_file:
            json.dump(cache, cache_file)
          print('Saved revisions %d-%d to %s' %
                (revlist_all[0], revlist_all[-1], cache_filename))
        except EnvironmentError:
          pass
def _SaveBucketToCache ( ) : if self . use_local_cache : cache [ cache_dict_key ] = revlist_all cache [ 'githash_svn_dict' ] = self . githash_svn_dict try : with open ( cache_filename , 'w' ) as cache_file : json . dump ( cache , cache_file ) print ( 'Saved revisions %d-%d to %s' % ( revlist_all [ 0 ] , revlist_all [ - 1 ] , cache_filename ) ) except EnvironmentError : pass
Save the list of revisions and the git-svn mappings to a file.
Save the list of revisions and the git - svn mappings to a file .
"""Save the list of revisions and the git-svn mappings to a file.
      The list of revisions is assumed to be sorted."""