download_strategy: bazaar source_modified_time
This commit is contained in:
parent
155960d991
commit
f79edbc560
@ -801,6 +801,10 @@ class BazaarDownloadStrategy < VCSDownloadStrategy
|
|||||||
rm_r ".bzr"
|
rm_r ".bzr"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def source_modified_time
|
||||||
|
Time.parse Utils.popen_read("bzr", "log", "-l", "1", "--timezone=utc", cached_location.to_s)[/^timestamp: (.+)$/, 1]
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def cache_tag
|
def cache_tag
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user