Prevent repos being created with Hg over SSH

Review Request #8158 — Created May 12, 2016 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
3cbabd1...

Reviewers

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 use urlparse to extract the scheme from the URL.

  • Attempted to create a SSH repository; it failed as expected.
  • Ran unit tests.
    Loading...