def ResetFetch(self, mirror=False):
    if mirror:
      dst = 'refs/heads/*'
    else:
      dst = 'refs/remotes/%s/*' % self.name
    self.fetch = [RefSpec(True, 'refs/heads/*', dst)]
filter items in the dependency graph INPLACE based on the supplied requirements
dataset/ETHPy150Open android/tools_repo/git_config.py/Remote.ResetFetch--crossover with--dataset/ETHPy150Open anchor/make-magic/core/deptools.py/SimpleDependencyStrategy.filter_dependency_graph