aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-09-07 12:32:40 -0500
committerJack Nagel2014-09-07 12:32:40 -0500
commit4652be33b9919254e69572302305ebe8a15975b4 (patch)
treeee581fc61dddc137a34c67cac6e4d8fa376b00f3 /Library/Contributions/cmd
parent50f0146f512dbc3fd71854e30551965c33ec6883 (diff)
downloadbrew-4652be33b9919254e69572302305ebe8a15975b4.tar.bz2
brew-test-bot: install hg before fetching if necessary
Diffstat (limited to 'Library/Contributions/cmd')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index bab4a4594..cbeba29c9 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -345,6 +345,10 @@ class Test
return
end
+ if deps.any? { |d| d.name == "mercurial" && d.build? }
+ test "brew", "install", "mercurial"
+ end
+
test "brew", "fetch", "--retry", *unchanged_dependencies unless unchanged_dependencies.empty?
test "brew", "fetch", "--retry", "--build-from-source", *changed_dependences unless changed_dependences.empty?
formula_fetch_options = []