hg serve without web interface

Arne Babenhauserheide arne_bab at web.de
Thu Feb 5 08:02:49 CST 2009


Hi, 

Is it possible to start "hg serve" without a web interface, for example to 
create a simple push server which doesn't show its content and also doesn't 
grant pull access? 

I would have expected the config 
[web]
style = None

to do this, but that just causes a RuntimeException. 

This isn't the only option I can think of, and I'm not sure if it's very 
elegant or intuitive for first-time users, though. 

Any easy way to create a purely push backup repo via "hg serve" would be nice. 
It would provide another use case where Mercurial is just practical. 

Best wishes, 
Arne
-- 
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the 
history of free software.
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)

-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20090205/3a6f6554/attachment.pgp 


More information about the Mercurial mailing list