Show More
@@ -6,6 +6,29 b'' | |||
|
6 | 6 | # the GNU General Public License (version 2), incorporated herein by |
|
7 | 7 | # reference. |
|
8 | 8 | |
|
9 | '''zeroconf support for mercurial repositories | |
|
10 | ||
|
11 | Zeroconf enabled repositories will be announced in a network without the need | |
|
12 | to configure a server or a service. They can be discovered without knowing | |
|
13 | their actual IP address. | |
|
14 | ||
|
15 | To use the zeroconf extension add the following entry to your hgrc file: | |
|
16 | ||
|
17 | [extensions] | |
|
18 | hgext.zeroconf = | |
|
19 | ||
|
20 | To allow other people to discover your repository using run "hg serve" in your | |
|
21 | repository. | |
|
22 | ||
|
23 | $ cd test | |
|
24 | $ hg serve | |
|
25 | ||
|
26 | You can discover zeroconf enabled repositories by running "hg paths". | |
|
27 | ||
|
28 | $ hg paths | |
|
29 | zc-test = http://example.com:8000/test | |
|
30 | ''' | |
|
31 | ||
|
9 | 32 | import Zeroconf, socket, time, os |
|
10 | 33 | from mercurial import ui |
|
11 | 34 | from mercurial import extensions |
General Comments 0
You need to be logged in to leave comments.
Login now