Parses a <repo> tag to update settings on this Repository instance.
        
        :arg xml: the <repo> tag XMLElement.

def _parse_repo(self, xml):
        """Parses a <repo> tag to update settings on this Repository instance.
        
        :arg xml: the <repo> tag XMLElement.
        """
        self.name = get_attrib(xml, "name", "repo")
        self.username = get_attrib(xml, "user", "repo")
        self.apikey = get_attrib(xml, "apikey", "repo")
        self.organization = get_attrib(xml, "organization")
        self.staging = get_attrib(xml, "staging", "repo")