Commit Graph

3 Commits

Author SHA1 Message Date
Matt Mackall
37121b48f9 zeroconf: advertise a proper hostname for _hg services 2008-10-12 15:21:08 -05:00
Matt Mackall
84b350fc7d zeroconf: use only first part of hostname for building local name 2008-10-12 15:21:08 -05:00
Matt Mackall
dd40e6aca7 zeroconf: initial implementation
This is a basic, hopefully portable, zeroconf extension.

Enabling it will allow hg paths/pull/push/clone/etc. to automatically
discover services advertised as "_hg".

And naturally, running hg serve will advertise itself as a "_hg"
service as well as a "_http" service for use by browsers.
2008-10-08 19:58:35 -05:00