diff options
| author | Mike McQuaid | 2018-01-08 13:10:18 +0000 |
|---|---|---|
| committer | GitHub | 2018-01-08 13:10:18 +0000 |
| commit | 13998f5e6394bff327387ff780c6fb1859c01407 (patch) | |
| tree | 29c8a08113874ca8eb15bd899b363976cc9b3aa7 /Library | |
| parent | 3e995045786c8b7ec193dbf242546890f2f063e2 (diff) | |
| parent | 913ff483f0223f9423798c379375b7972de45f7c (diff) | |
| download | brew-13998f5e6394bff327387ff780c6fb1859c01407.tar.bz2 | |
Merge pull request #3643 from scpeters/hgpath_3628
Use hgpath instead of "hg" to fix --HEAD hg builds
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 6c414b941..feb518057 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -1005,11 +1005,11 @@ class MercurialDownloadStrategy < VCSDownloadStrategy end def source_modified_time - Time.parse Utils.popen_read("hg", "tip", "--template", "{date|isodate}", "-R", cached_location.to_s) + Time.parse Utils.popen_read(hgpath, "tip", "--template", "{date|isodate}", "-R", cached_location.to_s) end def last_commit - Utils.popen_read("hg", "parent", "--template", "{node|short}", "-R", cached_location.to_s) + Utils.popen_read(hgpath, "parent", "--template", "{node|short}", "-R", cached_location.to_s) end private |
