Skip to content
Snippets Groups Projects
Commit 155960d9 authored by Vlad Shablinsky's avatar Vlad Shablinsky Committed by Xu Cheng
Browse files

download_strategy: mercurial source_modified_time

parent f54f27d6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment