download_strategy: add svn source_modified_time (#156)
This commit is contained in:
parent
9378e46ffc
commit
3ff1aa9fa3
@ -494,6 +494,10 @@ class SubversionDownloadStrategy < VCSDownloadStrategy
|
||||
quiet_safe_system "svn", "export", "--force", cached_location, Dir.pwd
|
||||
end
|
||||
|
||||
def source_modified_time
|
||||
Time.parse Utils.popen_read("svn", "info", cached_location.to_s).strip[/^Last Changed Date: (.+)$/, 1]
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def repo_url
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user