docs: def chomp_protocol(url):
          """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
          """
          if '+' in url:
              url = url.split('+', 1)[1]
          scheme, netloc, path, query, frag = urlparse.urlsplit(url)
          rev = None
          if '@' in path:
              path, rev = path.rsplit('@', 1)
          url = urlparse.urlunsplit((scheme, netloc, path, query, ''))
          if url.startswith('ssh://git@github.com/'):
              url = url.replace('ssh://', 'git+ssh://')
          elif '://' not in url:
              assert 'file:' not in url
              url = url.replace('git+', 'git+ssh://')
              url = url.replace('ssh://', '')
          return url