Show More
@@ -2566,7 +2566,8 b' def serve(ui, repo, **opts):' | |||||
2566 | r = repo.addchangegroup(fin) |
|
2566 | r = repo.addchangegroup(fin) | |
2567 | respond(str(r)) |
|
2567 | respond(str(r)) | |
2568 |
|
2568 | |||
2569 |
optlist = "name templates style address port |
|
2569 | optlist = """name templates style address port | |
|
2570 | ipv6 accesslog errorlog webdir_conf""" | |||
2570 | for o in optlist.split(): |
|
2571 | for o in optlist.split(): | |
2571 | if opts[o]: |
|
2572 | if opts[o]: | |
2572 | ui.setconfig("web", o, opts[o]) |
|
2573 | ui.setconfig("web", o, opts[o]) | |
@@ -3127,7 +3128,8 b' table = {' | |||||
3127 | ('a', 'address', '', _('address to use')), |
|
3128 | ('a', 'address', '', _('address to use')), | |
3128 | ('n', 'name', '', |
|
3129 | ('n', 'name', '', | |
3129 | _('name to show in web pages (default: working dir)')), |
|
3130 | _('name to show in web pages (default: working dir)')), | |
3130 |
(' |
|
3131 | ('', 'webdir-conf', '', _('name of the webdir config file' | |
|
3132 | ' (serve more than one repo)')), | |||
3131 | ('', 'pid-file', '', _('name of file to write process ID to')), |
|
3133 | ('', 'pid-file', '', _('name of file to write process ID to')), | |
3132 | ('', 'stdio', None, _('for remote clients')), |
|
3134 | ('', 'stdio', None, _('for remote clients')), | |
3133 | ('t', 'templates', '', _('web templates to use')), |
|
3135 | ('t', 'templates', '', _('web templates to use')), |
General Comments 0
You need to be logged in to leave comments.
Login now