Mercurial > treepkg
comparison bin/createstaticweb.py @ 154:a30351c91a68
Make status-by-startdate.html the default template. Sorting by date is
generally more useful than sorting by revision because different tracks
usually come from different repositories.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 10 Jun 2008 09:51:50 +0000 |
parents | 4adcb15cbdfb |
children | 1fcdffbeb9de |
comparison
equal
deleted
inserted
replaced
153:e5f3f61c0620 | 154:a30351c91a68 |
---|---|
15 from treepkg.options import create_parser | 15 from treepkg.options import create_parser |
16 from treepkg.web import Status | 16 from treepkg.web import Status |
17 | 17 |
18 def parse_commandline(): | 18 def parse_commandline(): |
19 parser = create_parser() | 19 parser = create_parser() |
20 parser.set_defaults(status_template="status-by-revision.html") | 20 parser.set_defaults(status_template="status-by-startdate.html") |
21 parser.add_option("--status-template", | 21 parser.add_option("--status-template", |
22 help=("The template file to use for the status page." | 22 help=("The template file to use for the status page." |
23 " Relative filenames are interpreted" | 23 " Relative filenames are interpreted" |
24 " relative to the web subdirectory." | 24 " relative to the web subdirectory." |
25 " Default is status-by-revision.html.")) | 25 " Default is status-by-revision.html.")) |