equal
deleted
inserted
replaced
63 server.registerService(svc) |
63 server.registerService(svc) |
64 |
64 |
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}, |
71 address = localip, weight = 0, priority = 0) |
72 address = localip, weight = 0, priority = 0) |
72 server.registerService(svc) |
73 server.registerService(svc) |