sapling/mercurial/hgweb
Anton Shestakov 0741a98a71 hgweb: sort bookmarks early
Let's do the same thing that /tags page does. It gets sorted tags and then if
it needs the latest only, it just slices the first item from the list. Since
it's a slice and not a min(), it doesn't throw an exception if the list is
empty. This fixes HTTP 500 error from issue5022.
2016-03-31 14:23:27 +08:00
..
__init__.py hgweb: make sure command options are set to all ui objects 2015-11-21 13:28:12 +09:00
common.py hgweb: import BaseHTTPServer as module at top level 2015-11-01 15:07:08 +09:00
hgweb_mod.py hgweb: import wsgicgi at top level 2015-11-01 15:09:35 +09:00
hgwebdir_mod.py hgweb: import wsgicgi at top level 2015-11-01 15:09:35 +09:00
protocol.py http: support sending hgargs via POST body instead of in GET or headers 2016-03-11 11:37:00 -05:00
request.py hgweb: use absolute_import 2015-10-31 22:07:40 +09:00
server.py hgweb: use absolute_import 2015-10-31 22:07:40 +09:00
webcommands.py hgweb: sort bookmarks early 2016-03-31 14:23:27 +08:00
webutil.py hgweb: add parents to json-log (issue5074) 2016-03-31 18:09:09 +08:00
wsgicgi.py hgweb: use absolute_import 2015-10-31 22:07:40 +09:00