mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
download_strategy: mercurial source_modified_time
This commit is contained in:
parent
f54f27d621
commit
155960d991
@ -765,6 +765,10 @@ class MercurialDownloadStrategy < VCSDownloadStrategy
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def source_modified_time
|
||||||
|
Time.parse Utils.popen_read("hg", "tip", "--template", "{date|isodate}", "-R", cached_location.to_s)
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def cache_tag
|
def cache_tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user