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
SCMToolclass for Mercurial. The code has been updated to be more
robust and useurlparseto extract the scheme from the URL.
- Attempted to create a SSH repository; it failed as expected.
- Ran unit tests.
Tool: PEP8 Style Checker Processed Files: reviewboard/scmtools/tests.py reviewboard/scmtools/hg.py