diff --git a/rhodecode/templates/files/files_annotate.html b/rhodecode/templates/files/files_annotate.html
--- a/rhodecode/templates/files/files_annotate.html
+++ b/rhodecode/templates/files/files_annotate.html
@@ -26,8 +26,8 @@
${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.file.path)}
- ${_('Last revision')}
- - ${h.link_to("r%s:%s" % (c.file.last_changeset.revision,c.file.last_changeset.short_id),
- h.url('files_annotate_home',repo_name=c.repo_name,revision=c.file.last_changeset.short_id,f_path=c.f_path))}
+ - ${h.link_to("r%s:%s" % (c.file.last_changeset.revision,c.file.last_changeset.raw_id),
+ h.url('files_annotate_home',repo_name=c.repo_name,revision=c.file.last_changeset.raw_id,f_path=c.f_path))}
- ${_('Size')}
- ${h.format_byte_size(c.file.size,binary=True)}
- ${_('Mimetype')}
@@ -43,7 +43,7 @@