Seperation of hg cilent server ?
Thomas Arendsen Hein
thomas at intevation.de
Tue Dec 12 18:09:36 UTC 2006
* T.J. Yang <tj_yang at hotmail.com> [20061212 16:09]:
> >From my current reading looks like hg come with both client and server.
> Is it possible to separate the two ?
> I like to distribute only hg cilent to every deployed machines.
This is not officially supported.
You could either remove the mercurial/hgweb directory, which will
give ugly tracebacks if people try to use the server mode. Not only
the http server will be affected, but doing push over ssh to a hg
without server support, too.
But all local operations and pulling/pushing from/to remote (full)
servers should work fine.
The other option would be to disable the parts of the 'hg serve'
command that you don't need.
But of course all this is just a child safety lock. If you don't
trust your users, you have other problems.
For what purpose do you need such a setup?
Thomas
--
Email: thomas at intevation.de
http://intevation.de/~thomas/
More information about the Mercurial
mailing list