# HG changeset patch # User mpm@selenic.com # Date 2005-08-20 01:22:04 # Node ID 305ab68c43945c18ece8e111dcc9e22b27fb488d # Parent 16c8b36fd3c1146e6e2cf138fb81adfde2c1810c hgweb: sort repository list diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -850,7 +850,9 @@ class hgwebdir: 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"))