I have a Linux server that will be hosting multiple mercurial repositories over SSH.
All the repositories lie in the folder HG_HOME/repos, where HG_HOME ist the home directory of the hg user.
The following command for pull works:
The following is not an exact solution, but the schemes extension (which comes with Mercurial) may be a usable alternative. It allows you to create your own URL schemes, for example:
[extensions] schemes= [schemes] my = ssh://email@example.com/repos/
This allows you to then use the
my URL scheme, e.g.:
hg pull my://REPO_NAME