提交 92f94481 编写于 作者: M Miles Georgi 提交者: Pratik Naik

Make script/plugin work with svn+ssh urls. [#662 state:resolved]

Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
上级 c67713a2
......@@ -907,7 +907,7 @@ def initialize(urls_to_fetch, level = 1, cwd = ".")
def ls
@urls_to_fetch.collect do |url|
if url =~ /^svn:\/\/.*/
if url =~ /^svn(\+ssh)?:\/\/.*/
`svn ls #{url}`.split("\n").map {|entry| "/#{entry}"} rescue nil
else
open(url) do |stream|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册