Mercurial > public > src > rhodecode
diff pylons_app/controllers/summary.py @ 422:174785aa5dc4
fixed sorting of tags and branches. Fix made in vcs.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 05 Aug 2010 23:59:41 +0200 |
parents | ec7b76d4bda4 |
children | 6a506a7acd1a |
line wrap: on
line diff
--- a/pylons_app/controllers/summary.py Thu Aug 05 22:31:23 2010 +0200 +++ b/pylons_app/controllers/summary.py Thu Aug 05 23:59:41 2010 +0200 @@ -55,11 +55,11 @@ 'host':e.get('HTTP_HOST'), 'repo_name':c.repo_name, } c.clone_repo_url = uri - c.repo_tags = {} + c.repo_tags = OrderedDict() for name, hash in c.repo_info.tags.items()[:10]: c.repo_tags[name] = c.repo_info.get_changeset(hash) - c.repo_branches = {} + c.repo_branches = OrderedDict() for name, hash in c.repo_info.branches.items()[:10]: c.repo_branches[name] = c.repo_info.get_changeset(hash)