Mercurial > kallithea
diff pylons_app/lib/helpers.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 | 5aba7adff196 |
children |
line wrap: on
line diff
--- a/pylons_app/lib/helpers.py Tue Sep 28 20:14:16 2010 +0000 +++ b/pylons_app/lib/helpers.py Tue Sep 28 20:25:58 2010 +0000 @@ -271,12 +271,12 @@ changeset.date, tooltip(changeset.message)) lnk_format = 'r%-5s:%s' % (changeset.revision, - changeset.raw_id) + changeset.short_id) uri = link_to( lnk_format, url('changeset_home', repo_name=changeset.repository.name, - revision=changeset.raw_id), - style=get_color_string(changeset.raw_id), + revision=changeset.short_id), + style=get_color_string(changeset.short_id), class_='tooltip', tooltip_title=tooltip_html )