def Link(self, name):
    """Update the repo metadata to use a different manifest.
    """
    self.Override(name)

    try:
      if os.path.lexists(self.manifestFile):
        os.remove(self.manifestFile)
      # os.symlink('manifests/%s' % name, self.manifestFile)
      portable.os_symlink('manifests/%s' % name, self.manifestFile)
    except __HOLE__ as e:
      raise ManifestParseError('cannot link manifest %s: %s' % (name, str(e)))
dataset/ETHPy150Open esrlabs/git-repo/manifest_xml.py/XmlManifest.Link