##// END OF EJS Templates
zeroconf: advertise a proper hostname for _hg services
Matt Mackall -
r7088:58b7b5ef default
parent child Browse files
Show More
@@ -65,6 +65,7 b' def publish(name, desc, path, port):'
65 # advertise to Mercurial clients
65 # advertise to Mercurial clients
66 svc = Zeroconf.ServiceInfo('_hg._tcp.local.',
66 svc = Zeroconf.ServiceInfo('_hg._tcp.local.',
67 name + '._hg._tcp.local.',
67 name + '._hg._tcp.local.',
68 server = host,
68 port = port,
69 port = port,
69 properties = {'description': desc,
70 properties = {'description': desc,
70 'path': "/" + path},
71 'path': "/" + path},
General Comments 0
You need to be logged in to leave comments. Login now