comparison pylons_app/model/hg_model.py @ 512:d945c95ba4ac

refactoring for new vcs implementation renamed all ._short and .raw_id into .short_id updated dependency for vcs to 0.1.6
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 28 Sep 2010 20:25:58 +0000
parents 0fce1f9e4dce
children 6fc59ac322ca
comparison
equal deleted inserted replaced
511:0fce1f9e4dce 512:d945c95ba4ac
153 tmp_d['name_sort'] = tmp_d['name'].lower() 153 tmp_d['name_sort'] = tmp_d['name'].lower()
154 tmp_d['description'] = repo.description 154 tmp_d['description'] = repo.description
155 tmp_d['description_sort'] = tmp_d['description'] 155 tmp_d['description_sort'] = tmp_d['description']
156 tmp_d['last_change'] = last_change 156 tmp_d['last_change'] = last_change
157 tmp_d['last_change_sort'] = last_change[1] - last_change[0] 157 tmp_d['last_change_sort'] = last_change[1] - last_change[0]
158 tmp_d['tip'] = tip.raw_id 158 tmp_d['tip'] = tip.short_id
159 tmp_d['tip_sort'] = tip.revision 159 tmp_d['tip_sort'] = tip.revision
160 tmp_d['rev'] = tip.revision 160 tmp_d['rev'] = tip.revision
161 tmp_d['contact'] = repo.contact 161 tmp_d['contact'] = repo.contact
162 tmp_d['contact_sort'] = tmp_d['contact'] 162 tmp_d['contact_sort'] = tmp_d['contact']
163 tmp_d['repo_archives'] = list(repo._get_archives()) 163 tmp_d['repo_archives'] = list(repo._get_archives())