A zeroconf proof of concept

Johannes Stezenbach js at sig21.net
Mon Jun 30 14:35:56 CDT 2008


On Mon, Jun 30, 2008 at 02:14:53PM -0500, Matt Mackall wrote:
> On Mon, 2008-06-30 at 14:06 -0500, Augie Fackler wrote:
> > 
> > One thing I've noticed is that you're registering as an http server.
> 
> Seems only sensible: we are an http server.
> 
> > Maybe it'd be nicer to register as a custom server type? the zc-ified  
> > hg paths was showing me some of the HP printers in the office as being  
> > hg repos.
> 
> That's tricky. We could add some magic property to indicate we're a
> Mercurial server. But then we have to think about the use case of people
> who serve their repos with a proper web server and want to publish
> zeroconf records that hg understands without going through hg serve.

Probably hg should advertise itself as both a http and a mercurial
server. However hg client should only look for mercurial servers.

Johannes


More information about the Mercurial-devel mailing list