grim/hgkeeper

user mercurial.templater as a better way to find the templates directory
# On Demand
You can run HGKeeper on demand to integrate it directly with an OpenSSH Server.
This is accomplished by having a local user on the host, typically named `hg`,
and telling the OpenSSH server to do something specific when that user logs in.
HGKeeper will also be ran via this user and all of the repositories will belong
to them in the filesystem.
{%
include-markdown "../includes/ondemand/installing.md"
heading-offset=1
%}
{%
include-markdown "../includes/hguser.md"
heading-offset=1
%}
{%
include-markdown "../includes/ondemand/adminrepository.md"
heading-offset=1
%}
{%
include-markdown "../includes/ondemand/openssh.md"
heading-offset=1
%}
## Testing
You should now be able to clone the `hgkeeper` administration repo through
your normal OpenSSH Server. You can verify this by trying to clone the
`hgkeeper` administration repository with the following command replacing
`<my hostname>` with the actual hostname of your server.
```
hg clone ssh://<my hostname>/hgkeeper
```
If the repository cloned, you are good to go!
If that didn't work, be sure to double check all of your configuration.