code: def uninstall(self, xmlpath):
          
          from os import path
          fullpath = path.abspath(path.expanduser(xmlpath))
          if fullpath in self.installed:
              repo = RepositorySettings(self, fullpath)
              if repo.name.lower() in self.repositories:
                  del self.repositories[repo.name.lower()]
              if repo.name.lower() in self.archive:
                  del self.archive[repo.name.lower()]
                  self._save_archive()
              self.installed.remove(fullpath)
              self._save_installed()
          else:
              warn("The repository at {} was not installed to begin with.".format(fullpath))
docs: Uninstalls the repository with the specified XML path from the server.