formula_versions: include devel in revision map

This commit is contained in:
Dominyk Tiller 2016-01-14 17:53:08 +00:00
parent 01b92edb7b
commit 5bc1e0b83a

View File

@ -59,7 +59,8 @@ class FormulaVersions
map = Hash.new { |h, k| h[k] = [] } map = Hash.new { |h, k| h[k] = [] }
rev_list(branch) do |rev| rev_list(branch) do |rev|
formula_at_revision(rev) do |f| formula_at_revision(rev) do |f|
map[f.version] << f.revision map[f.stable.version] << f.revision if f.stable
map[f.devel.version] << f.revision if f.devel
end end
end end
map map