aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-07 12:32:40 -0500
committerJack Nagel2014-09-07 12:32:40 -0500
commit1ef95cd04b00f7970721305cf7084f96e3d79f50 (patch)
tree3ffc27e0dd17fa4d9cb6e8b3259a7c29dd4cc22a /Library
parent0977954ce26f5e94bf778ea302a8abc761c4f406 (diff)
downloadhomebrew-1ef95cd04b00f7970721305cf7084f96e3d79f50.tar.bz2
brew-test-bot: install hg before fetching if necessary
Diffstat (limited to 'Library')
-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 = []