hgext/zeroconf/__init__.py
changeset 9218 d3db87d68337
parent 9078 4e04eabc19d2
child 9276 51e85071caf0
equal deleted inserted replaced
9217:9cdb6964c3a3 9218:d3db87d68337
    10 Zeroconf enabled repositories will be announced in a network without the need
    10 Zeroconf enabled repositories will be announced in a network without the need
    11 to configure a server or a service. They can be discovered without knowing
    11 to configure a server or a service. They can be discovered without knowing
    12 their actual IP address.
    12 their actual IP address.
    13 
    13 
    14 To allow other people to discover your repository using run "hg serve" in your
    14 To allow other people to discover your repository using run "hg serve" in your
    15 repository.
    15 repository::
    16 
    16 
    17  $ cd test
    17   $ cd test
    18  $ hg serve
    18   $ hg serve
    19 
    19 
    20 You can discover zeroconf enabled repositories by running "hg paths".
    20 You can discover zeroconf enabled repositories by running "hg paths"::
    21 
    21 
    22  $ hg paths
    22   $ hg paths
    23  zc-test = http://example.com:8000/test
    23   zc-test = http://example.com:8000/test
    24 '''
    24 '''
    25 
    25 
    26 import Zeroconf, socket, time, os
    26 import Zeroconf, socket, time, os
    27 from mercurial import ui
    27 from mercurial import ui
    28 from mercurial import extensions
    28 from mercurial import extensions