download_strategy: mercurial source_modified_time
This commit is contained in:
parent
f54f27d621
commit
155960d991
@ -765,6 +765,10 @@ class MercurialDownloadStrategy < VCSDownloadStrategy
|
||||
end
|
||||
end
|
||||
|
||||
def source_modified_time
|
||||
Time.parse Utils.popen_read("hg", "tip", "--template", "{date|isodate}", "-R", cached_location.to_s)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def cache_tag
|
||||
|
Loading…
x
Reference in New Issue
Block a user