Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/commands.py @ 2124:27fd8b7a6c51
Cleaned trailing whitespace in hgweb.py, removed command line shortcut for webdir-conf.
author | Alexander Schremmer <alex AT alexanderweb DOT de> |
---|---|
date | Tue, 25 Apr 2006 00:43:40 +0200 |
parents | 9383ba6b069a |
children | 3610d9468b1e |
comparison
equal
deleted
inserted
replaced
2123:c0729a7f6f8a | 2124:27fd8b7a6c51 |
---|---|
2564 respond("") | 2564 respond("") |
2565 | 2565 |
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 ipv6 accesslog errorlog webdir_conf" | 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]) |
2573 | 2574 |
2574 if opts['daemon'] and not opts['daemon_pipefds']: | 2575 if opts['daemon'] and not opts['daemon_pipefds']: |
3125 ('E', 'errorlog', '', _('name of error log file to write to')), | 3126 ('E', 'errorlog', '', _('name of error log file to write to')), |
3126 ('p', 'port', 0, _('port to use (default: 8000)')), | 3127 ('p', 'port', 0, _('port to use (default: 8000)')), |
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 ('D', 'webdir-conf', '', _('name of the webdir config file (serve more than one repo)')), | 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')), |
3134 ('', 'style', '', _('template style to use')), | 3136 ('', 'style', '', _('template style to use')), |
3135 ('6', 'ipv6', None, _('use IPv6 in addition to IPv4'))], | 3137 ('6', 'ipv6', None, _('use IPv6 in addition to IPv4'))], |