Mercurial > public > mercurial-scm > hg
diff mercurial/hgweb/hgwebdir_mod.py @ 9724:40ef3bf3e04a
hgweb: keep original order from hgwebdir config files (issue1535)
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Thu, 05 Nov 2009 15:06:35 +0100 |
parents | a235644a0b93 |
children | d3dbdca92458 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py Thu Nov 05 15:01:00 2009 +0100 +++ b/mercurial/hgweb/hgwebdir_mod.py Thu Nov 05 15:06:35 2009 +0100 @@ -89,7 +89,6 @@ name = name[len(prefix):] self.repos.append((name.lstrip('/'), repo)) - self.repos.sort() self.lastrefresh = time.time() def run(self): @@ -196,7 +195,7 @@ yield {"type" : i[0], "extension": i[1], "node": nodeid, "url": url} - sortdefault = 'name', False + sortdefault = None, False def entries(sortcolumn="", descending=False, subdir="", **map): rows = []