hgext/zeroconf/__init__.py
branchstable
changeset 11504 6bfb76cb8873
parent 11340 938fefb57db5
child 12076 49463314c24f
equal deleted inserted replaced
11503:227b9f13db13 11504:6bfb76cb8873
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2 or any later version.
     6 # GNU General Public License version 2 or any later version.
     7 
     7 
     8 '''discover and advertise repositories on the local network
     8 '''discover and advertise repositories on the local network
     9 
     9 
    10 Zeroconf enabled repositories will be announced in a network without
    10 Zeroconf-enabled repositories will be announced in a network without
    11 the need to configure a server or a service. They can be discovered
    11 the need to configure a server or a service. They can be discovered
    12 without knowing their actual IP address.
    12 without knowing their actual IP address.
    13 
    13 
    14 To allow other people to discover your repository using run "hg serve"
    14 To allow other people to discover your repository using run
    15 in your repository::
    15 :hg:`serve` in your 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
       
    21 :hg:`paths`::
    21 
    22 
    22   $ hg paths
    23   $ hg paths
    23   zc-test = http://example.com:8000/test
    24   zc-test = http://example.com:8000/test
    24 '''
    25 '''
    25 
    26