Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb.py @ 957:305ab68c4394
hgweb: sort repository list
author | mpm@selenic.com |
---|---|
date | Fri, 19 Aug 2005 17:22:04 -0800 |
parents | 16c8b36fd3c1 |
children | 3f37720e7dc7 |
comparison
equal
deleted
inserted
replaced
956:16c8b36fd3c1 | 957:305ab68c4394 |
---|---|
848 tmpl = templater(m, common_filters, | 848 tmpl = templater(m, common_filters, |
849 {"header": header, "footer": footer}) | 849 {"header": header, "footer": footer}) |
850 | 850 |
851 def entries(**map): | 851 def entries(**map): |
852 parity = 0 | 852 parity = 0 |
853 for v,r in self.cp.items("paths"): | 853 l = self.cp.items("paths") |
854 l.sort() | |
855 for v,r in l: | |
854 cp2 = ConfigParser.SafeConfigParser() | 856 cp2 = ConfigParser.SafeConfigParser() |
855 cp2.read(os.path.join(r, ".hg", "hgrc")) | 857 cp2.read(os.path.join(r, ".hg", "hgrc")) |
856 | 858 |
857 def get(sec, val, default): | 859 def get(sec, val, default): |
858 try: | 860 try: |