Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 4860:f3802f9f1840
Add SSL support to hg serve, activated via --certificate option
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Mon, 09 Jul 2007 22:12:28 -0700 |
parents | 2192001e4bb4 |
children | 6dc0094c0827 |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Jul 09 10:59:49 2007 -0700 +++ b/mercurial/commands.py Mon Jul 09 22:12:28 2007 -0700 @@ -2464,7 +2464,7 @@ parentui = ui.parentui or ui optlist = ("name templates style address port ipv6" - " accesslog errorlog webdir_conf") + " accesslog errorlog webdir_conf certificate") for o in optlist.split(): if opts[o]: parentui.setconfig("web", o, str(opts[o])) @@ -3072,7 +3072,8 @@ ('', 'stdio', None, _('for remote clients')), ('t', 'templates', '', _('web templates to use')), ('', 'style', '', _('template style to use')), - ('6', 'ipv6', None, _('use IPv6 in addition to IPv4'))], + ('6', 'ipv6', None, _('use IPv6 in addition to IPv4')), + ('', 'certificate', '', _('SSL certificate file'))], _('hg serve [OPTION]...')), "^status|st": (status,