Mercurial > hg
comparison mercurial/commands.py @ 50333:80784ac09460 stable
commands: correct documentation of hg serve’s --ipv6 option
When the --ipv6 option is given, the server doesn’t listen to a IPv4 socket.
This can be verified by running two servers, one with and one
without the option, which works fine.
I think that listening to both a IPv4 and a IPv6 socket would be better,
but given that the Python standard library class underlying the
HTTP server supports only one socket, this is not trivial.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Mon, 27 Mar 2023 06:24:44 +0200 |
parents | 9fc0d244a753 |
children | 771294224bf6 ba602ddcb296 |
comparison
equal
deleted
inserted
replaced
50332:3f5137543773 | 50333:80784ac09460 |
---|---|
6600 _(b'for remote clients (ADVANCED)'), | 6600 _(b'for remote clients (ADVANCED)'), |
6601 _(b'MODE'), | 6601 _(b'MODE'), |
6602 ), | 6602 ), |
6603 (b't', b'templates', b'', _(b'web templates to use'), _(b'TEMPLATE')), | 6603 (b't', b'templates', b'', _(b'web templates to use'), _(b'TEMPLATE')), |
6604 (b'', b'style', b'', _(b'template style to use'), _(b'STYLE')), | 6604 (b'', b'style', b'', _(b'template style to use'), _(b'STYLE')), |
6605 (b'6', b'ipv6', None, _(b'use IPv6 in addition to IPv4')), | 6605 (b'6', b'ipv6', None, _(b'use IPv6 instead of IPv4')), |
6606 (b'', b'certificate', b'', _(b'SSL certificate file'), _(b'FILE')), | 6606 (b'', b'certificate', b'', _(b'SSL certificate file'), _(b'FILE')), |
6607 (b'', b'print-url', None, _(b'start and print only the URL')), | 6607 (b'', b'print-url', None, _(b'start and print only the URL')), |
6608 ] | 6608 ] |
6609 + subrepoopts, | 6609 + subrepoopts, |
6610 _(b'[OPTION]...'), | 6610 _(b'[OPTION]...'), |