@staticmethod<EOL><INDENT>def chomp_protocol(url):<DEDENT>
if '<STR_LIT:+>' in url:<EOL><INDENT>url = url.split('<STR_LIT:+>', <NUM_LIT:1>)[<NUM_LIT:1>]<EOL><DEDENT>scheme, netloc, path, query, frag = urlparse.urlsplit(url)<EOL>rev = None<EOL>if '<STR_LIT:@>' in path:<EOL><INDENT>path, rev = path.rsplit('<STR_LIT:@>', <NUM_LIT:1>)<EOL><DEDENT>url = urlparse.urlunsplit((scheme, netloc, path, query, '<STR_LIT>'))<EOL>if url.startswith('<STR_LIT>'):<EOL><INDENT>url = url.replace('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>elif '<STR_LIT>' not in url:<EOL><INDENT>assert '<STR_LIT>' not in url<EOL>url = url.replace('<STR_LIT>', '<STR_LIT>')<EOL>url = url.replace('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>return url<EOL>
Return clean VCS url from RFC-style url

        :param url: url
        :type url: str
        :rtype: str
        :returns: url as VCS software would accept it
        :seealso: #14