Skip to content

Commit

Permalink
Make script/plugin work with svn+ssh urls. [#662 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information
azimux authored and lifo committed Jul 22, 2008
1 parent c67713a commit 92f9448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/commands/plugin.rb
Expand Up @@ -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|
Expand Down

0 comments on commit 92f9448

Please sign in to comment.