diff 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
line wrap: on
line diff
--- a/pylons_app/model/hg_model.py	Tue Sep 28 20:14:16 2010 +0000
+++ b/pylons_app/model/hg_model.py	Tue Sep 28 20:25:58 2010 +0000
@@ -155,7 +155,7 @@
             tmp_d['description_sort'] = tmp_d['description']
             tmp_d['last_change'] = last_change
             tmp_d['last_change_sort'] = last_change[1] - last_change[0]
-            tmp_d['tip'] = tip.raw_id
+            tmp_d['tip'] = tip.short_id
             tmp_d['tip_sort'] = tip.revision 
             tmp_d['rev'] = tip.revision
             tmp_d['contact'] = repo.contact