aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorFelipe Navarro V2012-07-19 10:30:38 -0400
committerJack Nagel2012-07-19 17:44:37 -0500
commit9ec231bcb7722d6acb1c1d49c77916b4fbdf4115 (patch)
treec6f1572fa51a5462389bd7fa76ac4f309732038f /Library
parent6542b22677b9bbb9b402014134211ea8c0ed865b (diff)
downloadbrew-9ec231bcb7722d6acb1c1d49c77916b4fbdf4115.tar.bz2
MercurialDownloadStrategy: check out subrepos
Closes Homebrew/homebrew#13495. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index b99a0b005..43d10ae9f 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