just adjusting spaces
This commit is contained in:
parent
ce3ac54e2c
commit
43d53a67b7
@ -554,19 +554,19 @@ class SubversionDownloadStrategy < VCSDownloadStrategy
|
|||||||
end
|
end
|
||||||
|
|
||||||
def source_modified_time
|
def source_modified_time
|
||||||
info = system_command("svn", args:["info", "--xml"], chdir: cached_location.to_s).stdout
|
info = system_command("svn", args: ["info", "--xml"], chdir: cached_location.to_s).stdout
|
||||||
xml = REXML::Document.new(info)
|
xml = REXML::Document.new(info)
|
||||||
Time.parse REXML::XPath.first(xml, "//date/text()").to_s
|
Time.parse REXML::XPath.first(xml, "//date/text()").to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
def last_commit
|
def last_commit
|
||||||
system_command("svn", args:["info", "--show-item", "revision"], chdir: cached_location.to_s).stdout.strip
|
system_command("svn", args: ["info", "--show-item", "revision"], chdir: cached_location.to_s).stdout.strip
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def repo_url
|
def repo_url
|
||||||
system_command("svn", args:["info"], chdir: cached_location.to_s).stdout.strip[/^URL: (.+)$/, 1]
|
system_command("svn", args: ["info"], chdir: cached_location.to_s).stdout.strip[/^URL: (.+)$/, 1]
|
||||||
end
|
end
|
||||||
|
|
||||||
def externals
|
def externals
|
||||||
|
|||||||
@ -9,7 +9,7 @@ module UnpackStrategy
|
|||||||
private
|
private
|
||||||
|
|
||||||
def extract_to_dir(unpack_dir, basename:, verbose:)
|
def extract_to_dir(unpack_dir, basename:, verbose:)
|
||||||
system_command! "svn",
|
system_command! "svn",
|
||||||
args: ["export", "--force", ".", unpack_dir],
|
args: ["export", "--force", ".", unpack_dir],
|
||||||
chdir: path.to_s
|
chdir: path.to_s
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user