Prevent repos being created with Hg over SSH
Review Request #8158 — Created May 12, 2016 and submitted
Mercurial doesn't allow SSH urls, so we explicitly prevent them in the
SCMTool
class for Mercurial. The code has been updated to be more
robust and useurlparse
to extract the scheme from the URL.
- Attempted to create a SSH repository; it failed as expected.
- Ran unit tests.