Project

General

Profile

Defect #14405 ยป 14405.patch

Christoph Dwertmann, 2013-08-22 11:06

View differences:

app/models/changeset.rb
152 152

  
153 153
  def text_tag(ref_project=nil)
154 154
    tag = if scmid?
155
      "commit:#{scmid}"
155
      "#{scmid}"
156 156
    else
157 157
      "r#{revision}"
158 158
    end
159 159
    if repository && repository.identifier.present?
160 160
      tag = "#{repository.identifier}|#{tag}"
161 161
    end
162
    if scmid?
163
      tag = "commit:#{tag}"
164
    end
162 165
    if ref_project && project && ref_project != project
163 166
      tag = "#{project.identifier}:#{tag}"
164 167
    end
    (1-1/1)