Mercurial > hg
diff hgext/zeroconf/__init__.py @ 11504:6bfb76cb8873 stable
zeroconf: small fixes in docstring
Use reST role for consistency, import small part of Debian's
proposed_upstream__correct-zeroconf-doc patch from
http://svn.debian.org/viewsvn/python-apps/packages/mercurial/trunk/debian/patches/
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 03 Jul 2010 01:56:09 +0200 |
parents | 938fefb57db5 |
children | 49463314c24f |
line wrap: on
line diff
--- a/hgext/zeroconf/__init__.py Sat Jul 03 02:03:55 2010 +0200 +++ b/hgext/zeroconf/__init__.py Sat Jul 03 01:56:09 2010 +0200 @@ -7,17 +7,18 @@ '''discover and advertise repositories on the local network -Zeroconf enabled repositories will be announced in a network without +Zeroconf-enabled repositories will be announced in a network without the need to configure a server or a service. They can be discovered without knowing their actual IP address. -To allow other people to discover your repository using run "hg serve" -in your repository:: +To allow other people to discover your repository using run +:hg:`serve` in your repository:: $ cd test $ hg serve -You can discover zeroconf enabled repositories by running "hg paths":: +You can discover Zeroconf-enabled repositories by running +:hg:`paths`:: $ hg paths zc-test = http://example.com:8000/test