Commit Graph

28 Commits

Author SHA1 Message Date
Patrick Mezard
01b7d3fa6f Merge with crew-stable 2009-09-13 17:53:09 +02:00
Patrick Mezard
54f5a65629 zeroconf: fix hgweb published URLs (issue1819) 2009-09-13 17:23:47 +02:00
Martin Geisler
a2b37975a1 zeroconf: wrap docstrings at 70 characters 2009-07-26 02:03:35 +02:00
Martin Geisler
5aa846e94b zeroconf: use reST syntax for literal blocks 2009-07-23 00:26:42 +02:00
Martin Geisler
69ea0fdaa1 zeroconf: wrapped docstrings at 78 characters 2009-07-07 23:54:42 +02:00
Cédric Duval
dbcec5595d extensions: improve the consistency of synopses
Trying as much as possible to consistently:
 - use a present tense predicate followed by a direct object
 - verb referring directly to the functionality provided
   (ie. not "add command that does this" but simple "do that")
 - keep simple and to the point, leaving details for the long help
   (width is tight, possibly even more so for translations)

Thanks to timeless, Martin Geisler, Rafael Villar Burke, Dan Villiom
Podlaski Christiansen and others for the helpful suggestions.
2009-06-22 15:48:08 +02:00
Cédric Duval
0caffe860f help: remove per-extension paragraph on how to enable it
The central place to find this information is the "extensions" help topic.
2009-06-20 20:57:13 +02:00
timeless
3ccbc308d0 Spell Mercurial as a proper noun 2009-06-09 09:25:31 -04:00
Martin Geisler
c1cdde97f7 zeroconf: remove unwarranted execute bit 2009-05-07 19:08:25 +02:00
Alexander Solovyov
c4db82ff74 zeroconf: guess ip for Zeroconf
Zeroconf() is actually pretty dumb in guessing IPs and in case of
socket.gaierror will not guess right IP.
2009-04-27 21:33:39 +03:00
Martin Geisler
750183bdad updated license to be explicit about GPL version 2 2009-04-26 01:08:54 +02:00
Matt Mackall
ba8099cfb8 hgweb: kill parentui references 2009-04-26 16:50:43 -05:00
Matt Mackall
be7d59ab85 ui: kill most users of parentui name and arg, replace with .copy() 2009-04-26 16:50:43 -05:00
Alexander Solovyov
e3fac599e8 zeroconf: don't fail on non-local names 2009-04-13 21:23:52 +03:00
Martin Geisler
1b1c4a29cf zeroconf: word-wrap help texts at 70 characters 2009-04-04 23:20:10 +02:00
Peter Arrenbrecht
8c3658a497 cleanup: whitespace cleanup 2009-03-23 13:13:27 +01:00
Peter Arrenbrecht
a2d3e23eef cleanup: drop variables for unused return values
They are unnecessary. I did leave them in localrepo.py where there is
something like:

  _junk = foo()
  _junk = None

to free memory early. I don't know if just `foo()` will free the return
value as early.
2009-03-23 13:13:02 +01:00
Alexander Solovyov
ebb0c7d950 zeroconf: advertise repositories with hostname 2009-03-05 12:58:13 +02:00
Alexander Solovyov
505e1dc92b zeroconf: don't allow ipv6 addresses 2009-02-15 20:18:29 +02:00
David Soria Parra
d577bf3e66 zeroconf: add extension documentation 2009-01-05 20:49:12 +01:00
Augie Fackler
1d62e6146e zeroconf: Don't break serve if no internet connection is present. 2008-10-29 18:54:46 -05:00
Benoit Boissinot
0ea9205c93 fix zeroconf handling for hgwebdir (error found by pychecker) 2008-10-28 20:23:22 +01:00
Benoit Boissinot
ea7fe6dacc remove unused variables 2008-10-28 19:25:26 +01:00
Matt Mackall
6ccb6c0637 zeroconf: don't break on hg showconfig 2008-10-24 11:35:47 -05:00
Matt Mackall
e564d351f3 extensions: use new wrapper functions 2008-10-22 17:34:52 -05:00
Matt Mackall
37121b48f9 zeroconf: advertise a proper hostname for _hg services 2008-10-12 15:21:08 -05:00
Matt Mackall
84b350fc7d zeroconf: use only first part of hostname for building local name 2008-10-12 15:21:08 -05:00
Matt Mackall
dd40e6aca7 zeroconf: initial implementation
This is a basic, hopefully portable, zeroconf extension.

Enabling it will allow hg paths/pull/push/clone/etc. to automatically
discover services advertised as "_hg".

And naturally, running hg serve will advertise itself as a "_hg"
service as well as a "_http" service for use by browsers.
2008-10-08 19:58:35 -05:00