diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index c3124feb6..ef750cd22 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -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 |
