diff options
| author | Ben Cochran | 2009-12-16 15:32:58 -0600 |
|---|---|---|
| committer | Max Howell | 2009-12-17 15:03:02 +0000 |
| commit | edb046bea8e2fc859b70162bbafd2128ee9cb600 (patch) | |
| tree | 3503d56f497fd11ed206e888f98c8fca54a4437a /Library/Homebrew | |
| parent | 64cdda87e07a3a79e2e6cc97a01f6ca17650760e (diff) | |
| download | brew-edb046bea8e2fc859b70162bbafd2128ee9cb600.tar.bz2 | |
Removed cloning a specific revision from the mercurial download strategy.
When cloning a mercurial repository from a tagged revision, that tag definition
isn't actually included. This causes `hg archive -r tag_name` to fail.
Instead, just clone the repository's head and the `hg archive -r revision` will
handle getting the correct revision to for the build
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index e2a50b1d3..1d796f673 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -243,9 +243,6 @@ class MercurialDownloadStrategy <AbstractDownloadStrategy unless @clone.exist? checkout_args = [] - if (@spec == :revision) and @ref - checkout_args << '-r' << @ref - end checkout_args << url << @clone safe_system 'hg', 'clone', *checkout_args else |
