I have Mercurial running on my machine, and I want to keep a master repository on a machine that I access over SSH. The machine where I want to keep the master repository does not have Mercurial installed, and I cannot install it. I tried to create the repository on the remote machine using hg push, and I got a message about the remote machine not having Mercurial installed:
$ hg push ssh://user@exaple.com/repo
user@exaple.com's password:
remote: bash: hg: command not found
abort: no suitable response from remote hg!
I there any way I can make Mercurial treat this SSH url like a filesystem location and clone to it instead? Once it's set up, how can I push to it without relying on a remote copy of Mercurial?