Mercurial > public > src > rhodecode
diff pylons_app/model/hg_model.py @ 93:aec4c0071cb3
added empty controllers for branches tags files graph, routing and test for them
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 21 Apr 2010 00:26:11 +0200 |
parents | 670713507d03 |
children | a214462101d2 |
line wrap: on
line diff
--- a/pylons_app/model/hg_model.py Wed Apr 21 00:22:20 2010 +0200 +++ b/pylons_app/model/hg_model.py Wed Apr 21 00:26:11 2010 +0200 @@ -15,6 +15,7 @@ from vcs.backends.hg import get_repositories, MercurialRepository except ImportError: print 'You have to import vcs module' + raise class HgModel(object): """ @@ -49,7 +50,7 @@ tmp_d['rev'] = tip.rev() tmp_d['contact'] = mercurial_repo.contact tmp_d['contact_sort'] = tmp_d['contact'] - tmp_d['repo_archives'] = mercurial_repo._get_archives() + tmp_d['repo_archives'] = list(mercurial_repo._get_archives()) yield tmp_d