Mercurial > treepkg
comparison bin/starttreepkgweb.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 |
---|---|
18 | 18 |
19 def parse_commandline(): | 19 def parse_commandline(): |
20 parser = create_parser() | 20 parser = create_parser() |
21 parser.set_defaults(cherrypy_config=os.path.join(treepkgcmd.topdir, | 21 parser.set_defaults(cherrypy_config=os.path.join(treepkgcmd.topdir, |
22 "cherrypy.cfg"), | 22 "cherrypy.cfg"), |
23 status_template="status-by-revision.html") | 23 status_template="status-by-startdate.html") |
24 parser.add_option("--cherrypy-config", | 24 parser.add_option("--cherrypy-config", |
25 help=("The cherrypy config file for the web interface." | 25 help=("The cherrypy config file for the web interface." |
26 " Default cherrypy.cfg")) | 26 " Default cherrypy.cfg")) |
27 parser.add_option("--status-template", | 27 parser.add_option("--status-template", |
28 help=("The template file to use for the status page." | 28 help=("The template file to use for the status page." |