From 9ec231bcb7722d6acb1c1d49c77916b4fbdf4115 Mon Sep 17 00:00:00 2001 From: Felipe Navarro V Date: Thu, 19 Jul 2012 10:30:38 -0400 Subject: [PATCH] MercurialDownloadStrategy: check out subrepos Closes Homebrew/homebrew#13495. Signed-off-by: Jack Nagel --- Library/Homebrew/download_strategy.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index b99a0b0051..43d10ae9ff 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -487,10 +487,10 @@ class MercurialDownloadStrategy < AbstractDownloadStrategy if @spec and @ref ohai "Checking out #{@spec} #{@ref}" Dir.chdir @clone do - safe_system 'hg', 'archive', '-y', '-r', @ref, '-t', 'files', dst + safe_system 'hg', 'archive', '--subrepos', '-y', '-r', @ref, '-t', 'files', dst end else - safe_system 'hg', 'archive', '-y', '-t', 'files', dst + safe_system 'hg', 'archive', '--subrepos', '-y', '-t', 'files', dst end end end