Mercurial clone over ssh

So you want to clone a mercurial repository of over SSH and you try the following command:

    hg clone ssh://user@host/path/to/repo

However you get the following message:

    There is no Mercurial repository here (.hg not found)!

The solution is have use ‘//’ when specifying the path to your repository:

    hg clone ssh://user@host//path//to//repo