mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Make script/plugin work with svn+ssh urls. [#662 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
This commit is contained in:
parent
c67713a2fe
commit
92f944818e
1 changed files with 1 additions and 1 deletions
|
@ -907,7 +907,7 @@ class RecursiveHTTPFetcher
|
|||
|
||||
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|
|
||||
|
|
Loading…
Reference in a new issue