jenkinsci/mercurial-plugin — pull request #57 by vluoto (2014-03-17 18:40:45+00:00)
Title: Ignore scheme and port when loose matching clone URLs

This allows users to hit `/notifyCommit` with clone URLs that don't necessarily need to match the protocol (nor port) in the clone URLs configured in the targeted Jenkins jobs.

This also happens to be how the Git Plugin [behaves](https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/hudson/plugins/git/GitStatus.java#L119-L127).