# HG changeset patch # User Marcin Kuzminski # Date 2012-10-23 15:09:28 # Node ID a2ecf8a530b9d4702b8be0f9584d876190d510e1 # Parent 9c85d884315ba3d7a5bcbf038d81a5468068ae3e don't check for url issue links, since we always want to linkify changeset into a repo link, fixes issue with issue_pat beeing disabled breaks the urlification diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py --- a/rhodecode/lib/helpers.py +++ b/rhodecode/lib/helpers.py @@ -1070,10 +1070,9 @@ def urlify_commit(text_, repository=None log.debug('processed prefix:`%s` => %s' % (pattern_index, newtext)) # if we actually did something above - if valid_indices: - if link_: - # wrap not links into final link => link_ - newtext = linkify_others(newtext, link_) + if link_: + # wrap not links into final link => link_ + newtext = linkify_others(newtext, link_) return literal(newtext) except: