aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_versions.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_versions.rb b/Library/Homebrew/formula_versions.rb
index d83a0aae6..9c0e97aa3 100644
--- a/Library/Homebrew/formula_versions.rb
+++ b/Library/Homebrew/formula_versions.rb
@@ -59,7 +59,8 @@ class FormulaVersions
map = Hash.new { |h, k| h[k] = [] }
rev_list(branch) do |rev|
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
map