Patchwork D7302: zeroconf: improve the extension's documentation

login
register
mail settings
Submitter phabricator
Date Nov. 7, 2019, 10:50 a.m.
Message ID <differential-rev-PHID-DREV-shktkq2a45ldxbeevc6s-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42898/
State Superseded
Headers show

Comments

phabricator - Nov. 7, 2019, 10:50 a.m.
jcristau created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7302

AFFECTED FILES
  hgext/zeroconf/__init__.py

CHANGE DETAILS




To: jcristau, #hg-reviewers
Cc: mercurial-devel
phabricator - Nov. 7, 2019, 10:55 a.m.
jcristau added a comment.


  FWIW Debian's been carrying this patch for 10 years.  Submitting it now as suggested by Augie, so I can drop it downstream whether it's accepted or not. :)

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7302/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7302

To: jcristau, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/zeroconf/__init__.py b/hgext/zeroconf/__init__.py
--- a/hgext/zeroconf/__init__.py
+++ b/hgext/zeroconf/__init__.py
@@ -6,9 +6,9 @@ 
 # GNU General Public License version 2 or any later version.
 '''discover and advertise repositories on the local network
 
-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.
+The zeroconf extension will advertise :hg:`serve` instances over
+DNS-SD so that they can be discovered using the :hg:`paths` command
+without knowing the server's IP address.
 
 To allow other people to discover your repository using run
 :hg:`serve` in your repository::