# HG changeset patch # User mpm@selenic.com # Date 1124500924 28800 # Node ID 305ab68c43945c18ece8e111dcc9e22b27fb488d # Parent 16c8b36fd3c1146e6e2cf138fb81adfde2c1810c hgweb: sort repository list diff -r 16c8b36fd3c1 -r 305ab68c4394 mercurial/hgweb.py --- a/mercurial/hgweb.py Fri Aug 19 17:01:11 2005 -0800 +++ b/mercurial/hgweb.py Fri Aug 19 17:22:04 2005 -0800 @@ -850,7 +850,9 @@ def entries(**map): parity = 0 - for v,r in self.cp.items("paths"): + l = self.cp.items("paths") + l.sort() + for v,r in l: cp2 = ConfigParser.SafeConfigParser() cp2.read(os.path.join(r, ".hg", "hgrc"))